Opened 4 years ago
Last modified 8 months ago
#65414 assigned defect
elftoolchain: does not build on ARM64
| Reported by: | ostefano (Stefano Ortolani) | Owned by: | raimue (Rainer Müller) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.7.2 |
| Keywords: | arm64 | Cc: | cooljeanius (Eric Gallager) |
| Port: | elftoolchain |
Description
Attached build log.
Attachments (1)
Change History (5)
Changed 4 years ago by ostefano (Stefano Ortolani)
comment:1 Changed 4 years ago by jmroot (Joshua Root)
| Owner: | set to raimue |
|---|---|
| Status: | new → assigned |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 2 years ago by raimue (Rainer Müller)
| Summary: | elftoolchain does not build on ARM64 → elftoolchain: does not build on ARM64 |
|---|
FreeBSD seems to have a patch that is relevant for this: https://cgit.freebsd.org/src/commit/?id=839fdcfc0c1dba34f728813d9756515ad82ff58a
comment:4 Changed 8 months ago by cooljeanius (Eric Gallager)
| Cc: | cooljeanius added |
|---|
Note: See
TracTickets for help on using
tickets.

The error in the log is:
elf.c:34:18: error: use of undeclared identifier 'LIBELF_ARCH' .libelf_arch = LIBELF_ARCH, ^ elf.c:35:22: error: use of undeclared identifier 'LIBELF_BYTEORDER' .libelf_byteorder = LIBELF_BYTEORDER, ^ elf.c:36:19: error: use of undeclared identifier 'LIBELF_CLASS' .libelf_class = LIBELF_CLASS, ^ 3 errors generated. *** [elf.po] Error code 1