-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
undefined symbol: fcntl@GLIBC_2.2.5 when compile for armv7 #16002
Comments
armv7-linux-gnueabihf Are you sure this is the correct target? Zig uses arm-linux for this I think. |
yeah, I use cargo-zigbuild to call zig, and it can set target to arm-linux correctly |
yeah, I noticed it too. However, even if I set target to arm-linux-gnueabihf.2.24, it's compiled failed either |
I do some investigating. I found that |
Are you still able to reproduce this with 0.13.0 or a master build? |
Zig Version
0.9.1
Steps to Reproduce and Observed Behavior
Sorry, I'm new to zig. If I'm wrong, please let me know.
I'm trying use zig cc to compile rocksdb (actually I compile rust-rocksdb ) for armv7-linux-gnueabihf.
zig 0.10.1 can not compile for armv7 with multiple thread, and according to #6573 , 0.9.1 can do it.
So I use zig 0.9.1, and I get this when linking. It really confused me
Does it mean that I can't compile it for arm anyway? Or Is there something special flags I need to pass in?
Expected Behavior
//
The text was updated successfully, but these errors were encountered: