https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96362
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is documented on https://gcc.gnu.org/install/configure.html too: Confusion may also result if the compiler finds the GNU assembler but has not been configured with --with-gnu-as. ... The following systems are the only ones where it makes a difference whether you use the GNU assembler. On any other system, --with-gnu-as has no effect. ‘hppa1.0-any-any’ ‘hppa1.1-any-any’ ‘sparc-sun-solaris2.any’ ‘sparc64-any-solaris2.any’