https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105845
--- Comment #2 from Eyal Rozenberg <eyalroz1 at gmx dot com> --- (In reply to Jiang An from comment #1) > I don't think this is a bug of libstdc++. Well, it's not a bug, it's a feature request. But - I certainly won't bikeshed about the choice of component. > 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. I'm not trying to force a mangled name, I want to get the mangled name in pre-existing code.