[code] DEBUG: configure:6481: /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -o conftest -march=btver1 -pipe -fstack-check -mno-avx -fno-strict-aliasing -fno-math-errno -Wl,-O1 -Wl,--as-needed -Wl,-rpath=/usr/lib64/seamonkey,--enable-new-dtags -Wl,-z,noexecstack -Wl,-z,text -pie conftest.c 1>&5 DEBUG: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/www-client/seamonkey-2.48/temp/cchVBHYA.o: warning: relocation against `__stack_chk_fail@@GLIBC_2.4' in readonly section `.text'. DEBUG: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/www-client/seamonkey-2.48/temp/cchVBHYA.o: relocation R_X86_64_PC32 against undefined symbol `__stack_chk_fail@@GLIBC_2.4' can not be used when making a shared object; recompile with -fPIC DEBUG: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value DEBUG: collect2: error: ld returned 1 exit status DEBUG: configure: failed program was: DEBUG: #line 6474 "configure" DEBUG: #include "confdefs.h" DEBUG: DEBUG: int main() { DEBUG: DEBUG: ; return 0; } DEBUG: configure: error: --enable-pie requires PIE support from the linker. ERROR: old-configure failed *** Fix above errors and then restart with\ "make -f client.mk build" make: *** [client.mk:360: configure] Error 1 * ERROR: www-client/seamonkey-2.48::gentoo failed (configure phase): * emake failed [/code]
Running CFLAGS="-fPIC" emerge www-client/seamonkey worked around the issue
commit 47b1fad081748e311e10ec3cf7bdd797dfe7fc6d (HEAD -> master, origin/master, origin/HEAD) Author: Lars Wendler <polynomial-c@gentoo.org> Date: Mon Jul 24 15:46:14 2017 www-client/seamonkey: Fixed -fPIC issue (bug #625992) also use enigmail package rather than bundle it in the ebuild. Package-Manager: Portage-2.3.6, Repoman-2.3.3
Thanks for the fix!