Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805215 - sys-devel/gdb: "error reading variable: dwarf2_find_location_expression: Corrupted DWARF expression." on riscv
Summary: sys-devel/gdb: "error reading variable: dwarf2_find_location_expression: Corr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/git/?p=binutil...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-30 12:28 UTC by Marek Szuba (RETIRED)
Modified: 2021-07-30 16:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba (RETIRED) archtester gentoo-dev 2021-07-30 12:28:26 UTC
Problem known upstream, the solution has already been merged into their Git master.
Comment 1 Larry the Git Cow gentoo-dev 2021-07-30 15:25:51 UTC
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(+)
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-07-30 15:26:49 UTC
Sounds reasonable. Is it enough to get gdb-10.2-r1 running on riscv?

Thank you!
Comment 3 Marek Szuba (RETIRED) archtester gentoo-dev 2021-07-30 16:44:28 UTC
Works for me, thanks!