Skip to content

Arm: checkProddableBlock: invalid fixup in runtime linker

Just started getting this in the last week or two, but only just now got a chance to investigate more fully.

Any use of GHCi or TH will result in an error like:

ghc-stage2: internal error: checkProddableBlock: invalid fixup in runtime
    linker: 0x41380050
    (GHC version 7.11.20151122 for arm_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Aborted

As a consequence, there are now over 500 failing tests on Arm.

I thought this may have been a consequence of all the recent work on rts/Linker.c so I checked out git commit 20e30d5f (the one just before the dreaded commit 04e83666 which seemed to kick off a bunch of heavy rework in this file) but that revision causes another, even more mysterious linking failure.

From what I have seen, this only affects 32 bit Arm.

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