https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64779
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- configure.host has i?86-*-freebsd* | i?86-*-openbsd*) TARGET=X86_FREEBSD; TARGETDIR=x86 ;; and configure.ac has if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then ... It is a mismatch.