https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108288
--- Comment #4 from Simon Marchi <simon.marchi at polymtl dot ca> --- Thanks for looking into this so quickly. I'll try to test the patch against my use case, but I might need some guidance. I know how to build gcc and install it in some non-default prefix. But then, do I need to do something special when building my program, to ensure that this libstdc++.so will be used, instead of the system one? Just set LD_LIBRARY_PATH appropriately, like for any other lib?