HomeFreeBSD

When ld is lld net/ipxe fails to build with

Description

When ld is lld net/ipxe fails to build with

ld -m elf_i386_fbsd -N --no-check-sections --section-start=.prefix=0 --gc-sections -static -o bin/usbdisk.bin --oformat binary -e 0 bin/usbdisk.o
ld: error: unknown argument: --no-check-sections
ld: error: unknown argument: --section-start=.prefix=0

The port is supposed to use ld from devel/binutils but does not
currently respect ${LD} (or any of the other binutils related
variables) and always uses ld from base. Make sure that the build
actually uses the binutils from ports.

While here:

  • Remove Perl runtime dependency
  • Pet portlint
  • Trim the pkg-message to the actually useful bits

Details

Provenance
tobikAuthored on Aug 8 2017, 8:00 PM
Parents
R11:7ddaa7a11c31: Update to 9.2
Branches
Unknown
Tags
Unknown

Event Timeline