https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Are you configuring gcc against binutils 2.30+ and then assembling stuff with older binutils? You can always use -gno-as-locview-support even in that case, but the general assumption is if you configure against some gas/ld version then you use that or newer version when using the compiler.