https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97798
--- Comment #14 from jozefl at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #13) > I tried a bootstrap of gcc-10 and I get this error during libgcc/configure > > conftest.s: Assembler messages: > conftest.s:168: Error: unknown pseudo-op: `.mspabi_attribute' > conftest.s:169: Error: unknown pseudo-op: `.mspabi_attribute' > conftest.s:170: Error: unknown pseudo-op: `.mspabi_attribute' > > This is using the same binutils that I used to successfully bootstrap trunk: > > GNU assembler (GNU Binutils) 2.32.51.20190613 > Copyright (C) 2019 Free Software Foundation, Inc. > This program is free software; you may redistribute it under the terms of > the GNU General Public License version 3 or later. > This program has absolutely no warranty. > This assembler was configured for a target of `msp430-elf'. .mspabi_attribute was only supported since Binutils 2.34. Until GCC commit b75863a88ec, the preprocessor conditional that tries to switch off .mspabi_attribute emission wasn't implemented correctly, and didn't switch it off. The conftest was also wrong, and always fails for an out of tree Binutils. So if you're using an out of tree Binutils version < 2.34, the conftest fails, but GCC will still generate the assembler directive that is unsupoprted. An in-tree Binutils < 2.34 or >= 2.34 always works fine. I should really backport this fix to GCC 10.