This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for egcs 1.0.2
- To: law at cygnus dot com
- Subject: Re: Patch for egcs 1.0.2
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 9 Feb 1998 08:48:43 -0800 (PST)
- Cc: egcs at cygnus dot com, libc-linux at gnu dot org (GNU C Library)
>
>
> In message <m0y0rK7-0004ecC@ocean.lucon.org>you write:
> > Hi,
> >
> > I'd like to see this in egcs 1.0.2. The reason for this is
> > glibc 2.1 is versioned and the dynamic linker needs to know
> > which version of libc the shared library is compiled against.
> >
> > Thanks.
> >
> >
> > --
> > H.J. Lu (hjl@gnu.org)
> > -
> > Sat Jan 10 14:03:43 1998 H.J. Lu (hjl@gnu.org)
> >
> > * config/linux.h (LIB_SPEC): Add -lc for -shared if
> > USE_GNULIBC_1 is not defined.
> > * config/sparc/linux.h; Ditto.
> >
> > * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
> >
> > * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
> > USE_GNULIBC_1 is not defined.
> HJ, these aren't even in the snapshots, and thus haven't been tested
> in any way shape or form by folks on the egcs list.
>
> As far as I know, this is the first time anyone on this list has
> ever seen these patches.
>
I forgot about it. I have used it for a while. But people who use
glibc 2.1 needs it. Otherwise, they will run into many problems.
BTW, it is from a glibc 2.1 bug report.
--
H.J. Lu (hjl@gnu.org)