"multiply defined" ___CTOR_LIST___ under FreeBSD 2.2-980105-SNAP

Jason Merrill jason@cygnus.com
Fri Mar 27 13:33:00 GMT 1998


>>>>> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> Now that egcs-current-CVS finally works under FreeBSD[1], I get link
> errors like the following for a C++ project:

>   ld: /sw/swtest/egcs/BSD/lib/libstdc++.a(streambuf.o): unexpected
>   multiple definitions of symbol `___DTOR_LIST__', type 0x16
>   sql.o:13: Definition of symbol `___DTOR_LIST__' (multiply defined)

Looks like you have -fgnu-linker (or configured --with-gnu-ld), but are not
actually using GNU ld.  "type 0x16" is for the stabs link vector extension.

Jason



More information about the Gcc-bugs mailing list