https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51333
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- We don't export the recursive_init_error symbols from the shared library. That might be intentional, and wasn't a problem when they weren't declared in a public header.