This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Linking with -lc
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Cc: "Harris, Jeff" <JeffH at aiinet dot com>, amodra at bigpond dot net dot au,GNU C Library <libc-alpha at sources dot redhat dot com>,"'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Thu, 8 May 2003 06:52:24 -0700
- Subject: Re: Linking with -lc
- References: <3B785392832ED71192AE00D0B7B0D75B1C6498@aimail.aiinet.com> <3B785392832ED71192AE00D0B7B0D75B1C6498@aimail.aiinet.com> <20030507124717.A29399@lucon.org> <5.2.1.1.2.20030508103043.01c3c060@mail.lauterbach.com>
On Thu, May 08, 2003 at 10:42:35AM +0200, Franz Sirl wrote:
>
> That's normal behaviour, libgcc has all these symbols and gcc correctly
> links '-lgcc -lc -lgcc', but adding -lc to the gcc link line undos that and
> then breaks with a the broken glibc-2.3.2.
>
The thing is even if glibc is broken, ld should still work. But I
can't find a testcase to show the bug under x86.
H.J.