]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: add test-link-abi to enforce link-time ABI invariants
authorDaan De Meyer <daan@amutable.com>
Thu, 14 May 2026 19:20:02 +0000 (19:20 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 20 May 2026 09:03:27 +0000 (11:03 +0200)
commitd9600a2ac0433095189688ebd86a24fcc8ed9f6c
tree010a0c65a32323e39c2b9d969645fc3a05b4854a
parentd52c8f2068b57e191bafd01d9d60bddbf4a20419
test: add test-link-abi to enforce link-time ABI invariants

For every built executable, internal shared library, and plugin module,
verify two link-time properties via readelf:

1. No imported GLIBC symbol's version is newer than 2.34.
2. The dynamic section's NEEDED entries reference only glibc, the
   runtime linker, our own libraries.
meson.build
test/meson.build
test/test-link-abi.py [new file with mode: 0755]