This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ testsuite failures on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Jan Hubicka <jh at suse dot cz>, gcc at gcc dot gnu dot org
- Date: Thu, 11 Sep 2003 15:27:50 -0400
- Subject: Re: C++ testsuite failures on AIX
>>>>> Richard Henderson writes:
Richard> They're all execution not compilation failures?
Let me expand upon this a little bit. This is the *exact*
identical problem that Honza fixed at the beginning of this week.
G++ emits TOC references to the symbols, but the TOC locations are
never fixed up at runtime because storage never was allocated. The AIX
linker does not complain when linking libstdc++.so because it is a
SysV-style shared object that may contain lazy binding symbols. The AIX
linker believes that the definitions will be supplied later at runtime,
but they never are. The addresses in the TOC are 0 causing SEGV at
runtime.
David