https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Also there is much support we can do on modified sources really. But I didn't see any patches which would have modified this part. I suspect there is some funny multilib/non-multilib going on with RISCV port really. It might make sense to actually have some real non-multilib MUSL support so you don't need to do --disable-multilib which I think is recorded in general in PR 90077. Each musl target should have its own t-* file which unsets the MULTI* make variables.