AIX & shared libstdc++

David Edelsohn dje@watson.ibm.com
Tue Oct 7 23:14:00 GMT 1997


>>>>> Andrey Slepuhin writes:

Andrey> 1) I obtain many warnings about undefined symbols which are really class names
Andrey> themselves (for example, range_error), so I remove these symbols from export
Andrey> file.

	This may depend on the type of symbol.  I do not know how class
names appear as symbols and how this would appear in an exports list.  A
class name is not an actual method or member.

Andrey> 2) When linking programs with shared libstdc++, I obtain warnings about
Andrey> multiple defined symbols like __eh<something>. After removing these symbols
Andrey> all my test programs linked and worked fine.

	As mentioned in the README.RS6000 file, AIX 4.1 linker became much
more pedantic about warning of duplicate symbols.  These always have been
there and should not affect correctness of the resulting executable.

Andrey> 3) I am worried about shared libstdc++ size (2.3M instead of 3M static). This
Andrey> can be caused differences in library structure (for example a large number of
Andrey> separate modules in ar file), but I cannot check this.

	*Shrug*

David



More information about the Gcc mailing list