Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625992 - www-client/seamonkey-2.48 fails to configure
Summary: www-client/seamonkey-2.48 fails to configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-23 14:24 UTC by Étienne Buira
Modified: 2017-07-25 18:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Étienne Buira 2017-07-23 14:24:42 UTC
[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]
Comment 1 Étienne Buira 2017-07-23 15:26:07 UTC
Running
CFLAGS="-fPIC" emerge www-client/seamonkey
worked around the issue
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-07-24 13:49:02 UTC
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
Comment 3 Attila Tóth 2017-07-25 18:52:41 UTC
Thanks for the fix!