https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111533
--- Comment #2 from Patrick O'Neill <patrick at rivosinc dot com> --- Hi, I believe the issue is that you're using rv64gc, not rv64gcv. I haven't tried building with multilib, so my commands are: ../configure --with-arch=rv64gcv --with-abi=lp64d --enable-gcc-checking=rtl make linux -j32