Skip to content

ghc-6.7: internal error: R_X86_64_PC32 relocation out of range

Following a build from source after a fresh 'darcs get' on a x86_64-redhat-linux machine, any ghc or ghci invocation results in an abort with,

ghc-6.7: internal error: R_X86_64_PC32 relocation out of range: (noname) = 0x2aaa690f6383

(GHC version 6.7 for x86_64_unknown_linux)

stage1 compiled using ghc-6.4.1, stage3 compiled successfully.

uname -a,

Linux localhost 2.6.17-11_4.BHsmp #1 (closed) SMP Fri Nov 17 17:14:51 MST 2006 x86_64 x86_64 x86_64 GNU/Linux

gcc -v,

Reading specs from [..]/lib/gcc/x86_64-redhat-linux/3.4.6/specs Configured with: ../configure [...] --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

Trac metadata
Trac field Value
Version 6.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