https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77894
--- Comment #2 from Florian Weimer <fw at gcc dot gnu.org> --- (In reply to nsz from comment #1) > the ifunc abi still has many problems and i don't think it's possible to > detect > dynamic linker support for cross compilation so if it is enabled do it only > if > the default libc is glibc (e.g. on linux musl, bionic and uclibc does not > plan to implement it). Will GCC generate IFUNCs although the attribute is never used? If it is harmless to enable it, I'd suggest to do so unconditionally, so that people can cross-build glibc on any Linux system using the system compiler.