https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118563
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |redi at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If those were added on riscv in a different version from other arches, then it needs to conditionalize it in libstdc++-v3/config/abi/pre/gnu.ver accordingly. CXXABI_1.3.14 { # typeinfo for _Float{16,32,64,128,32x,64x,128x} and # __bf16 _ZTIDF[0-9]*[_bx]; _ZTIPDF[0-9]*[_bx]; _ZTIPKDF[0-9]*[_bx]; _ZTIu6__bf16; _ZTIPu6__bf16; _ZTIPKu6__bf16; } CXXABI_1.3.13; is what it currently has, _ZTIDF[0-9]b were meant for targets with __bf16 support with the standard mangling, _ZTI*u6__bf16 with the arm mangling. So minimal change could be to _ZTIDF[0-9]*[_x]; _ZTIPDF[0-9]*[_x]; _ZTIPKDF[0-9]*[_x]; #ifndef __riscv _ZTIDF[0-9]*b; _ZTIPDF[0-9]*b; _ZTIPKDF[0-9]*b; #endif _ZTIu6__bf16; _ZTIPu6__bf16; _ZTIPKu6__bf16; and add CXXABI_1.3.16 with something in it just for riscv. Will defer details to Jon or riscv maintainers.