[pulseaudio-tickets] [Bug 39034] pulseaudio-0.9.23 breaks binary compatibility

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 8 03:11:09 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39034

--- Comment #1 from Colin Guthrie <fdo at colin.guthr.ie> 2011-07-08 03:11:08 PDT ---
This seems very strange.

Only very minor changes in public-facing things have changed in 0.9.23.. An
additional define was added to pulse/volume.h but that shouldn't change
anything with regards to ABI.

Some of the build instructions where changed slightly but again I wouldn't have
thought these changes in particular would cause a binary compatibility issue
and I know various places where 0.9.23 has been a drop in replacement without
any issues.

Regardless, there is certainly not any intention of ABI incompatibility (we go
out of our way to ensure this is not the case as so many components on a system
link to libpulse, changing it would be a royal pain), so not bumping the major
version is very much intended.

What can sometimes happen however is that applications become "overlinked" on
your system. e.g.

[colin at jimmy pulseaudio (master-volume3)]$ objdump -p `which pactl`| grep
libpulsecommon
  NEEDED               libpulsecommon-0.98.so
[colin at jimmy pulseaudio (master-volume3)]$ objdump -p `which mplayer`| grep
libpulsecommon

(for pactl, this is intended that it overlinks to libpulsecommon as it's part
of the PA build process) but any other app that links to libpulsecommon
directly (ldd will report indirect linking here) is broken.

I suspect you may have such apps on your system which leads to a rebuild being
necessary.

We do not guarantee ABI on libpulsecommon, but libpulse itself should be the
only thing to link to this (other than the deliberately overlinked binaries
shipped with pa itself - like pactl in the above example)


So my initial guess would be a general overlinking problem in your distro on
the whole, which thus requires recompiles when PA version is bumped. But this
is not directly a problem of PA, but rather how the other packages are built.

You've not mentioned what distro you are using, so I cannot comment further.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list