https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92946
--- Comment #1 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- Michael Karcher has figured out that this might be a bug in Debian's gcc-9, in particular the patch https://sources.debian.org/src/gcc-9/9.2.1-21/debian/patches/gcc-search-prefixed-as-ld.diff. CC'ing Matthias Klose.