On Tue, Oct 22, 2024 at 01:43:55PM +0200, Thomas Haller wrote: > On Tue, 2024-10-22 at 13:34 +0200, Thomas Haller wrote: > > > > > > [But also, the reason I want to update is _because_ of symbol > > > versioning. We are modifying libguestfs to change from Jansson to > > > json-c, but they share a common symbol (json_object_get) and > > > without > > > symbol versioning, if you mix programs using the two libraries it > > > can > > > (always? randomly?) call the wrong function. I think with both > > > libraries using symbol versioning this cannot happen.] > > > > glib-json also has conflicting symbols with libjansson. Symbol > > versioning is long overdue. Thank you for working on this. > > correction: json-glib also uses symbol versioning in the meantime (i.e. > for a long time already): NB, both libraries must have symbol versioning to fix all the compat problems. An app linked against an unversioned symbol can have that satisfied at runtime by either a versioned or unversioned sym. IOW... If you link against json-glib today, you'll be safe if jansson is loaded. If you link against jansson today, you'll be potentially unsafe if json-glib is loaded With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| -- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue