aether icon indicating copy to clipboard operation
aether copied to clipboard

v4.33.0 Linux binaries require x86-64-v3 and fail on pre-Haswell CPUs

Open kavt-ara opened this issue 1 week ago • 0 comments

Summary

The Aether 4.33.0 Linux amd64 artifacts require the x86-64-v3 ISA baseline. On CPUs that only support x86-64-v2 (for example, Intel Sandy Bridge), the dynamic loader refuses to start the app before main() runs:

$ aether
aether: CPU ISA level is lower than required
$ echo $?
127

The v4.32.0 Linux binary runs fine on the same machine, so this is a regression introduced in the 4.33.0 build.

Environment

  • Aether: 4.33.0
    • standalone aether-linux-amd64
    • aether_4.33.0_amd64.deb (same binary, Build ID 8a8f34121f39d29560f9e1fc40b9d40681ae0d5f)
  • OS: Omarchy 4.5.0 / Arch Linux
  • Kernel: 7.2.15-1-omarchy
  • glibc: 2.44
  • CPU: Intel Core i7-2600K (Sandy Bridge) — supports x86-64-v2, no AVX2/BMI2/FMA
  • Desktop: Hyprland/Wayland (irrelevant; failure happens in the ELF loader)

Steps to reproduce

  1. Use an x86-64 CPU that does not support x86-64-v3 (pre-Haswell Intel, pre-Excavator AMD), or a VM with a v2-only CPU model.
  2. Download aether-linux-amd64 (or install the .deb) for v4.33.0.
  3. Run ./aether (or aether --version).

Expected

The app starts, or at minimum prints its CLI help/version.

Actual

$ aether
aether: CPU ISA level is lower than required

The loader exits with status 127 before any application code executes.

Evidence

readelf -n on the v4.33.0 binary:

Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3

readelf -n on the v4.32.0 binary (works on the same machine):

Properties: x86 ISA needed: x86-64-baseline

The system loader only advertises v2 support:

$ /lib/ld-linux-x86-64.so.2 --help
Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3
  x86-64-v2 (supported, searched)

Toolchain used for each release (from .comment):

v4.33.0: GCC: (Ubuntu 15.2.0-16ubuntu1) 15.2.0
v4.32.0: GCC: (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0

The embedded Go build info still reports GOAMD64=v1, so the Go code itself is baseline. The v3 requirement comes from the C side of the cgo/Wails build (the newer Ubuntu runner/toolchain used for 4.33.0).

Regression range

  • v4.32.0 — x86 ISA needed: x86-64-baseline → runs on x86-64-v2 CPUs.
  • v4.33.0 — x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3 → rejected by the loader.

The Omarchy package aether 4.33.0-1 repackages the upstream binary unchanged (same Build ID) and fails identically, so this affects distro users as well.

Suggested fix

  • Pin the Linux release jobs to ubuntu-24.04 (or build inside an Ubuntu 24.04 container) so the C runtime objects and toolchain target the baseline x86-64 ISA.

  • Add a release check that inspects the produced binary, for example:

    readelf -n build/bin/aether | grep -A2 'ISA needed'
    # Fail if x86-64-v3 or x86-64-v4 is present.
    
  • If x86-64-v3 is intentional, publish a separate baseline/v2 artifact and document the minimum CPU requirement. For a desktop theming app, requiring AVX2 seems unnecessary.

Workaround for affected users

  • Downgrade to v4.32.0, which only requires the x86-64 baseline.
  • Patching the 4-byte GNU_PROPERTY_X86_ISA_1_NEEDED note from 0x7 to 0x1 also makes v4.33.0 start, but this is unsupported and could break if the binary genuinely executes v3 instructions.

kavt-ara avatar Nov 21 '26 15:11 kavt-ara