You've got an object file compiled with 32-bit code, hence the relocation error. fPIC won't help you much (the linker error isn't helpful.) It's a matter of sifting through the make output to find the file or files that aren't compiled in 64-bit mode. Sent from my Verizon Wireless BlackBerry -----Original Message----- From: José Pedro Magalhães <jpm@cs.uu.nl> Sender: glasgow-haskell-users-bounces@haskell.org Date: Fri, 18 Feb 2011 11:34:03 To: GHC users<glasgow-haskell-users@haskell.org> Cc: braver<deliverable@gmail.com> Subject: Recompile with -fPIC (was "building a patched ghc") _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users