https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889
John Doe <bau2wux4sh at pkv73 dot anonbox.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #15 from John Doe <bau2wux4sh at pkv73 dot anonbox.net> --- Alpine now includes a patch which forces use of ../lib by modifying both the gcc/config/riscv/t-linux as well as gcc/config/riscv/linux.h (to change the startfile_prefix_spec to not use lib64/lib32): https://git.alpinelinux.org/aports/diff/main/gcc/0029-riscv-disable-multilib-support.patch?id=0c4c5e44502735414688a35200af9b14f3f5f4a2 I can confirm that this patch also fixes gccgo on musl targets. Therefore, this is not gccgo-specific issue but rather a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90077 *** This bug has been marked as a duplicate of bug 90077 ***