Skip to content

x86_64 prebuilt (musl relinterp/py3-cmd) fails on aarch64 Ubuntu under OrbStack: "AT_BASE not found in aux vector" #2317

@celerybeef

Description

@celerybeef

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-cmd is an x86-64 ELF (prebuilt under linux_musl-x86/)
  • Looks like x86_64 execution/emulation under aarch64 is providing an incomplete aux vector (missing AT_BASE), causing relinterp to abort.

To Reproduce

Steps to reproduce

  1. Start Ubuntu under OrbStack on Apple Silicon (aarch64 guest).
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    t/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions