On 17 Aug 2019, at 05:33, Mark Millard <mark...@yahoo.com> wrote:
> 
> I upgraded to head -r351153 and then attempted a buildworld
> buildkernel via devel/llvm90 (rc2 via ports head -r509054),
> but that (from scratch) build attempt got:
> 
> --- gptboot.bin ---
> objcopy: elf_update() failed: Layout constraint violation
> *** [gptboot.bin] Error code 1
> make[5]: *** gptboot.bin removed


It turns out this is an lld issue with the -N option, introduced with
https://reviews.llvm.org/rLLD360593:

https://bugs.llvm.org/show_bug.cgi?id=43212

Before, -N did not do that much, but that change can cause section
offsets which do not match the stated section alignment.  Hence, objcopy
complains.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to