sorry, ignore me - I assume it's #8696 and my tree is fairly old.  I'll update.

Simon

From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Simon Peyton 
Jones
Sent: 17 April 2014 08:07
To: ghc-devs@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


_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs
  • Link failure Simon Peyton Jones
    • RE: Link failure Simon Peyton Jones

Reply via email to