-
Notifications
You must be signed in to change notification settings - Fork 109
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
Update RISCV64 image #854
Update RISCV64 image #854
Conversation
- Remove lld-15 due to libcoreclr.so link error - Install binutils-riscv64-linux-gnu
|
Yes, the build is blocked by #855. |
@clamp03, do you see that reloc error with lld-16? If not, then IMO, change 15 to 16 on this line
|
I already tested with 16. And it has same error. |
Here is the PR fixing the linker error dotnet/runtime#83682. |
@am11 Thank you. If you successfully built the runtime with dotnet/runtime#83682, could you please let me know how to? |
We now get a preemptive symbol error explained in https://maskray.me/blog/2021-01-09-copy-relocations-canonical-plt-entries-and-protected. I have pushed another commit which explicitly specifies the visibility. This command succeeds when I apply the current dotnet/runtime#83682 on $ docker run --rm -v$(pwd):/runtime -e ROOTFS_DIR=/crossrootfs/riscv64 \
mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-cross-riscv64-20230420175531-3fc5553 \
/runtime/build.sh clr -cross -a riscv64 |
@am11 Wow. It works well!! Thanks for the link and the patch. |
Remove lld-15 due to libcoreclr.so link error