Opened 2 years ago

Last modified 13 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:
Port: elftoolchain

Description

Attached build log.

Attachments (1)

main.log (62.3 KB) - added by ostefano (Stefano Ortolani) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by ostefano (Stefano Ortolani)

Attachment: main.log added

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Owner: set to raimue
Status: newassigned

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:3 Changed 13 months ago by raimue (Rainer Müller)

Summary: elftoolchain does not build on ARM64elftoolchain: does not build on ARM64

FreeBSD seems to have a patch that is relevant for this: https://cgit.freebsd.org/src/commit/?id=839fdcfc0c1dba34f728813d9756515ad82ff58a

Note: See TracTickets for help on using tickets.