Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delve Failed to build in RISC-V architecture #3437

Closed
mstsky115 opened this issue Jul 9, 2023 · 5 comments
Closed

delve Failed to build in RISC-V architecture #3437

mstsky115 opened this issue Jul 9, 2023 · 5 comments

Comments

@mstsky115
Copy link

[ 144s] + go build -mod=vendor -buildmode=pie -o dlv ./cmd/dlv
[ 145s] service/debugger/debugger.go:32:2: found packages native (dump_linux.go) and your_linux_architecture_is_not_supported_by_delve (support_sentinel_linux.go) in /home/abuild/rpmbuild/BUILD/delve-1.21.0/pkg/proc/native
[ 145s] error: Bad exit status from /var/tmp/rpm-tmp.2bO3nb (%build)

@aarzilli
Copy link
Member

aarzilli commented Jul 9, 2023

RISC-V is not supported.

@aarzilli aarzilli closed this as completed Jul 9, 2023
@mstsky115
Copy link
Author

不支持 RISC-V。

Are there many things that need to be changed if riscv is to be supported, such as what?

@aarzilli
Copy link
Member

aarzilli commented Jul 9, 2023

A backend for RISC-V needs to be written. For example this is the commit adding ppc64 support: 71f1220.

@mstsky115
Copy link
Author

A backend for RISC-V needs to be written. For example this is the commit adding ppc64 support: 71f1220.

Wow, that's a lot. I thought if it was less, I could try it. It looks a lot now. I don't think I'm good at it. Then may I ask when you plan to support riscv?

@lrzlin
Copy link

lrzlin commented Jul 24, 2024

@mstsky115 Hi, there is an initial RISC-V support if you still needed: delve: add linux-riscv64 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants