[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #4 from Jonathan Wakely --- There's a reason it's marked as unique: it needs to be globally visible and globally unique.
[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #3 from George Yunaev --- Indeed making a unique symbol local results in a leak.
[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #2 from George Yunaev --- Adding -fno-gnu-unique to the makefile for libleak.so doesn't remove the leak.
[Bug libstdc++/111347] Memory leak loading a shared library built with --static-libsdtc++ when version script is used
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347 --- Comment #1 from Andrew Pinski --- I am pretty sure _ZNSt8messagesIwE2idE is marked as GNU unique