Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 513848 - cross-sparc-unknown-linux-gnu/glibc-2.19: configure: error: linker with -z relro support required
Summary: cross-sparc-unknown-linux-gnu/glibc-2.19: configure: error: linker with -z re...
Status: RESOLVED DUPLICATE of bug 361779
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-19 12:35 UTC by Bertrand Jacquin
Modified: 2014-06-20 20:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,13.59 KB, text/plain)
2014-06-19 12:36 UTC, Bertrand Jacquin
Details
emerge --info (info.log,17.33 KB, text/plain)
2014-06-19 12:36 UTC, Bertrand Jacquin
Details
build-default-sparc-unknown-linux-gnu-nptl/config.log (config.log,31.13 KB, text/x-log)
2014-06-19 21:59 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2014-06-19 12:35:49 UTC
When upgrading a crossdev toolchain from glibc-2.17 to glibc-2.19-r1, the following error occur :

# emerge -uva1t =cross-sparc-unknown-linux-gnu/glibc-2.19-r1
(..)
Calculating dependencies... done!
[ebuild     U  ] cross-sparc-unknown-linux-gnu/glibc-2.19-r1:2.2::x-portage [2.17:2.2::x-portage] USE="-debug -gd -hardened -multilib -nscd -profile (-selinux) -suid -systemtap -vanilla" 0 kB
(..)

 *             ABI:   default
 *          CBUILD:   x86_64-pc-linux-gnu
 *           CHOST:   x86_64-pc-linux-gnu
 *         CTARGET:   sparc-unknown-linux-gnu
 *      CBUILD_OPT:
 *     CTARGET_OPT:   sparcv9-unknown-linux-gnu
 *              CC:   x86_64-pc-linux-gnu-gcc
 *         ASFLAGS:
 *          CFLAGS:   -pipe -fcall-used-g6 -O2 -fno-strict-aliasing -fno-stack-protector -nopie
 *        CPPFLAGS:
 *        CXXFLAGS:   -march=native -pipe -fcall-used-g6 -O2 -fno-strict-aliasing -fno-stack-protector -nopie
 *         LDFLAGS:   -Wl,-O1 -Wl,--as-needed
 *       Manual CC:   x86_64-pc-linux-gnu-gcc
 * Configuring GLIBC for nptl
/var/tmp/portage/cross-sparc-unknown-linux-gnu/glibc-2.19-r1/work/glibc-2.19/configure --disable-stackguard-randomization --enable-add-ons=nptl,c_stubs,libidn,ports --enable-kernel=2.6.16 --without-selinux --without-cvs --enable-bind-now --build=x86_64-pc-linux-gnu --host=sparcv9-unknown-linux-gnu --disable-profile --without-gd --with-headers=/usr/sparc-unknown-linux-gnu/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 2.19-r1 p2 --enable-obsolete-rpc --disable-systemtap --disable-nscd
(..)
configure: error: linker with -z relro support required
 * ERROR: cross-sparc-unknown-linux-gnu/glibc-2.19-r1::x-portage failed (compile phase):
 *   failed to configure glibc
 *
 * Call stack:
 *           ebuild.sh, line   93:  Called src_compile
 *         environment, line 3149:  Called eblit-run 'src_compile'
 *         environment, line  920:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  259:  Called src_compile
 *         environment, line 3149:  Called eblit-run 'src_compile'
 *         environment, line  920:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  267:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  165:  Called glibc_do_configure 'nptl'
 *   src_compile.eblit, line  113:  Called die
 * The specific snippet of code:
 *      "$@" || die "failed to configure glibc"

Attached full log and emerge --info

Reproducible: Always
Comment 1 Bertrand Jacquin 2014-06-19 12:36:00 UTC
Created attachment 379246 [details]
build.log
Comment 2 Bertrand Jacquin 2014-06-19 12:36:10 UTC
Created attachment 379248 [details]
emerge --info
Comment 3 SpanKY gentoo-dev 2014-06-19 21:48:04 UTC
attach the config.log file
Comment 4 Bertrand Jacquin 2014-06-19 21:59:35 UTC
Created attachment 379286 [details]
build-default-sparc-unknown-linux-gnu-nptl/config.log
Comment 5 SpanKY gentoo-dev 2014-06-20 20:50:41 UTC

*** This bug has been marked as a duplicate of bug 361779 ***