Can be reproduced on i386 Linux as well (with GIT sbcl).
So very likely this is SBCL bug. I'll git bisect later.
The error happens when compiling src/interp/setvars.clisp:
debugger invoked on a SIMPLE-ERROR in thread
#<THREAD "main thread" RUNNING {59402001}>:
More operand #<SB-C:TN-REF
:TN #<SB-C:TN |s_nam|!1 :DEBUG-ENVIRONMENT>
:WRITE-P NIL
:VOP LIST> used more than once in its VOP.
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [CONTINUE] Retry assertion.
1: [ABORT ] Exit debugger, returning to top level.
(SB-KERNEL:ASSERT-ERROR (FLET ((SB-C::FROB (SB-C::REFS) (DO (#) (# T)
(WHEN # #)))) (AND (SB-C::FROB (SB-C::TN-READS SB-C:TN)) (SB-C::FROB
(SB-C::TN-WRITES SB-C:TN)))) NIL "More operand ~S used more than once in
its VOP." #<SB-C:TN-REF :TN #<SB-C:TN |s_nam|!1 :DEBUG-ENVIRONMENT>
:WRITE-P NIL :VOP LIST>)
0]
- Qian