Yet another versioning anomaly

H.J. Lu hjl@lucon.org
Sat Jan 10 16:43:00 GMT 1998


> 
> > I guess we should add -lc to -shared for glibc 2. But I am not
> > sure if all the systems support it. I think ld.so in libc 5 may
> > not be happy with it.
> 
> That doesn't make any sense.  Redundant dependencies happen all the time;
> it would be impressively lossy if ld.so couldn't handle this.
> 

I am thinking about dlopen within a binary statically linked with
libc.a. Besides, -lc is used for versioned symbol in libc in this
case. Only glibc 2 uses it.

-- 
H.J. Lu (hjl@gnu.org)



More information about the Gcc mailing list