AIX testsuite failures

Paolo Carlini pcarlini@suse.de
Wed May 4 14:51:00 GMT 2005


Hi David,

>	Some of the mt_allocator tests are failing on AIX because of
>compile errors.  I am a little confused about the cause.  I think it is
>related to "policy_type".  Is this a bug in the test or the classes should
>be defined even when using the other allocator or these tests should be
>XFAIL on AIX?
>  
>
If I'm not mistaken, what all these failures have in common is the
*thread suffix: are all meant to exercize the allocator in MT
conditions. Indeed, in the example (similarly in the other cases), the
failure is for a policy_type typedef-ed as:

...
#ifdef __GTHREADS
  /// Partial specialization for thread enabled, via gthreads.h.
  template<template <bool> class _PoolTp>
    struct __common_pool_policy<_PoolTp, true>
...

Therefore it looks like __GTHREADS is for some reason undefined. Does
this ring something to you? (sorry, right now cannot further investigate
whether we have got something special in the configury for threads vs AIX).

Paolo.



More information about the Libstdc++ mailing list