Fix go example on aarch64 linux
Open
Nobody has claimed this yet.
medium priority
- Dominant language
- Shell
- Stars
- 46
- Forks
- 19
- Avg merge
- 13h 38m
- Merged PRs (30d)
- 19
Description
+ ./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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GoPlatform example and reproduce the listed build sequence on aarch64 Linux. Inspect the generated files under examples/GoPlatform/platform, especially the expected linux-arm64 artifacts, and verify that the final roc build command completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100