[GHC] #10402: powerpc: unhandled ELF relocation(RelA) type 252

GHC ghc-devs at haskell.org
Tue Jun 16 20:57:53 UTC 2015


#10402: powerpc: unhandled ELF relocation(RelA) type 252
-----------------------------------+-----------------------------------
        Reporter:  cjwatson        |                   Owner:  simonmar
            Type:  bug             |                  Status:  patch
        Priority:  normal          |               Milestone:  7.10.2
       Component:  Runtime System  |                 Version:  7.8.4
      Resolution:                  |                Keywords:
Operating System:  Linux           |            Architecture:  powerpc
 Type of failure:  Runtime crash   |               Test Case:
      Blocked By:                  |                Blocking:
 Related Tickets:                  |  Differential Revisions:
-----------------------------------+-----------------------------------

Comment (by slyfox):

 Having written that I wondered who forces '''-fPIC''' on you and the
 answer is obvious!
 Rogue package:

 {{{
 $ cabal unpack unix-time
 Unpacking to unix-time-0.3.5/

 $ grep -R -C4 -i fPIC unix-time-0.3.5/

 unix-time-0.3.5/unix-time.cabal-  if impl(ghc >= 7.8)
 unix-time-0.3.5/unix-time.cabal:    CC-Options:         -fPIC
 }}}

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


More information about the ghc-tickets mailing list