https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105845
Jiang An <de34 at live dot cn> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |de34 at live dot cn --- Comment #1 from Jiang An <de34 at live dot cn> --- I don't think this is a bug of libstdc++. Perhaps you may use extern "C" and __attribute__((alias("specified_name")) (can be also spelled as [[gnu::alias("specified_name")]] since C++11 mode) as workaround. See also: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html