This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: glibc configure: error: linker with -z relro support required
- From: Ian Lance Taylor <iant at google dot com>
- To: chansarav <chansarav at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 04 May 2010 07:13:07 -0700
- Subject: Re: glibc configure: error: linker with -z relro support required
- References: <w2m4f15e0381005032207h3b6bdab3pef58f44162ff631e@mail.gmail.com>
chansarav <chansarav@gmail.com> writes:
> I am building a cross-compiler for arm. I built and installed the
> binutils & compiler.
>
> While configuring glibc with the compiler and binutils built for arm,
> I get the following configure error:
>
> checking for -z relro option... no
> configure: error: linker with -z relro support required
>
> I couldn't find any reference for the same from net.
>
> Kindly check if anyone can help on the same.
>
> The sources I used are - binutils-2.20, gcc-4.4.0 and glibc-2.11.
binutils 2.20 does support -z relro for ELF targets. You are going to
have to look at the glibc config.log file to see why the test for -z
relro failed.
Ian