Advertisement
dyeske

Untitled

Sep 27th, 2017
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.09 KB | None | 0 0
  1. % 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
  2. [HOSTCC] util/elf2efi64
  3. util/elf2efi.c:68:0: error: "ELF_R_TYPE" redefined [-Werror]
  4. #define ELF_R_TYPE ELF64_R_TYPE
  5. ^
  6. In file included from /usr/include/x86/elf.h:131:0,
  7. from /usr/include/machine/elf.h:6,
  8. from /usr/include/elf.h:37,
  9. from util/elf2efi.c:34:
  10. /usr/include/sys/elf_generic.h:82:0: note: this is the location of the previous definition
  11. #define ELF_R_TYPE __ELFN(R_TYPE)
  12. ^
  13. util/elf2efi.c:69:0: error: "ELF_R_SYM" redefined [-Werror]
  14. #define ELF_R_SYM ELF64_R_SYM
  15. ^
  16. In file included from /usr/include/x86/elf.h:131:0,
  17. from /usr/include/machine/elf.h:6,
  18. from /usr/include/elf.h:37,
  19. from util/elf2efi.c:34:
  20. /usr/include/sys/elf_generic.h:81:0: note: this is the location of the previous definition
  21. #define ELF_R_SYM __ELFN(R_SYM)
  22. ^
  23. util/elf2efi.c: In function 'process_reloc':
  24. util/elf2efi.c:638:31: error: 'R_AARCH64_CALL26' undeclared (first use in this function)
  25. case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
  26. ^
  27. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  28. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  29. ^
  30. util/elf2efi.c:638:31: note: each undeclared identifier is reported only once for each function it appears in
  31. case ELF_MREL ( EM_AARCH64, R_AARCH64_CALL26 ) :
  32. ^
  33. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  34. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  35. ^
  36. util/elf2efi.c:639:31: error: 'R_AARCH64_JUMP26' undeclared (first use in this function)
  37. case ELF_MREL ( EM_AARCH64, R_AARCH64_JUMP26 ) :
  38. ^
  39. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  40. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  41. ^
  42. util/elf2efi.c:640:31: error: 'R_AARCH64_ADR_PREL_LO21' undeclared (first use in this function)
  43. case ELF_MREL ( EM_AARCH64, R_AARCH64_ADR_PREL_LO21 ) :
  44. ^
  45. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  46. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  47. ^
  48. util/elf2efi.c:641:31: error: 'R_AARCH64_ADR_PREL_PG_HI21' undeclared (first use in this function)
  49. case ELF_MREL ( EM_AARCH64, R_AARCH64_ADR_PREL_PG_HI21 ) :
  50. ^
  51. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  52. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  53. ^
  54. util/elf2efi.c:642:31: error: 'R_AARCH64_ADD_ABS_LO12_NC' undeclared (first use in this function)
  55. case ELF_MREL ( EM_AARCH64, R_AARCH64_ADD_ABS_LO12_NC ) :
  56. ^
  57. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  58. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  59. ^
  60. util/elf2efi.c:643:31: error: 'R_AARCH64_LDST8_ABS_LO12_NC' undeclared (first use in this function)
  61. case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST8_ABS_LO12_NC ) :
  62. ^
  63. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  64. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  65. ^
  66. util/elf2efi.c:644:31: error: 'R_AARCH64_LDST16_ABS_LO12_NC' undeclared (first use in this function)
  67. case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST16_ABS_LO12_NC ) :
  68. ^
  69. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  70. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  71. ^
  72. util/elf2efi.c:645:31: error: 'R_AARCH64_LDST32_ABS_LO12_NC' undeclared (first use in this function)
  73. case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST32_ABS_LO12_NC ) :
  74. ^
  75. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  76. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  77. ^
  78. util/elf2efi.c:646:31: error: 'R_AARCH64_LDST64_ABS_LO12_NC' undeclared (first use in this function)
  79. case ELF_MREL ( EM_AARCH64, R_AARCH64_LDST64_ABS_LO12_NC ) :
  80. ^
  81. util/elf2efi.c:73:46: note: in definition of macro 'ELF_MREL'
  82. #define ELF_MREL( mach, type ) ( (mach) | ( (type) << 16 ) )
  83. ^
  84. cc1: all warnings being treated as errors
  85. gmake: *** [Makefile.housekeeping:1389: util/elf2efi64] Error 1
  86. 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