Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % cd ~/contrib/tmp/ipxe/src && gmake clean && time gmake CC=/usr/local/libexec/ccache/world/gcc5 bin-x86_64-efi/ipxe.efi rm -f bin{,-*}/*.* bin{,-*}/.certificate.* bin{,-*}/.certificates.* bin{,-*}/.private_key.* bin{,-*}/errors bin{,-*}/NIC ./util/zbin ./util/elf2efi32 ./util/elf2efi64 ./util/efirom ./util/efifatbin ./util/iccfix ./util/einfo TAGS bin{,-*}/symtab
- [HOSTCC] util/elf2efi64
- util/elf2efi.c:68:0: error: "ELF_R_TYPE" redefined [-Werror]
- #define ELF_R_TYPE ELF64_R_TYPE
- ^
- In file included from /usr/include/x86/elf.h:131:0,
- from /usr/include/machine/elf.h:6,
- from /usr/include/elf.h:37,
- from util/elf2efi.c:34:
- /usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
- #define ELF_R_TYPE __ELFN(R_TYPE)
- ^
- util/elf2efi.c:69:0: error: "ELF_R_SYM" redefined [-Werror]
- #define ELF_R_SYM ELF64_R_SYM
- ^
- In file included from /usr/include/x86/elf.h:131:0,
- from /usr/include/machine/elf.h:6,
- from /usr/include/elf.h:37,
- from util/elf2efi.c:34:
- /usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
- #define ELF_R_SYM __ELFN(R_SYM)
- ^
- util/elf2efi.c: In function 'process_reloc':
- util/elf2efi.c:638:31: error: 'R_AARCH64_CALL26' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:638:31: note: each undeclared identifier is reported only once for each function it appears in
- case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:639:31: error: 'R_AARCH64_JUMP26' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_JUMP26 ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:640:31: error: 'R_AARCH64_ADR_PREL_LO21' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_ADR_PREL_LO21 ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:641:31: error: 'R_AARCH64_ADR_PREL_PG_HI21' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_ADR_PREL_PG_HI21 ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:642:31: error: 'R_AARCH64_ADD_ABS_LO12_NC' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_ADD_ABS_LO12_NC ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:643:31: error: 'R_AARCH64_LDST8_ABS_LO12_NC' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST8_ABS_LO12_NC ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:644:31: error: 'R_AARCH64_LDST16_ABS_LO12_NC' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST16_ABS_LO12_NC ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:645:31: error: 'R_AARCH64_LDST32_ABS_LO12_NC' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST32_ABS_LO12_NC ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- util/elf2efi.c:646:31: error: 'R_AARCH64_LDST64_ABS_LO12_NC' undeclared (first use in this function)
- case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST64_ABS_LO12_NC ) :
- ^
- util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
- #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
- ^
- cc1: all warnings being treated as errors
- gmake: *** [Makefile.housekeeping:1389: util/elf2efi64] Error 1
- gmake CC=/usr/local/libexec/ccache/world/gcc5 bin-x86_64-efi/ipxe.efi 1.08s user 0.10s system 100% cpu 1.182 total%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement