Skip to content

[3.13] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617)#146539

Open
mhsmith wants to merge 1 commit intopython:3.13from
mhsmith:backport-3a2b81e-3.13
Open

[3.13] gh-145616: Detect Android sysconfig ABI correctly on 32-bit ARM Android on 64-bit ARM kernel (GH-145617)#146539
mhsmith wants to merge 1 commit intopython:3.13from
mhsmith:backport-3a2b81e-3.13

Conversation

@mhsmith
Copy link
Copy Markdown
Member

@mhsmith mhsmith commented Mar 28, 2026

When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, os.uname().machine is armv8l. Such devices run the same userspace code as armv7l devices, so apply the same armeabi_v7a Android ABI to them, which works.
(cherry picked from commit 3a2b81e)

Co-authored-by: Robert Kirkman 31490854+robertkirkman@users.noreply.github.com

…bit ARM Android on 64-bit ARM kernel (pythonGH-145617)

When Python is running on 32-bit ARM Android on a 64-bit ARM kernel, `os.uname().machine` is `armv8l`. Such devices run the same userspace code as `armv7l` devices, so apply the same `armeabi_v7a` Android ABI to them, which works.
(cherry picked from commit 3a2b81e)

Co-authored-by: Robert Kirkman <31490854+robertkirkman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants