libgcc problems

Andrey Slepuhin pooh@msu.ru
Thu Jan 15 16:30:00 GMT 1998


On 15-Jan-98 David Edelsohn wrote:
> Andrey> We shouldn't take care about symbols like _ptrgl or _savef14 unless
> Andrey> we want to enable reexporting symbols from static libraries (exactly
> Andrey> a problem I got playing with libgcc), because these symbols are
> Andrey> contained in a static member of libc.a.
> 
>       Did collect2 try to re-export these reserved symbols itself or did
> you do something extra which caused the problem?  GCC/collect2 never
> should re-export symbols from a static library unless a user explicitly
> creates an export list and (hopefully) knows what he or she is doing.

I did something extra, i.e. playing with libgcc, I enabled collect2 to
reexport some symbols from static libraries, which normally should be
disabled.

Andrey.




More information about the Gcc mailing list