[Haskell-cafe] Re: building a patched ghc

braver deliverable at gmail.com
Fri Jun 25 23:56:09 EDT 2010


An attempt to build the trunk gets me this:

/opt/portage/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-
pc-linux-gnu/bin/ld: rts/dist/build/RtsStartup.dyn_o: relocation
R_X86_64_PC32 against symbol `StgRun' can not be used when making a
shared object; recompile with -fPIC

-- I use prefix portage on a CentOS box, admittedly a non-standard
setup.  Its gcc is found first and it wants -fPIC...  Should I just
add it to CFLAGS or what?

-- Alexy


More information about the Haskell-Cafe mailing list