Skip to content
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

Error on x86_64-linux-gnu native #169

Closed
prfiredragon opened this issue May 5, 2024 · 1 comment
Closed

Error on x86_64-linux-gnu native #169

prfiredragon opened this issue May 5, 2024 · 1 comment

Comments

@prfiredragon
Copy link

First of all my Linux is custom. The directories /lib and /usr does not exist. I think for the information that i have found that Zig has issues finding the crt1.o. I have tried to modify the constants /lib /usr and others on the program but No luck at the moment. I don't know if exist a parameter to specify in the bootstrap where are this files . I have tried the libc.txt but don't work or I am not doing it well.

If i can pass the arguments like with the other compilers to where are the files needed and some one can direct me to them i will appreciate it.

this is on of the many errors.

install
└─ install generated to doc/langref.html
└─ run docgen (langref.html)
└─ WriteFile null.out
└─ run doctest (test_inline_for.out) stderr
warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.
steps [284/286] zig build-exe zig ReleaseFast native-linux-gnu... LLVM Emit Object...

@alexrp
Copy link
Member

alexrp commented Aug 22, 2024

If you're using a custom Linux, there is only so much we can do on our end, and there is really not much information to go on here.

My best guess is that it's failing to find /usr/bin/env, or perhaps failing to find the dynamic linker at the expected/standard path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants