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.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111347
Bug ID: 111347
Summary: Memory leak loading a shared library built with
--static-libsdtc++ when version script is used
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED