[GHC] #11269: powerpc64le: Build fails in rts/Linker.c

GHC ghc-devs at haskell.org
Sun Dec 20 13:58:18 UTC 2015


#11269: powerpc64le: Build fails in rts/Linker.c
-------------------------------------+-------------------------------------
           Reporter:  trommler       |             Owner:  trommler
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.0.1
          Component:  Runtime        |           Version:  7.11
  System (Linker)                    |
           Keywords:                 |  Operating System:  Linux
       Architecture:  powerpc64      |   Type of failure:  Building GHC
                                     |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Building HEAD:
 {{{
 rts/Linker.c: In function ‘do_Elf_Rel_relocations’:

 rts/Linker.c:4978:23: error:
      error: cast from pointer to integer of different size [-Werror
 =pointer-to-int-cast]
            Elf_Addr  P  = ((Elf_Addr)targ) + offset;
                            ^

 rts/Linker.c:4979:22: error:
      error: cast to pointer from integer of different size [-Werror=int-
 to-pointer-cast]
            Elf_Word* pP = (Elf_Word*)P;
                           ^
 }}}

 Fix coming.

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


More information about the ghc-tickets mailing list