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

Linux riscv64 build #187

Open
VISTALL opened this issue Mar 23, 2025 · 6 comments
Open

Linux riscv64 build #187

VISTALL opened this issue Mar 23, 2025 · 6 comments

Comments

@VISTALL
Copy link

VISTALL commented Mar 23, 2025

Hello - I want test it at riscv64 platform, but there no builds for it.

Also tried to build by my self, but there no binary of dbgshim. But it sends to https://github.com/dotnet/diagnostics but there no builds of it too.

Also not understand how builds native of dbgshim (its build only managed binaries).

It's possible share riscv64 builds of netcoredbg?

Thanks

@viewizard
Copy link
Member

I want test it at riscv64 platform, but there no builds for it.

We don't provide riscv64 debugger for now, since runtime itself (that also mean debug API related parts) still in development for now for riscv64.

Also tried to build by my self, but there no binary of dbgshim. But it sends to https://github.com/dotnet/diagnostics but there no builds of it too.

You should directly provide DBGSHIM_DIR (cmake ..... -DDBGSHIM_DIR=/path) that should point on folder with dbgshim.so for riscv64. Note, this also prevent dbgshim nuget package download (that Microsoft don't provide for riscv64 now for sure).

Also not understand how builds native of dbgshim (its build only managed binaries).

Last time we did cross build with build.sh from diagnostics root folder. Note, you will need riscv64 rootfs for cross build.

It's possible share riscv64 builds of netcoredbg?

You could try binaries from Tizen package form here - http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/latest/repos/standard/packages/riscv64/netcoredbg-3.1.2-1.riscv64.rpm

@VISTALL
Copy link
Author

VISTALL commented Mar 23, 2025

Tried but no luck. But looks like its distro problem. Will try to fix it

Image

Last time we did cross build with build.sh from diagnostics root folder. Note, you will need riscv64 rootfs for cross build.
Yeah I saw some issues/patches from you (company)

that Microsoft don't provide for riscv64 now for sure
Yeah

Last time we did cross build with build.sh from diagnostics root folder. Note, you will need riscv64 rootfs for cross build.

Tried. I build it on arm64 - but anyway can't find dbgshim.so. Bot fully understand how they build - there CMake files, which not called from sh (if not made mistake)

Thanks

@viewizard
Copy link
Member

viewizard commented Mar 23, 2025

Tried but no luck. But looks like its distro problem. Will try to fix it

libdlog.so is part of Tizen OS (internal log system), you probably can't use netcoredbg binary (unless you copy dlog related binaries from http://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Unified/latest/repos/standard/packages/riscv64/), but libdbgshim.so should work for you.

@VISTALL
Copy link
Author

VISTALL commented Mar 23, 2025

Thanks. Yeah, there no dbgshim inside netcoredbg rpm. Thanks for rpm of dbgshim - will check tomorrow

@VISTALL
Copy link
Author

VISTALL commented Mar 24, 2025

Thanks for dbgshim binary. I built netcoredbg, and debugger successfully paused inside IDE

Image

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

2 participants