https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92946
John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from John Paul Adrian Glaubitz <glaubitz at physik dot
fu-berlin.de> ---
I can confirm that the issue is introduced by the Debian patch
gcc-search-prefixed-as-ld.diff. Changing the patch as suggested in the Debian
bug report fixes the problem for me.
So it's not an upstream bug.