This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: gcc 3.x test matrix


On Tue, Sep 04, 2001 at 09:57:13AM -0700, Richard Henderson wrote:
> On Tue, Sep 04, 2001 at 02:18:43PM +0200, Jakub Jelinek wrote:
> > Another option could be to have libgcc_d.a which would be libgcc.a minus
> > frame.o (or frame-dwarf2.o) and just modify specs so that if not -static,
> > -lgcc_d -lc -lgcc_d is used instead of -lgcc -lc -lgcc.
> 
> Or just "-lc -gcc", which seems better to me.

That's problematic. At least libgcc.a(_bb.o) contains reference to atexit,
which is found in libc_nonshared.a, so if nothing before -lc needs atexit
and _bb.o is brought in, it would not be satisfied.
So it would have to be
%{!static:-lc -lgcc -lc_nonshared}%{static:-lgcc -lc -lgcc}

	Jakub


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