Closed cracauer closed 3 years ago
The current version of Ironclad (0.54) should only use make-ea
on x86-64 machines on older versions of SBCL (when :ironclad-sb-vm-ea
is not in *features*
, see 'src/package.lisp' and 'src/opt/sbcl/x86oid-vm.lisp').
Did you find a case where Ironclad tries to use it with SBCL 2.1.0?
When running (ql:quickload :ironclad)
on Arch Linux x86-64 with SBCL 2.1.1
I get the related error:
COMPILE-FILE-ERROR while compiling
#<IRONCLAD-SOURCE-FILE "ironclad" "src" "opt" "sbcl" "x86oid-vm">
[Condition of type UIOP/LISP-BUILD:COMPILE-FILE-ERROR]
; Loading "ironclad"
[package ironclad-vm]
;
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Lock on package SB-VM violated when interning MAKE-EA while in package
; IRONCLAD-VM.
; See also:
; The SBCL Manual, Node "Package Locks"
;
; (in form starting at line: 34, column: 0, position: 1344)
@djireland Is your Quicklisp distribution up to date? What version of Ironclad do you have?
I came into this too. I use slime-edit-definition
against :ironclad
inside (ql:quickload :ironclad)
, it lead me to here.
Then I delete the whole web-toolkit directy and then install ironclad again. This time it work.
So for me, it turns out that the ironclad version is out of date. You may try slime-edit-definition
(Maybe M-. inside emacs with slime) against :ironclad
, and see where it leads you.
For the record - I ran into the same issues, and updating ironclad
via (ql:update-all-dists)
made the problem go away. I'm also on Arch and with the same sbcl
version as @djireland.
@thiderman Thank you, running (ql:update-all-dists)
fixed the issue for me.
I came into this too. I use
slime-edit-definition
against:ironclad
inside(ql:quickload :ironclad)
, it lead me to here.Then I delete the whole web-toolkit directy and then install ironclad again. This time it work. So for me, it turns out that the ironclad version is out of date. You may try
slime-edit-definition
(Maybe M-. inside emacs with slime) against:ironclad
, and see where it leads you.
This really helped me, thank you
Ironclad uses SB-VM::MAKE-EA, but that function went away:
changes in sbcl-2.1.0 relative to sbcl-2.0.11:
Here is the commit:
commit d0b883d297601e33b5102270cf5235835f85ee22 Author: Douglas Katzman dougk@google.com Date: Sun Nov 29 10:49:37 2020 -0500