Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

(ql:quickload :cl-jpeg) does not work with (setq clasp-cleavir::*use-ast-interpreter* t) #727

Closed
kpoeck opened this issue Apr 14, 2019 · 3 comments
Labels

Comments

@kpoeck
Copy link
Contributor

kpoeck commented Apr 14, 2019

Aborted 1 hour after Performing compile-time optimization.. please wait.
with (setq clasp-cleavir::*use-ast-interpreter* nil) compilation works fine

@Bike Bike added the bug label Apr 19, 2019
@Bike
Copy link
Member

Bike commented Apr 19, 2019

Based on a backtrace in IRC, this is because of my apparently foolish assumption that nobody would want to evaluate a defcallback at compile time. The AST interpreter cannot handle defcallback (and a few other special operators) in any sane way. I'll put something in to fall back to the compiler if the interpreter is inadequate.

@Bike
Copy link
Member

Bike commented Apr 22, 2019

I've pushed df191d3 and 87d1209, which let the AST interpreter fall back to using the compiler. However I'm still seeing compile-time defcallback causing issues due to runtime values being used instead of the compile-file version... I haven't tried cl-jpeg specifically though.

@kpoeck
Copy link
Contributor Author

kpoeck commented Jun 27, 2019

This specific error does not happen anymore, will report other problems with cl-jpeg in separate issues

@kpoeck kpoeck closed this as completed Jun 27, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants