https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98811
--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> --- > (In reply to Rainer Orth from comment #0) >> However, when I switched to >> the freshly released GNU as 2.36 today, the error vanished everywhere. > > Which GNU as were you using before? There were some bug fixes for 2.35 which > never made it into a released version: > https://sourceware.org/pipermail/binutils/2020-November/114152.html The unmodified 2.35 release. I stick with self-compiled versions to avoid depending on distributions making their own set of changes. If the DWARF-5 support depends on specific binutils versions/patches to work, this should both be documented and detected at configure time. Having users run into such complete failure as in the Go case is a very bad user experience IMO.