This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: V3 static data in classes vs AIX
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: V3 static data in classes vs AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 05 Jun 2001 22:04:20 -0400
- cc: Alexandre Oliva <aoliva at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, gdr at codesourcery dot com, libstdc++ at gcc dot gnu dot org
>>>>> Benjamin Kosnik writes:
Ben> Still though, Tru64 doesn't have these duplicates, yet AIX does, so the
Ben> inconsistency still exists. Or maybe the Tru64 linker just doesn't care?
AIX warns about the duplicates, but it is not an error. The
duplicate warnings occur when linking statically, but that version works.
The warning simply points to the problem that occurs when dynamically
linking and the symbols are not shared.
Does Tru64 support WEAK symbols? I assume that it does. AIX
currently does not provide for WEAK symbols.
The duplicate symbols always exist and GCC relies on them to get
C++ semantics correct. GCC also relies on how the linker resolves STRONG,
WEAK, and COMMON duplicate symbols.
David