Simon Peyton Jones
simonpj at microsoft.com
Thu Apr 17 07:06:40 UTC 2014
On 64-bit Linux I'm getting this in the link step for the template-haskell library:
/usr/bin/ld: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Syntax.dyn_o: relocation R_X86_64_PC32 against undefined symbol `templatezmhaskell_LanguageziHaskellziTHziSyntax_OccName_closure' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [libraries/template-haskell/dist-install/build/libHStemplate-haskell-18.104.22.168-ghc7.9.20140416.so] Error 1
make: *** [all_libraries/template-haskell] Error 2
make: Leaving directory `/5playpen/simonpj/HEAD-1'
My compiler is not vanilla HEAD, but I have changed only stuff in the Core simplifier, nothing in the back end.
Does anyone have the faintest idea what is going on? It's extremely annoying because I can't make progress without working around it somehow.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs