ci(linux-arm64): experiment — build aarch64 on ubuntu-24.04-arm (aqt qmake segfaults on 22.04-arm)

Both 6.8.3 and 6.9.3 arm64 qmake die with SIGSEGV on ubuntu-22.04-arm
with no missing libraries. Try the 24.04-arm image; the glibc floor gate
warns instead of failing for aarch64 until the floor is decided.

cc
This commit is contained in:
vicrodh committed 2026-08-28 21:13:51 -06:00
1 parent 860f1ad67f
commit e70e5e4ab9
1 file changed
+15 -2
+15 -2
View File
@@ -70,7 +70,11 @@ on:
jobs:
build:
name: build (${{ inputs.arch }})
runs-on: ${{ inputs.arch == 'aarch64' && 'ubuntu-22.04-arm' || 'ubuntu-22.04' }}
# aarch64 on 24.04-arm: aqt's arm64 Qt host tools (6.8.3 AND 6.9.3 qmake)
# SIGSEGV on ubuntu-22.04-arm with a clean ldd (2026-08-29, two runs).
# EXPERIMENT — the glibc floor gate below only warns for aarch64 until
# the owner rules on the Pi (bookworm = 2.36) floor.
runs-on: ${{ inputs.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-22.04' }}
timeout-minutes: 120
env:
# x86_64 keeps the 6.8 LTS floor. aarch64 pins its own: aqt's 6.8.3
@@ -158,8 +162,11 @@ jobs:
run: |
# Diagnostics first: a qmake that cannot run here is the arm64
# failure mode (segfault), and cxx-qt-build only says "QtMissing".
uname -a; getconf PAGESIZE; ldd --version | head -1
file "$QMAKE" || true
ldd "$QMAKE" | grep -E 'not found' || true
"$QT_ROOT_DIR/libexec/moc" --version || true
"$QT_ROOT_DIR/libexec/qmlcachegen" --version || true
"$QMAKE" -query QT_VERSION
cargo build --release --manifest-path crates/Cargo.toml -p qbz-qt
cp crates/target/release/qbz qbz-unstripped
@@ -181,7 +188,13 @@ jobs:
floor=$(objdump -T qbz | grep -oE 'GLIBC_[0-9]+\.[0-9]+' | sort -Vu | tail -1)
echo "glibc floor: $floor"
highest=$(printf '%s\n' "$floor" "GLIBC_2.35" | sort -V | tail -1)
[ "$highest" = "GLIBC_2.35" ] || { echo "::error::glibc floor $floor exceeds 2.35"; exit 1; }
if [ "$highest" != "GLIBC_2.35" ]; then
if [ "${{ inputs.arch }}" = aarch64 ]; then
echo "::warning::aarch64 glibc floor $floor exceeds 2.35 (24.04-arm runner experiment; owner decision pending)"
else
echo "::error::glibc floor $floor exceeds 2.35"; exit 1
fi
fi
# Self-contained AppDir. The plugin scans QML_SOURCES_PATHS for imports
# and copies exactly the Qt QML modules the app uses (Effects, labs,