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

fix(main/zig): fix missing dynamic linker and libc runtime #22442

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbekkomo
Copy link
Contributor

@mbekkomo mbekkomo commented Dec 2, 2024

Closes #20294

Zig uses FHS-type path to guess the ABI and dynamic linker of env binary. That leads to a warning like in #20294

@mbekkomo mbekkomo force-pushed the fix-installation-zig branch 2 times, most recently from 11a4604 to e0000bb Compare December 2, 2024 20:36
@mbekkomo
Copy link
Contributor Author

mbekkomo commented Dec 2, 2024

Related ziglang/zig#14146

@mbekkomo
Copy link
Contributor Author

mbekkomo commented Dec 2, 2024

Might also need to resolve LibCRuntimeNotFound compilation error.

@mbekkomo mbekkomo force-pushed the fix-installation-zig branch 3 times, most recently from 861427c to f9e6b12 Compare December 3, 2024 11:22
@mbekkomo mbekkomo changed the title fix(main/zig): fix warning missing ABI and dynamic linker fix(main/zig): fix missing dynamic linker and libc runtime Dec 3, 2024
Closes termux#20294

Zig uses FHS-type path to guess the dynamic linker of `env` binary. That leads to a warning like in termux#20294
Zig also tries to find the include dir via `clang`, but it failed. I have no idea why.
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

Successfully merging this pull request may close these issues.

Zig build "warning: Encountered error: FileNotFound"
1 participant