termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.14k stars 3.02k forks source link

Support for 16 KB page size on Android 15+ #21688

Open JunkFood02 opened 1 week ago

JunkFood02 commented 1 week ago

Problem description

Termux app itself and most termux packages haven't support support 16 KB page size yet

What steps will reproduce the bug?

Running Termux on Google APIs Experimental 16k Page Size ARM 64 v8a System Image https://developer.android.com/guide/practices/page-sizes#16kb-emulator

Or verify the ELF sections of any .so libraries in the apk or executables in the packages with the script below: https://developer.android.com/guide/practices/page-sizes#test

What is the expected behavior?

No response

System information

No applicable
JunkFood02 commented 1 week ago

Note: I'm raising this issue simply because it hasn't been brought up yet. This doesn't necessarily mean it's a high priority or that it's currently impacting any end-users. We can use this thread to discuss the potential impact of this change and any plans moving forward

This issue on termux-app:

truboxl commented 1 week ago

Just wait for #21628

Biswa96 commented 4 days ago

Q. If Android is built with 16KB page size, does that mean all termux packages must be recompiled with 16 KB page support?

JunkFood02 commented 4 days ago

Q. If Android is built with 16KB page size, does that mean all termux packages must be recompiled with 16 KB page support?

Yes.

But considering the massive impact of this change and the amount of legacy code in the entire ecosystem, this process may take longer than the transition from 'Google Play requiring 64-bit' to the 'launch of the first arm64-only phone (Pixel 7)'