-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zig targets, error: unable to read libc/glibc/abilists: Unexpected #21624
Comments
I can't reproduce this. How did you obtain the zig binary? If you do a git pull you have to rerun make/ninja. |
Sorry, I I forgot to mention the system version. linux os:
|
unplanned milestone while we wait for an answer to the question |
I didn't describe it clearly.
|
Thank you, you have now answered the question, but I still cannot reproduce the problem. |
@jimying |
|
That's quite an old kernel (from 2013). Zig currently formally requires 4.19 (2018) or later for the standard library abstractions (and by extension the compiler) to work. The specific problem in this case is that your kernel lacks |
zig 0.13 works fine, maybe not this reason? |
The switch to But do note that even Zig 0.13.0 strictly speaking required 4.19+. We just didn't take advantage of that fact at the time. |
Zig Version
0.14.0-dev.1816+20e03beae
Steps to Reproduce and Observed Behavior
run
zig targets
, get error :also, i test build simple hello.c,
zig cc -target x86_64-linux-gnu hello.c
orzig cc -target x86_64-linux-musl hello.c
, get error:Expected Behavior
no error
The text was updated successfully, but these errors were encountered: