This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared libstdc++ on AIX
- To: Zoltan Hidvegi <hzoli at austin dot ibm dot com>
- Subject: Re: Shared libstdc++ on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Fri, 27 Jul 2001 14:36:36 -0400
- cc: gcc at gcc dot gnu dot org
The duplicate warnings are expected because of G++'s COMDAT
implementation.
I think that we still are waiting for Red Hat to commit some
bugfixes to the GNU Assembler. I am not sure if the GNUPro Assembler from
Red Hat has been updated on the IBM website to include the fixes or not.
The latest fixes mainly deal with alignment and debugging information, not
working shared libraries.
I have been able to build and run G++ applications linked against
the shared C++ library. The one area where one needs to be careful is if
AIX has cached an old, broken version of the library in the public shared
library segment. When I have made sure that cached version has been
purged with slibclean and marked the shared library permissions
non-readable by others (so that the process private shared library segment
is used) for testing, it has worked okay for me.
The main problems that I still experience is libstdc++ I/O does
not work for anything but the simplest scenarios because of both weak
symbol teamplate instantiation problems and sharing of symbols between
shared objects and the main application.
David