-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: generate sysimg.so #3625
WIP: generate sysimg.so #3625
Conversation
Only in initialization routines.
Fixes segfault setting Function attribute.
…y but attempting so reload instead
Current backtrace, the segfault is at the literal_pointer_val emitted for a uv handle in julia_init_stdio.
|
Exciting stuff! |
!!! |
You forgot one part...
;-) |
I also believe that stealing underpants is one of the steps. |
Awesome! |
Does this also make it possible to pre-compile packages? |
No, there is a ways to go; literal_pointer_val is used all over codegen. I hope this infrastructure stuff is helpful, but it's only a start. |
DO NOT MERGE
This is an attempt to save and reload the startup image as a shared library, for #260. It gets to repl.c and calls several functions deep into sysimg.so, but segfaults at the first literal pointer (as predicted by Jeff).