https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92680
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build Status|UNCONFIRMED |NEW Last reconfirmed| |2019-11-27 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think that's known and was fixed upstream, but the easiest option is to pass -fno-lto to stage2+ mpfr configure via the host_module config (need to figure what environment to set exactly and/or invent extra vars honored by bootstrap) We carry locally in our package diff --git a/configure b/configure index 6581c68..a82593c 100755 --- a/configure +++ b/configure @@ -16158,7 +16158,7 @@ foo_t foo = { }; EOF - mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1" + mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c -fno-lto >&5 2>&1" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mpfr_compile\""; } >&5 (eval $mpfr_compile) 2>&5 ac_status=$?