https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100912
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-06-04 Component|libstdc++ |target Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This sounds like it is still picking up the wrong libstdc++ really. Can you disassemble (objdump -dr) ~/usr/lib64/libstdc++.so.6 to see which vsnprintf is used there? Also can you set LD_LIBRARY_PATH to ~/usr/lib64/ rather than using LD_PRELOAD and see if that works. The other thing to do use LD_DEBUG to figure out which libstdc++ is being used really.