This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: which glibc to use


"Koornstra, Reinoud" <koornstra@hp.com> writes:

> I like to use gcc 4.1.2 as compiler version.
> Which glibc version can I use with this one?
> Glibc 2.9 give me this error:
>
> checking for -z relro option... no
> configure: error: linker with -z relro support required
>
> I guess this option is present in a later version of gcc?
> Any hints here?

The linker is not part of gcc.  It is part of the GNU binutils.  You
need to use a version of the GNU binutils new enough to support -z
relro.  I think GNU binutils 2.16 or later should work.

Ian


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