freenode/#clasp - IRC Chatlog
Search
14:02:56
drmeister
The one call to optimize-module-for-compile-file I know was the one at the end of the with-module macro and the other call that does inlining and optimization is the one in link-inline-remove-builtins.
14:04:04
drmeister
And it was the first one at the end of with-module that I think was removing ALL of the functions because they were all internal and none were referenced by external functions (there are none at that point) or global variables.
14:06:33
drmeister
I added a comment about optimization here: https://github.com/clasp-developers/clasp/blob/dev/src/lisp/kernel/cmp/compile-file.lsp#L295
14:07:05
drmeister
I also put in a test to check if the function being referenced by the static CTOR disappears before we need it.
14:07:46
drmeister
We now lookup the RUN-ALL function by name rather than holding on to a reference.
14:08:03
drmeister
Yesterday we were holding on to a reference and then the function was being removed - that was bad.
14:09:30
drmeister
Since I had optimization turned off - non of this function removal was happening. You had it turned on and because I'd moved the make-boot-function-global-variable call OUTSIDE of the (with-module ...) macro --> KABOOM
15:12:15
kpoeck
Beach: Loop test 11.8 is already deactivated: https://gitlab.common-lisp.net/ansi-test/ansi-test/blob/master/iteration/loop11.lsp#L52
15:23:22
Bike
drmeister: still builds. if i run iclasp-boehm -i cclasp-boehm-image.fasl it works, but build/clasp immediately segfaults
15:28:19
Bike
it segfaults before printing banners or checking for debug-startup, so it's probably some kind of basic issue with linking...
18:17:54
Bike
drmeister: merged and pushed. slime and quicklisp works. the segfault thing is still happening though.
18:38:08
drmeister
They are assembled differently. I could see there being issues with the new stuff
21:19:53
drmeister
We should create a chem-info-equalp function to compare chem-info data structures.
23:26:03
drmeister
Bike: What function do you use to generate HIR graphs? I'm showing someone something.