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

GHC ghc-devs at haskell.org
Sat Jul 4 03:41:09 UTC 2015


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

Comment (by slyfox):

 Replying to [comment:21 nomeata]:
 > I uploaded 7.10.2-rc2 to Debian now, but it seems that something else
 broke here:
 > {{{
 > rts/Linker.c: In function 'do_Elf_Rela_relocations':
 >
 > rts/Linker.c:5963:10:
 >      error: duplicate case value
 >               case R_PPC_PLTREL24:
 >               ^
 >
 > rts/Linker.c:5959:10:
 >      error: previously used here
 >               case R_PPC_PLTREL24:
 >               ^
 >
 > rts/Linker.c:5996:10:
 >      error: duplicate case value
 >               case R_PPC_REL16_LO:
 >               ^
 >
 > rts/Linker.c:5984:10:
 >      error: previously used here
 >               case R_PPC_REL16_LO:
 >               ^
 >
 > rts/Linker.c:6000:10:
 >      error: duplicate case value
 >               case R_PPC_REL16_HI:
 >               ^
 >
 > rts/Linker.c:5988:10:
 >      error: previously used here
 >               case R_PPC_REL16_HI:
 >               ^
 >
 > rts/Linker.c:6004:10:
 >      error: duplicate case value
 >               case R_PPC_REL16_HA:
 >               ^
 >
 > rts/Linker.c:5992:10:
 >      error: previously used here
 >               case R_PPC_REL16_HA:
 >               ^
 > }}}
 >
 https://buildd.debian.org/status/fetch.php?pkg=ghc&arch=powerpc&ver=7.10.1.20150630-1&stamp=1435929642
 >
 > Any ideas?

 I think you can safely drop debian-specific patch:
 > dpkg-source: info: applying PPC-relocations.patch

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


More information about the ghc-tickets mailing list