[Bug target/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V due to musl not using multilib but still uses t-linux

bau2wux4sh at pkv73 dot anonbox.net gcc-bugzilla@gcc.gnu.org
Sun Jan 2 14:01:14 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889

--- Comment #11 from John Doe <bau2wux4sh at pkv73 dot anonbox.net> ---
(In reply to Andrew Pinski from comment #10)
> Well RISCV port is new enough that nobody has tested --disable-multilib and
> put things in /lib/ really. Really there should be a
> gcc/config/riscv/t-linux-musl which does no do any of the multilib stuff and
> that should be used for musl only.

Right, but I assume this problem should also exist on glibc systems which only
have /lib/ instead of /lib64/ then. So apart from adding a
gcc/config/riscv/t-linux-musl file in the future, the existing
gcc/config/riscv/t-linux should also be fixed IMHO :)


More information about the Gcc-bugs mailing list