Jeff Liu
2011-08-23 05:44:03 UTC
Dear Developer,
I just tried to run `configure' against glibc git version, but it failed
with the following issue:
***@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:
***@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
I just tried to run `configure' against glibc git version, but it failed
with the following issue:
***@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:
***@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