[Bug driver/123480] Compiler drivers built with host=riscv64-linux-gnu exports libstdc++ symbols
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 8 09:42:14 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123480
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.
More information about the Gcc-bugs
mailing list