http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36041
--- Comment #16 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #13) > I think it is a bad idea to use ifunc for such a function as most of the > time it is link against statically in most cases. g++ links to it dynamically by default. Maybe we only want ifunc for libgcc_s and not libgcc, I haven't thought about it. > Why can't you compile your code with -march=native That's what I do, but Cristian is probably compiling generic packages for a distribution > for the places where you know you are going to > compile and run directly on the same machine? so he is not in this situation.