error assembling MOVZX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
McCLIM |
New
|
Undecided
|
Unassigned | ||
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In 2.1.5, attempting to compile 3bz (via Quicklisp) fails with an error. I'm trying to compile McCLIM, which requires 3bz. I notice that there's been a commit recently that relates to the MOVZX emitter - perhaps that's the culprit.
Error message and excerpt from backtrace below.
debugger invoked on a SB-INT:BUG @53117D3A in thread
#<THREAD "main thread" RUNNING {10015482C3}>:
failed AVER: (NOT (EQUAL SB-X86-
This is probably a bug in SBCL itself. (Alternatively, SBCL might have been
corrupted by bad user code, e.g. by an undefined Lisp operation like
(FMAKUNBOUND 'COMPILE), or by stray pointers from alien code or from unsafe
Lisp code; or there might be a bug in the OS or hardware that SBCL is running
on.) If it seems to be a bug in SBCL itself, the maintainers would like to
know about it. Bug reports are welcome on the SBCL mailing lists, which you
can find at <http://
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-
0: [RETRY ] Retry
1: [ACCEPT ] Continue, treating
2: Retry ASDF operation.
3: [CLEAR-
4: Retry ASDF operation.
5: Retry ASDF operation after resetting the
6: [ABORT ] Give up on "mcclim"
7: Exit debugger, returning to top level.
("MOVZX" #<SB-ASSEM:SEGMENT {104437E193}> (:DWORD :QWORD) RCX #<SB-X86-64-ASM::EA base=#<SB-C:TN t1[RCX] :LOAD> index=#<SB-C:TN t2[RAX] :NORMAL> disp=1>)
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10015482C3}>
0: ("MOVZX" #<SB-ASSEM:SEGMENT {104437E193}> (:DWORD :QWORD) RCX #<SB-X86-64-ASM::EA base=#<SB-C:TN t1[RCX] :LOAD> index=#<SB-C:TN t2[RAX] :NORMAL> disp=1>)
1: (SB-ASSEM:
...
16: (SB-C::
17: ((LAMBDA (SB-KERNEL:FORM &KEY :CURRENT-INDEX &ALLOW-OTHER-KEYS) :IN SB-C::SUB-
18: (SB-C::
19: ((FLET "LAMBDA0" :IN "SYS:SRC;
20: ((FLET SB-C::WITH-IT :IN SB-C::%
21: (SB-C::
22: (COMPILE-FILE #P"/Volumes/
$ sbcl --version
SBCL 2.1.5
$ uname -a
... 18.7.0 Darwin Kernel Version 18.7.0: Mon Mar 8 22:11:48 PST 2021; root:xnu-
* *features*
(:X86-64 :GENCGC :64-BIT :ANSI-CL :BSD :COMMON-LISP :DARWIN
:IEEE-
:SB-CORE-
:UNIX)
Apologies for adding this to McCLIM - it's an sbcl bug that affects McCLIM