https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93049 --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> --- Make sure you have sysroot properly set up so that the gcc Makefile finds the system limits.h.