https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91970
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Thiago Jung Bauermann from comment #14) > This came up in the context of a Linux kernel patch series providing a > "Unified cross-architecture kernel-mode FPU API" because the AMD GPU driver > fails to build on arm with the series applied because of this issue: > > https://lore.kernel.org/linux-arm-kernel/75a37a4b-f516-40a3-b6b5- > 4aa1636f9...@sifive.com/ That is a totally unrelated issue from this one. The issue there is arm EABI defines the function names rather than GCC and GCC follows the ARM EABI here (so does clang/LLVM). so you would need to do a similar renaming for the functions on arm (32bit).