]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-link-abi: fall back to lowest observed glibc version on new architectures
authorDaan De Meyer <daan@amutable.com>
Sun, 24 May 2026 11:41:30 +0000 (11:41 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 24 May 2026 13:12:50 +0000 (14:12 +0100)
commit99d16bbca580f50d9646fc296cb6f89cd3696a3b
tree2dd0337af515d1903f9ed2b415d8c8257c6875b9
parenta05fe6684ae0af8128c20e2054d52d8393c2ac61
test-link-abi: fall back to lowest observed glibc version on new architectures

On architectures where glibc support was introduced after our baseline
(e.g. loongarch64, added in glibc 2.36), every imported symbol is
tagged with a version newer than the baseline, so the baseline check
fails spuriously. Detect this by taking the minimum version observed
across all binaries: if it exceeds the baseline, treat that minimum
as the effective baseline instead.

Follow up for d9600a2a

Co-developed-by: Claude Opus 4.7 <noreply@anthropic.com>
test/test-link-abi.py