This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configure error: linker with -z relro support required


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]