Hi, Since updating to the 17.0 profile fwupdate doesn't build: >>> Compiling source in /var/tmp/portage/sys-apps/fwupdate-9/work/fwupdate-9 ... make --jobs=4 --silent EFIDIR=gentoo GNUEFIDIR=/usr/lib64 Building with EFIDIR as gentoo /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: -shared and -pie are incompatible collect2: error: ld returned 1 exit status make[1]: *** [Makefile:95: fakeesrt2.so] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:9: all] Error 2
After some additional investigation I found out that this only happens with gold linker
This is made worse by the fact that efi/Makefile does not obey LDFLAGS (it looks like on purpose) so this needs to be fixed with a patch in the ebuild
Removing per p.mask.