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 without installing binutils. |
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