Opened 4 years ago
Closed 4 years ago
#1380 closed defect (moved)
r16767 breaks the lisp on Raspberry Pi 3 and latest Raspbian
Reported by: | rme | Owned by: | gb |
---|---|---|---|
Priority: | normal | Milestone: | Clozure CL 1.12 |
Component: | Runtime (threads, GC) | Version: | trunk |
Keywords: | Cc: |
Description
r16767 causes trouble on my Raspberry Pi 3.
Linux kupo 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
It reliably fails when doing (rebuild-ccl :clean t) with the following strange error.
;Compiling "/home/rme/ccl/compiler/nxenv.lisp"... > Error: The value -1069547520 is not of the expected type INTEGER. > While executing: ARM::ENCODE-ARM-IMMEDIATE, in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options. 1 > b *(76BAFE20) : 0 (ENCODE-ARM-IMMEDIATE ???) 40 *(76BAFE20) : 1 (FUNCALL #'#<ARM2-FIXNUM> #<VINSN-LIST #x14557786> #<LREG 8 GPR {5}/LISP> 2 -267386880) 580 (76BAFE20) : 2 (ARM2-FORM #<VINSN-LIST #x14557786> #<LREG 8 GPR {5}/LISP> 2 #<ACODE fixnum (-267386880)>) 788 (76BAFE30) : 3 (FUNCALL #'#<ARM2-IF> #<VINSN-LIST #x14557786> #<LREG 8 GPR {5}/LISP> 2 #<ACODE call (#<# # #> # NIL)> #<ACODE fixnum (-267386880)> #<ACODE fixnum (-268435456)>) 2100 (76BAFEE0) : 4 (ARM2-FORM #<VINSN-LIST #x14557786> #<LREG 8 GPR {5}/LISP> 2 #<ACODE if (#<# # #> #<# # #> #<# # #>)>) 788 ...
To duplicate, svn up -r 16766 and bootstrap.
Then, svn up -r 16767, and rebuild the lisp kernel. (rebuild-ccl :clean t) will fail as above.
Building the lisp compiler with -O0 shows the same results as with -O2.
Change History (5)
comment:1 Changed 4 years ago by gb
- Owner set to gb
comment:2 Changed 4 years ago by rme
comment:3 Changed 4 years ago by eschaton
I'm still seeing this as well in CCL built from svn trunk on an RPi3 running the latest Raspbian. It'll launch when passed --no-init but as soon as you try to do something like load QuickLisp?'s setup.lisp you get a failure:
> Error: The value 4294967188 is not of the expected type INTEGER. > While executing: ARM::ENCODE-ARM-IMMEDIATE, in process listener(1).
Basically the same as the ticket. I imagine it's some subtle difference between armv7 and armv8, since my RPi2 running the same Raspbian update works fine and same svn revision
comment:4 Changed 4 years ago by rme
- Component changed from other to Runtime (threads, GC)
- Milestone set to Clozure CL 1.12
comment:5 Changed 4 years ago by rme
- Resolution set to moved
- Status changed from new to closed
Still happens with newer kernel Linux kupo 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux