PATCH: Reguire __cxa_atexit for ext/{new, throw}_allocator/deallocate_global.cc

Paolo Carlini paolo.carlini@oracle.com
Wed Feb 24 16:00:00 GMT 2010


Hi Dave,
> Shouldn't this be xfailed on solaris, rather than skipped on all
> non-cxa_atexit targets?
>
>   The FAIL in this case is indicating an ABI violation w.r.t order of dtors,
> which could equally happen on non-cxa_atexit systems that implement some
> variant scheme (such as e.g. get_exit_frame_monitor hooks!) and it seems
> useful to me if the testsuite flags that up, regardless of the internal
> implementation details of how the system handles (or, in this case, fails to
> handle correctly) finalisation.
>   
given your observation about the hook itself, I tend to agree. If I
remember correctly, other systems should be also xfailed, eg, AIX
(xfailing is a bit tedious, isn't it?) I would also suggest Rainer to
add a couple of lines of comment summarizing this exchange here.

Paolo.



More information about the Libstdc++ mailing list