https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853
--- Comment #4 from Kito Cheng <kito at gcc dot gnu.org> --- Thanks your info, that cause by the default ISA spec version bump issue, binutils 2.38 and GCC 11.* using different default ISA spec cause this issue, I've push a patch to GCC 11 branch [1] for this issue, could you try this patch? thanks. See more detail for the full story about ISA spec: https://groups.google.com/a/groups.riscv.org/g/sw-dev/c/aE1ZeHHCYf4 [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9871d39f752bc9c114ed694662a519d04896f491