community/sbcl: upgrade to 2.2.5
@durrendal I hope you don't mind me upgrading this aport for you.
It seems the problem you encountered in !33486 (closed) is caused by ECL. This has been fixed in the latest git branch of ECL, but as that hasn't been released, I've backported the patch.
I noticed that sbcl is a makedepend of nyxt, so I've adjusted sbcl's compilation options to match what nyxt has in its official build script: https://github.com/atlas-engineer/nyxt/blob/master/build-scripts/build-ubuntu-package.sh . I hope you are alright with this.
The --fancy
option takes care of adding --with-sb-thread
on architectures that support threads. It should also take care of --with-sb-core-compression
, but as the nyxt build script still includes that, I've followed its lead.
Unfortunately, on x86, sbcl 2.2.5 encounters a "memory fault":
CORRUPTION WARNING in SBCL pid 12216 tid 12216:
Memory fault at 0 (pc=0x923aa5e [code 0x923a9b8+0xA6 ID 0x833], fp=0xf7b77a28, sp=0xf7b77a14) tid 12216
The integrity of this image is possibly compromised.
Exiting.
Error opening /dev/tty: No such device or address
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> Command exited with non-zero status 1
I tried using the compilation options that worked for 2.2.4, but that error still occurs. So, I've disabled x86 for now.
If you would like to work on this (instead of waiting for next month's release to see if that will fix it), let me know and I'll modify/close this MR.