Problem known upstream, the solution has already been merged into their Git master.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da814d23d8c572f796fff850235402bf95d1d7aa commit da814d23d8c572f796fff850235402bf95d1d7aa Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-30 15:25:23 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-30 15:25:49 +0000 sys-devel/gdb: backport DW_LLE_start_end fix (for riscv64) Reported-by: Marek Szuba Closes: https://bugs.gentoo.org/805215 Bug: https://sourceware.org/PR27999 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gdb/files/gdb-10.2-DW_LLE-riscv64.patch | 41 ++++ sys-devel/gdb/gdb-10.2-r1.ebuild | 261 ++++++++++++++++++++++ 2 files changed, 302 insertions(+)
Sounds reasonable. Is it enough to get gdb-10.2-r1 running on riscv? Thank you!
Works for me, thanks!