At Fri, 17 Jan 2020 09:43:15 -0400, David Bremner wrote:
> Matthew Flatt <mfl...@cs.utah.edu> writes:
> > At Fri, 17 Jan 2020 08:31:22 -0400, David Bremner wrote:
> >> => 0xb6ea3254 <+8>:     stmdb   sp!, {r4, r5, r6, r7, r8, r9, r10, r11, lr}
> >>    0xb6ea3258 <+12>:    add     r3, pc
> >
> > That certainly looks like a valid ARM instruction. Maybe the processor
> > is expecting Thumb instructions. What does `print $cpsr` report?
> 
> (gdb) print $cpsr 
> $3 = 196656

Since bit 5 is set, I think that means the processor was expecting
Thumb instructions, which at least explains the error.

To confirm that it's some bad jump or mismanagement of the mode by the
Racket JIT, does changing "racket/src/lightning/arm/asm.h" to disable
Thumb support allow the build to work?

Reply via email to