Skip to content

checkProddableBlock: invalid fixup in runtime linker

From: Tom Pledger <tkpledger@yahoo.co.nz>

Platform: Mandrake, linux kernel version 2.4.27-xena-1

This one has a good workaround: leave off the -g flag 
when compiling C for use with ghci.

$ echo "int hello(){}" > hello.c
$ gcc -g -c hello.c
$ ghci hello.o 
   ___         ___ _
  / _ \ /\  /\/ __(_)
 / /_\// /_/ / /  | |      GHC Interactive, version 6.2.1, 
for Haskell 98.
/ /_\\/ __  / /___| |      http://www.haskell.org/ghc/
\____/\/ /_/\____/|_|      Type :? for help.

Loading package base ... linking ... done.
Loading object (static) hello.o ... done
final link ... ghc-6.2.1: internal error: 
checkProddableBlock: invalid fixup in runtime linker
    Please report this as a bug to glasgow-haskell-
bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/
Trac metadata
Trac field Value
Version 6.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedFixed
Component None
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