https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116159
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You could configure with --enable-symvers=no to disable that explicitly, but
maybe this isn't the right check for the init symbol:
#elif defined(_GLIBCXX_SYMVER_GNU)
The definition of that symbol is:
#ifdef _GLIBCXX_SYMVER_GNU
#pragma GCC diagnostic ignored "-Wattribute-alias"
void ios_base_library_init (void)
__attribute__((alias ("_ZNSt8ios_base4InitC1Ev")));
#endif
But is that even going to work on this target when the actual symbol has __Z ?
00000000 T __ZNSt8ios_base4InitC1Ev
(why doesn't the alias give an error when defined?)