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

[Bug]: arm-linux-androideabi-* It's broken #7839

Closed
Yisus7u7 opened this issue Oct 24, 2021 · 12 comments
Closed

[Bug]: arm-linux-androideabi-* It's broken #7839

Yisus7u7 opened this issue Oct 24, 2021 · 12 comments
Labels
arch-arm Issue reproducible on packages compiled for ARM. bug report Something is not working properly.

Comments

@Yisus7u7
Copy link
Contributor

Problem description

arm-linux-androideabi* is broken, can't compile any program, now when installing modules from python pip or ruby gem just doesn't work

What steps will reproduce the bug?

Screenshot_20211024-075227

Screenshot_20211024-075316

this is broken, that explains why installing things from pip and gem causes compilation error

Originally posted by @Yisus7u7 in #7788 (comment)

What is the expected behavior?

Before it worked, it generated faulty executables but compiling libraries which is the main thing that makes pip and gem worked correctly

System information

termux-info:

Application version:
0.117
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://packages.termux.org/apt/termux-main stable main
# game-repo (sources.list.d/game.list)
deb https://packages.termux.org/apt/termux-games games stable
# science-repo (sources.list.d/science.list)
deb https://packages.termux.org/apt/termux-science science stable
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/21 termux extras
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
Android version:
8.0.0
Kernel build information:
Linux localhost 3.18.71-perf-gb847930 #1 SMP PREEMPT Fri Sep 27 14:15:01 CDT 2019 armv7l Android
Device manufacturer:
motorola
Device model:
moto e5 cruise
@Yisus7u7 Yisus7u7 added the bug report Something is not working properly. label Oct 24, 2021
@Grimler91 Grimler91 added the arch-arm Issue reproducible on packages compiled for ARM. label Oct 24, 2021
@thunder-coding
Copy link
Member

thunder-coding commented Oct 24, 2021

Any chance this is related to #7232?

EDIT: Sorry for wrong issue mention, just fixed

@Yisus7u7
Copy link
Contributor Author

Any chance this is related to #7232?

EDIT: Sorry for wrong issue mention, just fixed

That problem is about a linking error.

This problem is that it is simply broken and does not compile anything.

@Grimler91
Copy link
Member

Grimler91 commented Oct 24, 2021

If anything I guess it is related to this old issue: #3092

Not really though, this looks more like an issue with the ndk headers for arm.

@Grimler91
Copy link
Member

Ah, based on android/ndk#1411 it seem to be same issue as #7232

@Yisus7u7
Copy link
Contributor Author

Based on what I read, it should be used

armv7a-linux-androideabi

And don't use arm-linux-androideabi

@Yisus7u7
Copy link
Contributor Author

Yisus7u7 commented Oct 24, 2021

Screenshot_20211024-095335

Screenshot_20211024-095417

Effectively you have to use armv7a, everything works again as it was before.

@Yisus7u7
Copy link
Contributor Author

@Grimler91

Screenshot_20211024-111736

Screenshot_20211024-111846

Resolved, now it should not be identified as arm, but as armv7a

Rename arm to armv7a and everything went back to working as before

@Grimler91
Copy link
Member

@Yisus7u7 doesn't your last screenshot show that it didn't work for armv7a-linux-androideabi-clang++ either?

@Yisus7u7
Copy link
Contributor Author

@Yisus7u7 doesn't your last screenshot show that it didn't work for armv7a-linux-androideabi-clang++ either?

If it worked, The one that doesn't work is arm, which can't compile

Everything is solved by changing arm -> armv7a

@Yisus7u7
Copy link
Contributor Author

Yisus7u7 commented Oct 24, 2021

I renamed everything from arm-linux-androideabi to armv7a-linux-androideabi.

It works well.

@thunder-coding
Copy link
Member

thunder-coding commented Oct 24, 2021

I renamed everything from arm-linux-androideabi to armv7a-linux-androideabi.

It works well.

If it's fixed by renaming the target, then it's surely related to #7232, as said by @Grimler91 in #7839 (comment)

You should close this now

@enh-google
Copy link

I renamed everything from arm-linux-androideabi to armv7a-linux-androideabi.

yeah, the NDK no longer supports armv5 (which is what arm-linux-androideabi was). you should move to armv7a.

Grimler91 added a commit that referenced this issue Oct 26, 2021
This is the same wrapper as what the ndk uses for selecting api level.

This fixes #7232 and
#7839.
Grimler91 added a commit that referenced this issue Oct 26, 2021
This is the same wrapper as what the ndk uses for selecting api level.

This fixes #7232 and
#7839.
metayan pushed a commit to metayan/termux-packages that referenced this issue Nov 28, 2021
This is the same wrapper as what the ndk uses for selecting api level.

This fixes termux#7232 and
termux#7839.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm Issue reproducible on packages compiled for ARM. bug report Something is not working properly.
Projects
None yet
Development

No branches or pull requests

4 participants