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

GHC ghc-devs at haskell.org
Thu Apr 17 11:26:38 UTC 2014


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

Comment (by nomeata):

 Is this related to the failure
 {{{
 configure: Building in-tree ghc-pwd
 /usr/bin/ld: utils/ghc-pwd/dist-boot/Main.o: relocation R_X86_64_32
 against `stg_CHARLIKE_closure' can not be used when making a shared
 object; recompile with -fPIC
 utils/ghc-pwd/dist-boot/Main.o: could not read symbols: Bad value
 collect2: error: ld returned 1 exit status
 configure: error: Building ghc-pwd failed
 }}}
 at
 http://deb.haskell.org/dailies/2014-04-16/ghc_7.9.20140416-0.daily_amd64.build
 which prevents up-to-date packages to appear in on deb.haskell.org?

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


More information about the ghc-tickets mailing list