This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AIX & shared libstdc++
- To: pooh at msu dot ru
- Subject: Re: AIX & shared libstdc++
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 07 Oct 97 17:30:54 -0400
- Cc: David Edelsohn <dje at watson dot ibm dot com>, egcs at cygnus dot com
>>>>> 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