Skip to contentSkip to conversation

libxml 2.11.0 breaks ABI by default

DISCUSSION alice 1 participant 1 message Apr 28, 2023

lore
Share & tools
lore

alice

author
#0 lore raw

upstream report: https://gitlab.gnome.org/GNOME/libxml2/-/issues/526

this might be a similar issue as:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/433

the likely cause, however, is symbol visibility. from the changelog:

This release finally fixes symbol visibility on UNIX systems. Internal symbols will now be hidden. While these symbols were never declared in public headers, it was still possible to declare them manually. Now this won't work.

All symbol information has been removed from the ELF version script to fix link errors with --no-undefined-version. The version nodes are kept so it should still be possible to run binaries linked against older versions.

distributors should most likely rebuild everything against this version, or find a way to toggle to the old version, to ensure ABI compatibility.