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[2]: *** 
[libraries/template-haskell/dist-install/build/libHStemplate-haskell-2.10.0.0-ghc7.9.20140416.so]
 Error 1

make[1]: *** [all_libraries/template-haskell] Error 2

make[1]: 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.
Thanks
Simon


_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to