examples icon indicating copy to clipboard operation
examples copied to clipboard

Fix go example on aarch64 linux

Open Anton-4 opened this issue 9 months ago • 0 comments

 + ./roc_nightly/roc build --lib ./examples/GoPlatform/main.roc --output examples/GoPlatform/platform/libapp.so
0 errors and 0 warnings found in 110 ms while successfully building:

    examples/GoPlatform/platform/libapp.so
+ go build -C examples/GoPlatform/platform -buildmode=pie -o dynhost
+ ./roc_nightly/roc preprocess-host ./examples/GoPlatform/platform/dynhost ./examples/GoPlatform/platform/main.roc ./examples/GoPlatform/platform/libapp.so
+ ./roc_nightly/roc build ./examples/GoPlatform/main.roc
Legacy linking failed: Failed to find any legacy linking files; I need one of these three paths to exist:
    ./examples/GoPlatform/platform/linux-arm64.a
    ./examples/GoPlatform/platform/linux-arm64.o
    ./examples/GoPlatform/platform/libhost.a

Anton-4 avatar Mar 15 '25 17:03 Anton-4