Skip to content

selected processor does not support ARM mode

Building GHC-7.10.3-rc1 on Debian armel produces:

"inplace/bin/ghc-stage1" -static  -H32m -O -lffi -optl-pthread -optl-B/usr/bin/ld.gold -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-package-key rts -dcmm-lint      -i -irts -irts/dist/build -irts/dist/build/autogen -Irts/dist/build -Irts/dist/build/autogen           -O2    -c rts/StgStartup.cmm -o rts/dist/build/StgStartup.o
/tmp/ghcd0b9_0/ghc_7.s: Assembler messages:

/tmp/ghcd0b9_0/ghc_7.s:96:0:
     Error: selected processor does not support ARM mode `ldrd r0,r1,[r3,#64]'

/tmp/ghcd0b9_0/ghc_7.s:99:0:
     Error: selected processor does not support ARM mode `strd r0,r1,[r3,#64]'

/tmp/ghcd0b9_0/ghc_7.s:210:0:
     Error: selected processor does not support ARM mode `ldrd r0,r1,[r7,#64]'

/tmp/ghcd0b9_0/ghc_7.s:214:0:
     Error: selected processor does not support ARM mode `strd r0,r1,[r7,#64]'
rts/ghc.mk:236: recipe for target 'rts/dist/build/StgStartup.o' failed
make[3]: *** [rts/dist/build/StgStartup.o] Error 1
Makefile:71: recipe for target 'all' failed
make[2]: *** [all] Error 2

According to Austin, this is fallout from changeset:933adc0f/ghc / #10375 (closed). But it is also a regression from GHC-7.10.2.

Trac metadata
Trac field Value
Version 7.10.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC erikd
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information