https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95712
--- Comment #15 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This should have caught it: case "$have_compiler:$host:$target:$enable_bootstrap" in *:*:*:no) ;; # Default behavior. Enable bootstrap if we have a compiler # and we are in a native configuration. yes:$build:$build:default) enable_bootstrap=yes ;; *:*:*:default) enable_bootstrap=no ;; # We have a compiler and we are in a native configuration, bootstrap is ok yes:$build:$build:yes) ;; # Other configurations, but we have a compiler. Assume the user knows # what he's doing. yes:*:*:yes) AC_MSG_WARN([trying to bootstrap a cross compiler]) ;; # No compiler: if they passed --enable-bootstrap explicitly, fail no:*:*:yes) AC_MSG_ERROR([cannot bootstrap without a compiler]) ;; # Fail if wrong command line *) AC_MSG_ERROR([invalid option for --enable-bootstrap]) ;; esac It does seem like buildroot does the incorrect thing if the target and the build/host are the same arch. THIS IS a buildroot issue and not a GCC issue.