freenode/#clasp - IRC Chatlog
Search
11:47:44
drmeister
I received the second dose of the Pfizer vaccine on Sunday - it wiped me out yesterday.
12:07:22
drmeister
Hi Bike, frgo_ - I got embedded snapshots within the executable working on macOS.
12:09:08
drmeister
The key was 'ld64' has a --sectcreate option that lets me attach a large binary file when linking an executable.
12:10:06
drmeister
We can also embed the link command into the executable so users could create standalone executables if they have the object files.
12:10:38
drmeister
There doesn't appear to be any other way to attach a large (300MB) binary file to an executable quickly.
12:12:11
drmeister
Then at startup on macOS I can get the section start/length using 'getsectiondata'
12:15:00
yitzi
Also, glad you recovered from the vaccine. The Moderna one hit my wife hard, but didn't really phase me.
12:20:14
drmeister
Yes - you can test the snapshot stuff soon. It requires the deploy script future branch
12:26:57
drmeister
Bike: I may be breaking backtraces - we were loading a symbol table from ELF files (running nm on macOS) at startup - we shouldn't be doing that - we should be using DWARF.
12:28:05
Bike
are we set up for that? i vaguely remember there being problems with using the lldb dwarf parser stuff
12:32:08
cracauer
The VPN central machine went down yesterday. Maybe Bigmac is on the VPN with the GUI and needs a kick?
13:06:35
drmeister
I'm think I'm running into a problem running a subprocess in python that generates too much output.
15:26:25
drmeister
I noticed a problem in Cando though - I create information on the elements (atomic elements, chemistry) in C++ malloc memory. I need to move that into GC memory.
16:02:04
attila_lendvai
so, clasp has no releases? not even in the form of some git tags that mark a state that is semi ok, e.g. for getting included in nixos?
16:35:48
Bike
we were talking about doing one once the ave load stuff works, but we should also document the C++ interface
19:21:51
drmeister
Snapshot save/load works with embedded snapshots - and the link command line is embedded within the executable so users could (with the object files in place) generate their own stand alone executables.
19:27:15
drmeister
Now that we can generate standalone executables containing everything I think we are a grown up Common Lisp.
19:50:40
Bike
"Closing the *jit-log-stream* because the jit-pit 17594 does not match our pid 17611" hopefully i can ignore this?
19:56:03
drmeister
-rwxr-xr-x 1 meister meister 2218040224 Apr 13 15:48 build/boehmprecise/extensions/cando/cando
20:00:00
Bike
"../../src/core/lisp.cc:442 There are DEBUG_xxxx flags on - check the top of foundation.h !!!!"
20:00:18
Bike
it seems to be finished, except after it wrote out the asdf fasl it's just kind of sitting there
20:00:48
drmeister
But what I would ask you to do is get the backtraces to work again using the DWARF facilities.
20:01:25
Bike
i still have a branch sitting around with variable info in the dwarf but we don't have anything reading it i don't think