https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123480
Icenowy Zheng <uwu at icenowy dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |---
Status|RESOLVED |UNCONFIRMED
--- Comment #7 from Icenowy Zheng <uwu at icenowy dot me> ---
(In reply to Andrew Pinski from comment #5)
> LD_PRELOAD can be used, just that since gcc defaults to linking statically
> to libstdc++, you can't use a LD_PRELOAD that uses libstc++.
> As mentioned you can change how you link gcc to use shared libstdc++. Which
> then will work too.
The problem is that this is currently an architecture-specific problem, and
even worse it works properly on x86.
Maybe I should re-assign the component to libstdc++ because it's quirk of using
statically-linked libstdc++ and shared ones together?