This is the mail archive of the gcc@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: Shared libstdc++ on AIX


	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


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