tags 884775 + unreproducible notabug
I suspect the original issue was caused by having a non-standard "ld" in
your $PATH - specifically, I suspect it was the guix ld-wrapper. (Or
perhaps a non-standard "cc" that in turn uses this guix ld)
The reply to your stack overflow question suggests
that GUIX_LD_WRAPPER_ALLOW_IMPURITIES=y should disable this assertion in
ld-wrapper. .. Or of course fiddling with $PATH such that you return to
using the standard Debian gcc/binutils binaries.
If any of that sounds incorrect, please reopen this bug.