Skip to content

Numerous testsuite failures on ARM due to missing mkJumpToAddr

Numerous ghci tests in the testsuite currently fail on ARM due to the lack of a mkJumpToAddr definition. These failures look like,

ghc-stage2: panic! (the 'impossible' happened)
  (GHC version 7.7.20130927 for arm-unknown-linux):
       mkJumpToAddr not defined for ArchARM {armISA = ARMv7, armISAExt =  FPv3,NEON], armABI = HARD}

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

As it turns out mkJumpToAddr is fairly straightforward to implement. I've done this in https://github.com/bgamari/ghc/tree/arm. This brings the number of unexpected failures in tests/ghci from 44 to 4. These four failures are segmentation faults that I need to look more closely at.

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