https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408
--- Comment #4 from gagan sidhu (broly) <broly at mac dot com> --- well, i can give the final pass since it's a bit generic: AR=ar LDFLAGS="-Wl,-rpath,/cross/lib" \ ../gcc-14.1.0/configure --prefix=/cross \ --target=mips64el-none-linux-gnu --build=x86_64-apple-darwin17 --host=x86_64-apple-darwin17 --enable-shared \ --disable-static --enable-frame-pointer --enable-languages=c,c++,objc,fortran --with-native-system-header-dir=/tools/include --with-glibc-version=2.38 \ --with-mpc=/cross --with-mpfr=/cross --with-gmp=/cross --with-isl=/cross i highly doubt it's related to mpc, mpfr, gmp or isl.