AIX, Solaris 2.8 excess errors fails

Jason Merrill jason@redhat.com
Wed Feb 20 10:42:00 GMT 2002


>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:

>>>>> Jason Merrill writes:
Jason> I disagree; this is a known limitation, not a failure.  These are tests for
Jason> library functionality, so workarounds are fine.

Jason> It is what user programs need to do if they want to work on AIX...

> 	The library relies on COMDAT Weak functionality.  This patch
> simply covers up that fact, so it no longer tests library functionality.
> Systems that supports weak will pass.

The library uses standard template functionality, which the compiler does
not provide on systems without weak symbols.  If people on such systems
want to use, say, basic_string<my_char_type>, they need to explicitly
instantiate the static data members.  This is the documented workaround for
the compiler limitation, and it makes perfect sense for the library to use
it in its own tests.

There's nothing wrong with the library.

Jason



More information about the Libstdc++ mailing list