https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89858
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID --- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> --- So you compiled gmp for a different CPU. IIRC it auto-detects that based on the host you compile on unless you use --enable-fat. Please refer to the GMP installation instructions for details. Not a GCC bug.