This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: configure error: linker with -z relro support required
- From: Jeff Liu <jeff dot liu at oracle dot com>
- To: Jonathan Nieder <jrnieder at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Tue, 23 Aug 2011 14:01:02 +0800
- Subject: Re: configure error: linker with -z relro support required
- References: <4E533E23.9020706@oracle.com> <20110823054614.GD4623@elie.gateway.2wire.net>
- Reply-to: jeff dot liu at oracle dot com
Hi Jonathan,
Thanks for your prompt response!
On 08/23/2011 01:46 PM, Jonathan Nieder wrote:
Hi Jeff,
Jeff Liu wrote:
configure: error: linker with -z relro support required
See config.log. What ld are you using?
looks it does not specified the absolute path for `ld', in this case,
IMHO, it means the '/usr/bin/ld'.
jeff@pibroch:~/gnu$ grep LD= config.log
ac_cv_prog_LD=ld
LD='ld'
more detail:
========
configure:2374: checking build system type
configure:2388: result: i686-pc-linux-gnu
configure:2408: checking host system type
configure:2421: result: i686-pc-linux-gnu
configure:2490: checking for gcc
configure:2506: found /usr/bin/gcc
configure:2517: result: gcc
configure:2746: checking for C compiler version
configure:2755: gcc --version >&5
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2766: $? = 0
configure:2755: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/lto-wrapper
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.5 --enable-shared --enable-multiarch
--with-multiarch-defaults=i386-linux-gnu --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/i386-linux-gnu
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.5
--libdir=/usr/lib/i386-linux-gnu --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-gold
--enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i686
--with-tune=generic --enable-checking=release --build=i686-linux-gnu
--host=i686-linux-gnu --target=i686-linux-gnu
Thank you!
-Jeff