zig icon indicating copy to clipboard operation
zig copied to clipboard

Zig build run fails on Raspberry Pi 5

Open Uthedris opened this issue 1 year ago • 2 comments

Zig Version

0.12.0-dev.2550+a65bc8d07

Steps to Reproduce and Observed Behavior

To Reproduce in Ras Pi 5:

mkdir zig-test cd zig-test zig init zig build run

zig goes through the build process and then stops with:

thread 1998 panic: reached unreachable code Panicked during a panic. Aborting. error: the following build command crashed: /home/craig/zig-test/zig-cache/o/5ab4d18f2ddd1ccfdec54cc769e36159/build /opt/zig-linux-aarch64-0.12.0-dev.2550+a65bc8d07/zig /home/craig/zig-test /home/craig/zig-test/zig-cache /home/craig/.cache/zig --seed 0x33ed21e0 run

I have also tried with zig 0.11.0 with equivalent results.

I followed exact same procedure on a Raspberry Pi 4B (with same OS version) and it worked fine.

As a side node running the code with:

zig run src/main.zig

works as expected on both platforms.

Expected Behavior

See: All your codebase are belong to us.

Uthedris avatar Feb 04 '24 22:02 Uthedris

Known issue, will be resolved once #17382 is merged.

RossComputerGuy avatar Feb 04 '24 22:02 RossComputerGuy

Perhaps dupe of #16331

Uthedris avatar Apr 25 '24 19:04 Uthedris

Dupe of #16331

andrewrk avatar Aug 15 '24 07:08 andrewrk