Summary: | =sys-apps/fwupdate-9 - ld.gold: fatal error: -shared and -pie are incompatible | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pavel Procopiuc <hyrurg> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | ansla80, jasmin+gentoo, mads, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
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. |
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