sharplispers/nibbles

Failure with SBCL 1.3.14 x86-64

Closed this issue · 2 comments

glv2 commented

The changes in commit 8111b88 don't work well with SBCL 1.3.14 x86-64 (the version currently used by Debian stable).

Some tests fail, and some functions of other libraries using nibbles fail to compile.

Example with Ironclad:

; compiling (DEFUN XOR-BLOCK ...)
debugger invoked on a SB-INT:SIMPLE-PROGRAM-ERROR in thread
#<THREAD "main thread" RUNNING {1001E065E3}>:
  invalid number of arguments: 5

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY] Retry compiling #<IRONCLAD-SOURCE-FILE "ironclad" "src" "common">.
  1: [ACCEPT] Continue, treating compiling #<IRONCLAD-SOURCE-FILE "ironclad" "src" "common"> as having been successful.
  2: Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
  4: [ABORT] Exit debugger, returning to top level.

(SB-X86-64-ASM::|movzx| #<SB-ASSEM:SEGMENT :TYPE :REGULAR> #<SB-C::VOP :INFO UB32REF/LE :ARGS #<SB-C:TN-REF :TN #<SB-C:TN INPUT-BLOCK1!1[RDI]> :WRITE-P NIL :VOP UB32REF/LE> :RESULTS #<SB-C:TN-REF :TN #<SB-C:TN t2[RDX]> :WRITE-P T :VOP UB32REF/LE>> (:DWORD :QWORD) #<SB-C:TN t2[RDX]> #<SB-X86-64-ASM::EA :DWORD base=#<SB-C:TN INPUT-BLOCK1!1[RDI]> index=#<SB-C:TN t3[RDX]> disp=1>) [tl,external]
0]

I'm seeing the same issue. PR #6 fixes it for me as well (thank you @glv2).

FYI - PR #6 didn't work for SBCL 1.3.10 on x64-windows, so such old version of SBCL would need to be upgraded.