Current binutils failed to build glibc
H. J. Lu
hjl@lucon.org
Sat Oct 2 23:31:00 GMT 2004
On Sat, Oct 02, 2004 at 02:56:57PM -0700, Roland McGrath wrote:
> > Maybe it is not being taken from libc_pic.a at all, just ld when it
> > reads what symbols/objects it might need from libc_pic.a already complains.
>
> Well, fooey on that. It shouldn't be doing that. What if a user wants to
> define a symbol it is allowed to define and not make use of the conflicting
> library code that might use the same names for different purposes?
It is __libc_errno, which is referenced by many .o files in libc_pic.a.
Whan ld is trying to resolve __libc_errno because a .o file is used to
resolve a reference by ld.so, it will pull in errno.os for __libc_errno.
H.J.
More information about the Libc-alpha
mailing list