Open RossComputerGuy opened 8 months ago
HEAD is 1ff513d5db65db8e212522874cc7312929cb4ee8 at time of writing
Hello! I'm also seeing the same linker message when I attempt to use zig-gamedev with latest zig to run one of the sample programs:
$ zig version
0.12.0-dev.3433+640acf862
$ uname -a # though I'm seeing this across multiple Linux machines
Linux hostname 6.3.4-201.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Sat May 27 15:08:36 UTC 2023 x86_64 GNU/Linux
$ zig build triangle_wgpu
triangle_wgpu
└─ install triangle_wgpu
└─ zig build-exe triangle_wgpu Debug native failure
error: warning(link): unexpected LLD stderr:
ld.lld: warning: /home/jcalabro/go/src/github.com/zig-gamedev/zig-gamedev/zig-cache/o/052f7e0b172d4f0be421142633a86ab2/libzdawn.a: archive member '/home/jcalabro/.cache/zig/p/12204a3519efd49ea2d7cf63b544492a3a771d37eda320f86380813376801e4cfa73/libdawn.a' is neither ET_REL nor LLVM bitcode
Here's a fork that's already updated to latest zig at time of writing.
Zig Version
0.12.0-dev.1856+3f7e799
Steps to Reproduce and Observed Behavior
Try building https://github.com/MidstallSoftware/eudev.zig to target glibc, it will fail.
Expected Behavior
This shouldn't fail this way