Summary: | =net-libs/webkit-gtk-2.2.4-r200 w/ GNU gold ld: -Wl,--reduce-memory-overheads: unknown option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | config.log |
Description
Samuli Suominen (RETIRED)
2014-02-11 08:47:14 UTC
build.log says: >>> Emerging (13 of 14) net-libs/webkit-gtk-2.2.4-r200 * webkitgtk-2.2.4.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking webkitgtk-2.2.4.tar.xz to /var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work >>> Source unpacked in /var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work >>> Preparing source in /var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work/webkitgtk-2.2.4 ... * Applying webkit-gtk-1.11.90-gtk-docize-fix.patch ... [ ok ] * Applying webkit-gtk-2.2.4-unittests-build.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work/webkitgtk-2.2.4' ... * Running gtkdocize --copy ... [ ok ] * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I Source/autotools ... [ ok ] * Running autoconf -I Source/autotools ... [ ok ] * Running autoheader -I Source/autotools ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] * Running elibtoolize in: webkitgtk-2.2.4/ * Applying target-nm/2.4.2 patch ... * Running elibtoolize in: webkitgtk-2.2.4/Source/autotools/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.2 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work/webkitgtk-2.2.4 ... * econf: updating webkitgtk-2.2.4/Source/autotools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating webkitgtk-2.2.4/Source/autotools/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --disable-coverage --disable-debug --enable-egl --enable-geolocation --disable-gles2 --enable-video --enable-introspection --enable-jit --disable-credential_storage --enable-glx --enable-spellcheck --enable-webgl --enable-accelerated-compositing --with-gtk=2.0 --disable-webkit2 --enable-dependency-tracking --disable-gtk-doc checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for perl... /usr/bin/perl checking for python... /usr/bin/python2.7 checking for ruby... /usr/bin/ruby checking for bison... /usr/bin/bison checking for mv... /bin/mv checking for gperf... /usr/bin/gperf checking for flex... /usr/bin/flex checking for gawk... gawk checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work/webkitgtk-2.2.4': configure: error: C compiler cannot create executables See `config.log' for more details config.log says: configure:3722: checking whether the C compiler works configure:3744: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--no-keep-memory -Wl,--reduce-memory-overheads conft est.c >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: --reduce-memory-overheads: unknown option /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status configure:3748: $? = 1 configure:3786: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "WebKitGTK" | #define PACKAGE_TARNAME "webkitgtk" | #define PACKAGE_VERSION "2.2.4" | #define PACKAGE_STRING "WebKitGTK 2.2.4" | #define PACKAGE_BUGREPORT "http://bugs.webkit.org/" | #define PACKAGE_URL "" | #define USER_AGENT_GTK_MAJOR_VERSION 538 | #define USER_AGENT_GTK_MINOR_VERSION 1 | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3791: error: in `/var/tmp/portage/net-libs/webkit-gtk-2.2.4-r200/work/webkitgtk-2.2.4': configure:3793: error: C compiler cannot create executables $ ld -v GNU gold (GNU Binutils 2.24) 1.11 Created attachment 370130 [details]
config.log
heh. took me a while to figure out where the flag is coming from, looks like it's the webkit-gtk ebuild that passes flags without checking if they work: # Try to use less memory, bug #469942 (see Fedora .spec for reference) append-ldflags "-Wl,--reduce-memory-overheads" *** This bug has been marked as a duplicate of bug 469942 *** |