5 ms·
> Contrast this with Linux, where glibc is known to break from time to time. glibc has a very stable ABI, i.e. older binaries compiled against older versions o
by AnssiH 4y ago
> Contrast this with Linux, where glibc is known to break from time to time.
glibc has a very stable ABI, i.e. older binaries compiled against older versions of it should work fine on current versions (since the breaking libc6 transition which was several decades ago), they employ symbol versioning to ensure old binaries still find the symbols with the behavior they expect.
Of course, there are other "system libraries" that change ABI/SONAMEs more often, so what you are saying still generally applies, but I'd say glibc is not one of them.
- mmis1000 4y agoglibc have versioned symbols. A glibc library can claim itself to be compatible of multi (old) version glibc. But it seems except some long term support versions. It didn't actually claim to be compatible with every old versions? The one shipped with Debian 11 have symbol of 2.2.5 and then there's a big gap and jump outright to the range of 2.3.x