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
Pakage request: GNU libc #2798
Comments
@zaoqi It is very unlikely that we will switch Termux to use GNU libc instead of Bionic. If you really need GNU libc, I suggest you to try this: https://github.com/Neo-Oli/termux-ubuntu, or any other way installing linux distribution into chroot (or proot) environment. Just interesting, which features you are expecting from GNU libc in Termux ? |
Or even install a linux distro into chroot/proot and bind termux's dir, then manually build glibc into termux |
This comment was marked as spam.
This comment was marked as spam.
@xeffyr why is this? I'm not arguing it should be, just interested in what the reasoning is. Wouldn't using glibc enable most existing pre-built aarch64 binaries to work in Termux? What's the downside? |
I found this:
https://wiki.termux.com/wiki/Differences_from_Linux What makes maintaining an apt repo with patched binaries for Bionic easier than a custom toolchain? |
Bionic has differences in system calls, it's designed specifically for Android. Running Glibc linked programs won't work because of the system calls that Android has. |
@RossComputerGuy so how are glibc linked binaries able to work in a prooted environment? |
Because proot is able to intercept the system calls. https://wiki.termux.com/wiki/PRoot |
Ah, got it. Thanks! |
Note: the glibc package and packages that are based on the glibc library are already available in Termux, read more - https://www.reddit.com/r/termux/s/BKOnayd3kB |
No description provided.
The text was updated successfully, but these errors were encountered: