Deal with -lgcc -lc dependencies

petrov@pacbell.net petrov@pacbell.net
Thu Apr 4 14:21:00 GMT 2002


On Thu, Apr 04, 2002 at 01:49:13PM -0800, David S. Miller wrote:
>    From: petrov@pacbell.net
>    Date: Thu, 4 Apr 2002 13:47:38 -0800
>    
>    Thanks for info. It seems that it's only glibc problem.
>    Solaris has .umul/.udiv in libc so it should be fine. May be glibc
>    can have those as well.
>    
> The fact that .umul is in libc _IS_ the source of the problem.
> GLIBC is where these are kept too, it is no different from
> Solaris's libc in this regard.
> 

Then, I just don't understand what the probem is. I don't have environment
right here so I'm mostly guessing now.

Say we have a program with call graph
main->abort->.udiv

Can it be resolved with just -lc -lgcc? I would expect yes (assuming 
both abort and .udiv) in libc. Need to verify though:-).

--
	Andrey



More information about the Gcc-patches mailing list