https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111605
--- Comment #12 from Rui Ueyama <rui314 at gmail dot com> --- > Hmm, if you configure the cross target with --with-ld=ld.mold does that then > work (when not specifying -fuse-ld=mold)? Sorry, I don't know, but in either case, that wouldn't solve the user-facing problem when `-fuse-ld=mold` is explicitly passed. > I suppose we could adjust how the driver(?) behaves, noting whether the linker > is multi-arch or not and at least allowing as fallback to use the "host" > specified linker. Yes, please :)