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

Android: Unknown processor CMAKE_SYSTEM_PROCESSOR=arm #175

Closed
MarginGitHub opened this issue Dec 28, 2022 · 1 comment · Fixed by #186
Closed

Android: Unknown processor CMAKE_SYSTEM_PROCESSOR=arm #175

MarginGitHub opened this issue Dec 28, 2022 · 1 comment · Fixed by #186

Comments

@MarginGitHub
Copy link

When this happens,CMAKE_SYSTEM_PROCESSOR should be armv7-a,not arm

fredszaq added a commit to fredszaq/cmake-rs that referenced this issue Oct 3, 2023
This fixes the following cmake errors

```
Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='x86'.
```
and

```
Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='arm'.
```

when crosscompiling for `i686-linux-android` and `armv7-linux-androideabi`
 android targets

fixes rust-lang#175
fredszaq added a commit to fredszaq/cmake-rs that referenced this issue Oct 3, 2023
This fixes the following cmake errors

```
Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='x86'.
```
and

```
Android: Unknown processor CMAKE_SYSTEM_PROCESSOR='arm'.
```

when crosscompiling for `i686-linux-android` and `armv7-linux-androideabi`
 android targets

fixes rust-lang#175
@adwhit
Copy link

adwhit commented Aug 6, 2024

For anyone arriving here after trying to upgrade to NDK v27, I think there is now a separate issue that has surfaced that gives a similar error. The root cause is actually the ABI values not being set at all within cmake due to a change in configuration. See: android/ndk#2049

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 a pull request may close this issue.

2 participants