Skip to content

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

Open
miss-islington wants to merge 1 commit intopython:3.14from
miss-islington:backport-3a2b81e-3.14
Open

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

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 26, 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

… 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 3a2b81e919103c0be3bc60a47aaa74d34fea6e9e)

Co-authored-by: Robert Kirkman <31490854+robertkirkman@users.noreply.github.com>
@miss-islington miss-islington requested a review from FFY00 as a code owner March 26, 2026 12:27
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

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