Skip to content

powerpc64le: Build fails in rts/Linker.c

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.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Runtime System (Linker)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information