这是indexloc提供的服务,不要输入任何密码
Skip to content

Unset LD_PRELOAD when ELF e_machine doesn't match. #17

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

Merged
merged 2 commits into from
Feb 7, 2021

Conversation

easyaspi314
Copy link
Contributor

Fixes the infamous "CANNOT LINK EXECUTABLE" bug when executing dynamic 32-bit programs on 64-bit.

Fixes the long-standing "CANNOT LINK EXECUTABLE" bug when executing
dynamic 32-bit programs on 64-bit.
@easyaspi314
Copy link
Contributor Author

easyaspi314 commented Feb 3, 2021

This still doesn't fix qemu-arm, though. But I am less worried about that because it is kind of silly to use qemu-arm on a device that natively supports ARM code.

@Grimler91
Copy link
Member

Everything seem to work when I test this, I'll go ahead and merge it, thanks!

@Grimler91 Grimler91 merged commit 0cd0e39 into termux:master Feb 7, 2021
@landfillbaby
Copy link
Member

oh wow, i remember i was trying to fix this a few years ago lol. thanks

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.

3 participants