-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Describe the bug
What went wrong?
I'm building Android 16 Linux 6.12 (GKI/common) inside an Ubuntu environment running under OrbStack on Apple Silicon.
During the build, a prebuilt tool fails immediately:
/root/android/android16-6.12/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd
Error:
relinterp: /root/android/android16-6.12/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd: fatal error: AT_BASE not found in aux vector
This blocks the kernel build before compilation.
Observations:
- Guest architecture is aarch64
py3-cmdis an x86-64 ELF (prebuilt underlinux_musl-x86/)- Looks like x86_64 execution/emulation under aarch64 is providing an incomplete aux vector (missing AT_BASE), causing
relinterpto abort.
To Reproduce
Steps to reproduce
- Start Ubuntu under OrbStack on Apple Silicon (aarch64 guest).
- Verify architecture:
uname -m
Check the failing binary:
file /root/android/android16-6.12/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd
Run it directly (or run the build script that triggers it):
/root/android/android16-6.12/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd --help
Observe the error: AT_BASE not found in aux vector.
Expected behavior
No response
Diagnostic report (REQUIRED)
No response
Screenshots and additional context (optional)
Logs / evidence
Guest arch:
$ uname -m
aarch64
$ file /root/android/android16-6.12/prebuilts/build-tools/linux_musl-x86/bin/py3-cmd
ELF 64-bit LSB pie executable, x86-64, dynamically linked, stripped
Error:
relinterp: .../py3-cmd: fatal error: AT_BASE not found in aux vector
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
uname -a:
Linux ubuntu 6.17.8-orbstack-00308-g8f9c941121b1 #1 SMP PREEMPT Thu Nov 20 09:34:02 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux