http://lists.ipxe.org/pipermail/ipxe-devel/2016-February/004640.html sys-firmware/ipxe must be patched so it doesn't use PIE.
build.log? emerge --info? we will not go chasing mailing lists for information.
Created attachment 438224 [details] emerge info Sorry @Alex Didn't see anything wrong with linking to an upstream mailing list that described the actual cause of the problem. Relevant portion of build.log: env CCACHE_DISABLE=1 x86_64-gentoo-linux-musl-gcc -DARCH=i386 -DPLATFORM=pcbios -march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mpreferred-stack-boundary=2 -mregparm=3 -mrtd -freg-struct-return -m32 -fshort-wchar -Ui386 -Ulinux -DNVALGRIND -Iinclude -I. -Iarch/x86/include -Iarch/i386/include -Iarch/i386/include/pcbios -Os -g -ffreestanding -Wall -W -Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-address -ffunction-sections -fdata-sections -include include/compiler.h -DOBJECT=clientcert -c crypto/clientcert.c -o bin/clientcert.o /var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s: Assembler messages: /var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s:38: Error: missing or invalid displacement expression `client_certificate_len@GOTOFF' /var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s:63: Error: missing or invalid displacement expression `client_private_key_len@GOTOFF' make: *** [Makefile.housekeeping:802: bin/clientcert.o] Error 1
But also, from the PIE/SSP bug, #582688: "Tracker for Packages that fail with pie or ssp enable in Gcc 6.1 The package should block this one _and_ the Gcc 6 porting bug."
it's not specific to gcc-6. the code is already patched to disable PIE: https://git.ipxe.org/ipxe.git/commit/fe61f6de0dd5d39ac3de5e8e18742f9bd0aafad7 the problem is they typo-ed the option -- it's "-no-pie", not "-nopie".
sent fix upstream: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d31cc8d1b42484b6635f8b4fe0cd8161183c337
Thanks, vapier!