C++ testsuite failures on AIX

David Edelsohn dje@watson.ibm.com
Thu Sep 11 19:44:00 GMT 2003


>>>>> 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



More information about the Gcc mailing list