This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
configure error: linker with -z relro support required
- From: Jeff Liu <jeff dot liu at oracle dot com>
- To: libc-help at sourceware dot org
- Date: Tue, 23 Aug 2011 13:44:03 +0800
- Subject: configure error: linker with -z relro support required
- Reply-to: jeff dot liu at oracle dot com
Dear Developer,
I just tried to run `configure' against glibc git version, but it failed
with the following issue:
jeff@pibroch:~/gnu$ ./glibc/configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
..........
.....
checking for .preinit_array/.init_array/.fini_array support... yes
checking whether to use .ctors/.dtors header and trailer... mawk: line
15: function strtonum never defined
mawk: line 15: function strtonum never defined
yes
checking for libunwind-support in compiler... no
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -z relro option... no
configure: error: linker with -z relro support required
Actually, the `ld' in my binutils is definitely support this feature:
jeff@pibroch:~/gnu$ `which ld` --help|grep relro
-z norelro Don't create RELRO program header
-z relro Create RELRO program header
-z norelro Don't create RELRO program header
-z relro Create RELRO program header
-z norelro Don't create RELRO program header
-z relro Create RELRO program header
Any hint?
Thanks,
-Jeff