cvs binutils+gcc4.0 build fail
Alan Modra
amodra@bigpond.net.au
Wed Mar 30 16:34:00 GMT 2005
On Tue, Mar 29, 2005 at 07:09:31PM +0000, Thorsten Glaser wrote:
> tg@odem:/home/tg $ g++ -static x.cc
> /usr/bin/ld: `.gnu.linkonce.t._ZNKSt5ctypeIcE13_M_widen_initEv' referenced in section `.data' of /usr/lib/libstdc++.a(locale-inst.o): defined in discarded section `.gnu.linkonce.t._ZNKSt5ctypeIcE13_M_widen_initEv' of /usr/lib/libstdc++.a(locale-inst.o)
This is a gcc problem. Some part of _ZNKSt5ctypeIcE13_M_widen_initEv is
not being emitted to linkonce sections, but instead finds its way into
.data. This leaves a dangling reference when the linkonce sections are
removed due to some other copy of _ZNKSt5ctypeIcE13_M_widen_initEv
already being present.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list