c++: cross-module __cxa_atexit use [PR 98531]

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jan 27 13:31:57 GMT 2021


Hi Nathan,

> Solaris tickled this bug as it has some mutex/sync/something primitive with
> a destructor, hence wanted to generate a __cxa_atexit call inside an
> inline/template function.  But the problem is not solaris-specific.
>
> I tested this bootstrapping both x86_64-linux and aarch64-linux.  I'll
> commit in a couple of days if there are no further comments.

I've tried the patch on Solaris last night, with mixed results (some
regressions, remaining failures).  I've reported the details in the PR.

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list