[GHC] #8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'

GHC ghc-devs at haskell.org
Mon Feb 3 18:57:19 UTC 2014


#8696: linking fails with 'relocation R_X86_64_PC32 against undefined symbol'
-----------------------------+----------------------------------
        Reporter:  Kata      |            Owner:
            Type:  bug       |           Status:  new
        Priority:  highest   |        Milestone:  7.8.1
       Component:  Compiler  |          Version:  7.8.1-rc1
      Resolution:            |         Keywords:
Operating System:  Linux     |     Architecture:  x86_64 (amd64)
 Type of failure:  Other     |       Difficulty:  Unknown
       Test Case:            |       Blocked By:
        Blocking:            |  Related Tickets:
-----------------------------+----------------------------------

Comment (by carter):

 Is this bug possibly the culprit behind https://github.com/bscarlet/llvm-
 general/issues/84#issuecomment-33917697 ?
 namely
 ``lookupSymbol failed in relocateSection (RELOC_GOT)
 /usr/local/Cellar/llvm33/3.3/lib/llvm-3.3/lib/libLLVMSupport.a: unknown
 symbol `___dso_handle'
 ghc: unable to load package `llvm-general-3.3.8.2' ``

 this happens in the context of trying to build llvm-general with haskell
 shared libs while liking to the static lib version of llvm's libs

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8696#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list