[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:53:19 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123480
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Icenowy Zheng from comment #11)
> Theortically I agree with this, however the current issue is that this
> exhibits uncertain behavior on different architectures, and people will find
> no problem until the program is being ran on some architectures.
I dont see any issue here. Maybe the rest of gcc should pull in more of
libstdc++ later on, things will start to break everywhere.
This is the same issue if you link any program with -static-libstc++ even
clang/llvm.
More information about the Gcc-bugs
mailing list