https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535
--- Comment #1 from Andreas Tobler <andreast at gcc dot gnu.org> --- Here a native build seems to succeed, right now in stage three with sources from today. [tritium:head/objdir/gcc] andreast% grep -i fbsd_major * Makefile:tm_defines= LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 FBSD_MAJOR=11 config.log:tm_defines=' LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 FBSD_MAJOR=11' config.status:S["tm_defines"]=" LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 FBSD_MAJOR=11" tm.h:#ifndef FBSD_MAJOR tm.h:# define FBSD_MAJOR 11 FBSD_MAJOR is defined during configure time: config.gcc:line 666 fbsd_major=`echo ${target} | sed -e 's/.*freebsd//g' | sed -e 's/\..*//g'` tm_defines="${tm_defines} FBSD_MAJOR=${fbsd_major}" Can you give me some details about your setup/build?