[pulseaudio-discuss] [PATCH] Explicitly link against pulse libraries

Colin Guthrie gmane at colin.guthr.ie
Fri Oct 15 02:10:20 PDT 2010

'Twas brillig, and Luke Yelavich at 15/10/10 09:03 did gyre and gimble:
> On Fri, Oct 15, 2010 at 06:58:31PM EST, Colin Guthrie wrote:
>> 'Twas brillig, and Luke Yelavich at 15/10/10 04:31 did gyre and
>> gimble:
>>> From: Luke Yelavich <luke.yelavich at canonical.com>
>>> When building pulseaudio master using gcc 4.5.2 and binutils 
>>> 2.20.51 plus latest snapshot from 2010-10-14, ld complained about
>>> missing symbols. This patch explicitly links more pulseaudio
>>> libraries to satisfy the linker.
>> When you say snapshot do you mean master or stable-queue?
> The snapshot I am referring to is the binutils snapshot. The next
> Ubuntu release just started in development, and I am prepping a
> pulseaudio package for it, so I am building against the new
> toolchain, whigh is gcc 4.5 and the snapshot of binutils indicated.

Ahh right, sorry, I must have misread that as it's quite clear on second

> <Snip>
>> Distros which do not much care about trying to prevent overlinking
>> (I'm thinking Fedora... but not confirmed personally - just going
>> on what I've been told in the past) will have to rebuild a whole
>> lot more packages when libpulsecommon-0.9.21.so changes to 0.9,22+
> Well, as you can see, I only encountered this with some src/test
> code. I should also note I was using the debian/Ubuntu build process
> to build packages, which would have introduced extra flags, I can
> show you the compile/lin flags used if you would like.

It might be useful, but then again, I'd expect that if as-needed and
no-undefined were used there would be link failures prior to the tests
being built (it bombs out much earlier for me when I do that).

So the link flags would be interesting to see but unless they are
different flags for the tests than for the main build then I'll be a bit

But then again I make no claims to really understand linking fully :D



Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list