Created attachment 167976 [details] ipxe.diff by using the port version of objcopy.
Created attachment 167977 [details] ipxe-typescript I currently don't have a 11.0-CURRENT host, so I'm submitting a typescript of the build in a VM instead of a Poudriere log.
Created attachment 167978 [details] Poudriere testport log FreeBSD 10.2/i386
Committed, thanks.
A commit references this bug: Author: pi Date: Fri Mar 11 21:58:40 UTC 2016 New revision: 410842 URL: https://svnweb.freebsd.org/changeset/ports/410842 Log: net/ipxe: unbreak build on HEAD... ...by using the port version of objcopy PR: 207890 Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer) Changes: head/net/ipxe/Makefile
I'm curious if this port was previously broken on HEAD for a reason other than the objcopy issue here; the switch to ELF Tool Chain tools passed an exp-run before I committed it. I'll see if I can figure out what's happening here.
(In reply to Ed Maste from comment #5) I found at least one problem: the linker scripts in ipxe create a subtly broken ELF object with overlapping sections and ELF Tool Chain objcopy does not handle this. I'll see about getting a fix upstream and/or making our objcopy more tolerant, but agree that using the ports objcopy is reasonable.