This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]