libstdc++: Attempt to resolve PR83562

Jonathan Yong 10walls@gmail.com
Thu Oct 29 03:17:37 GMT 2020


On 10/27/20 2:38 PM, Liu Hao via Gcc-patches wrote:
> 在 2020/10/8 22:56, Jason Merrill 写道:
>>
>> Hmm, why isn't the mingw implementation used for all programs?  That would avoid the bug.
>>
> 
> There was a little further discussion about this [1].
> 
> TL;DR: The mingw-w64 function is linked statically and subject to issues about order of destruction.
> 
> Recently mingw-w64 has got its own `__cxa_thread_atexit()` so libstdc++ no longer exposes it. This patch for libstdc++ fixes
> calling conventions for destructors on i686 so they match mingw-w64 ones.
> 

Any more comments? I'd like to push this soon if there are no more 
issues open.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x713B5FE29C145D45_and_old_rev.asc
Type: application/pgp-keys
Size: 7929 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201029/49ebbd6a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201029/49ebbd6a/attachment-0001.sig>


More information about the Gcc-patches mailing list