Weak symbols under AIX 5.1?
David Edelsohn
dje@watson.ibm.com
Sun Apr 28 12:14:00 GMT 2002
>>>>> Roger Sayle writes:
> The question is whether AIX's support for weak symbols is sufficient
> for this to be fixed? If not g++.pt/static3.C should probably be
> marked XFAIL on AIX and I'll have to add explicit template member
> instantiations to all our code. If yes, then should I file a PR for
> an already failing test suite case? and I'll look into the AIX native
> assembler documentation to determine which additional directives
> need to be issued.
You seem to be mixing two issues in your question: AIX weak symbol
support and current AIX 5L functionality. AIX 5L as currently distributed
does not support weak symbols. If weak symbols were implemented, these
failures should be fixed.
Using XFAIL is inappropriate and just hides the problem which will
make it even more likely that G++ users will expect the functionality to
work. Those testcases explore G++ functionality and G++ assumes weak
symbol support, so those tests should fail on targets without weak symbol
support.
David
More information about the Gcc-bugs
mailing list