This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Reguire __cxa_atexit for ext/{new, throw}_allocator/deallocate_global.cc
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, Paolo Carlini <paolo dot carlini at oracle dot com>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 01 Mar 2010 22:20:52 +0100
- Subject: Re: PATCH: Reguire __cxa_atexit for ext/{new, throw}_allocator/deallocate_global.cc
- References: <yddtyt6ln07.fsf@CeBiTec.Uni-Bielefeld.DE> <4B853C02.5000204@oracle.com> <4B854F49.5050104@gmail.com> <ydd7hpv4wko.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <20100301124428.468c6d17@redhat.com>
Benjamin Kosnik <bkoz@redhat.com> writes:
>> A
>> prominent example (which I'll attack soon) is the large list of
>> different target lists used to decide if the target has pthread
>> support. This is both inconsistent and a nightmare to maintain, e.g.
>> if adding a new target.
>
> Hallelujah. Thank you for tackling this, it is most apprecaited. This is
> already a nightmare to maintain and was never intended to last as long
> as it has.
>
> (And as an aside, I think for solaris -pthread (no s) no works so can
> be massively simplified anyway.)
Right: that's what I noticed. Afterwards, I'd like to enable pthreads
on IRIX 6.5 by default, which will be much easier now that older releases
like 6.2 that only had half-hearted pthread support in patches are
deprecated. And I'd very much like to avoid touching every pthread test
in libstdc++ for this again :-)
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University