Closed rdolbeau closed 3 years ago
Everything builds for me, but this is because I'm building binutils from a binutils branch and gdb from a gdb branch, and the B support is not on the gdb branch. If I try to build gdb from the binutils branch it fails. Note that in general building gdb from a binutils release branch is not recommended and not supported. But this is a bug that will show up when the code is upstreamed or copied to the gdb branch and does need to be fixed. I will take care of this.
This should be fixed in the branch riscv-binutils-2.35-rvb
https://github.com/riscv/riscv-binutils-gdb/commit/d190acd1c264407beba39cb78c286fb35ab641e4, so I close this issue, thanks.
Hello,
Trying to compile the branch
riscv-binutils-2.35-rvb
(with support of the B extension) as part of the riscv-bitmanip repo, the build fails on the.
(dot) inxperm.[nbhw]
in the first parameter of theDECLARE_INSN
macros inside the fileinclude/opcode/riscv-opc.h
.Replacing the
.
by a_
in all four macros (as other instructions seem to do):solve the compilation issue. Is that a proper fix, or should it be able to compile as-is?