https://sourceware.org/bugzilla/show_bug.cgi?id=28372
--- Comment #1 from Cooper Qu <cooper.qu at linux dot alibaba.com> --- I think the problem is the assembler cannot identify whether the 'p' represents a extension or a version number. So it's not a bug and the option should be written as: -march=rv64imac_p9p3 But there is a bug when I specify a default version for p extension in riscv_supported_std_ext[](elfxx-riscv.c). Then, if I assemble with -march=rv32imacp, the attribute is: Attribute Section: riscv File Attributes Tag_RISCV_arch: "rv64i2p0_m2p0_a2p0_c0p0_p0p9" -- You are receiving this mail because: You are on the CC list for the bug.