Link failure
Simon Peyton Jones
simonpj at microsoft.com
Thu Apr 17 07:12:03 UTC 2014
sorry, ignore me - I assume it's #8696 and my tree is fairly old. I'll update.
Simon
From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Simon Peyton Jones
Sent: 17 April 2014 08:07
To: ghc-devs at haskell.org
Subject: Link failure
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140417/9ad82a1a/attachment.html>
More information about the ghc-devs
mailing list