-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
arch-x86_6464-bit x8664-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinkingos-freebsdFreeBSDFreeBSD
Milestone
Description
Zig Version
0.15.1
Steps to Reproduce and Observed Behavior
On FreeBSD/amd64 -CURRENT,
$ zig build-exe index.zig -fllvm -flld
Works fine, however a simple:
$ zig build-exe index.zig
Errors out with:
error: not an ELF file
note: while parsing /usr/lib/libc_nonshared.a
I've tried both a self-compiled Zig and the precompiled Zig from the downloads page.
Expected Behavior
The executable get linked without the error message
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch-x86_6464-bit x8664-bit x86bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinkingos-freebsdFreeBSDFreeBSD