Libstdc++-v3 vs darwin vs weak support
Geoffrey Keating
geoffk@geoffk.org
Wed Mar 16 00:48:00 GMT 2005
Paolo Carlini <pcarlini@suse.de> writes:
> Hi,
>
> in March 2004 we added to many libstdc++-v3 testcases lines similar to
>
> #if !__GXX_WEAK__ && _MT_ALLOCATOR_H
> // Explicitly instantiate for systems with no COMDAT or weak support.
> template class __gnu_cxx::__mt_alloc<std::_List_node<int> >;
> #endif
>
> AFAIK, only in order to avoid spurious failures on darwin.
>
> I'd like to know from the maintainers (or other knowledgeable people)
> which is the current situation, whether those explicit instantiations
> are still needed. I'm asking because I mean to move from v7 to
> mainline a bunch of similar testcases...
Darwin now has weak/comdat support, so it doesn't need or use this any more.
However, AIX does need them, I think.
More information about the Gcc
mailing list