[PATCH v2] libstdc++: Make certain exceptions transaction_safe.
Jakub Jelinek
jakub@redhat.com
Sun Jan 17 20:32:00 GMT 2016
On Sun, Jan 17, 2016 at 09:21:45PM +0100, Torvald Riegel wrote:
> The attached patch works around this by always definining stubs for the
> libitm functions, yet declaring them weak at the same time. If
This doesn't look like a good idea. The dynamic linker doesn't make
difference between weak and non-weak definitions, only ld(1) does,
so if for whatever reason libstdc++ appears earlier in the search scope than
libitm, TM programs would stop working because of this.
Jakub
More information about the Libstdc++
mailing list