https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90419
--- Comment #6 from Jim Wilson <wilson at gcc dot gnu.org> --- Comment on attachment 46379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46379 patch: disable 32bit riscv abis in gcc multilib You are missing the g aliases. And you still have 32-bit dirnames. We have a generator script that is used to generate this file. It gives the command line at the top. You can just rerun this without the 32-bit arches and abis. Try rynning: ./multilib-generator rv64imac-lp64-rv64ima,rv64imaf,rv64imafd,rv64imafc,rv64imafdc- rv64imafdc-lp64d-rv64imafd- that should be on a single line. Then pipe that into a file to use.