This is the mail archive of the gcc@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: Supported targets


On Tue, May 20, 2014 at 01:14:24PM +0200, Eric Botcazou wrote:
> > > Yes, glibc 2.4 is required for GCC 4.9 because of this.
> > 
> > Should that be noted at
> > https://gcc.gnu.org/install/specific.html#x-x-linux-gnu ?
> 
> Probably, unless someone knows how to work around it.  We traced it to the 
> missing AS_NEEDED in /usr/lib/libc.so:
> 
> /* GNU ld script
>    Use the shared library, but some functions are only in
>    the static library, so try that secondarily.  */
> OUTPUT_FORMAT(elf32-i386)
> GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED ( /lib/ld-
> linux.so.2 ) )

But that should be generally needed only when linking with -Wl,-z,defs ,
without it the linker shouldn't care.

	Jakub


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