New Pixman Naming Scheme

Daniel Stone daniel at fooishbar.org
Wed Aug 8 02:16:19 PDT 2007


On Wed, Aug 08, 2007 at 10:30:43AM +0200, Arkadiusz Miskiewicz wrote:
> On Wednesday 08 of August 2007, Daniel Stone wrote:
> > The problem is that if you have libpixman.so.1 with int foo(long bar),
> > and libpixman.so.2 with void foo(int bar), which are _both linked into
> > the same executable_: say Cairo links against 2, and GTK+ links against
> > 1.  Resolution for foo will be random, thanks to a flat namespace, so
> > eventually you're going to hit the wrong one.
> >
> > You can fix this pretty easily with versioned symbols, but pixman
> > doesn't do that.
> 
> but when you link with both libpixman and libpixman-1 you still have the same 
> problem. -1 doesn't solve anything here.

Yes, but I was just pointing out that changing your soname doesn't mean
that you can change ABI willy-nilly and have everything still work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20070808/2fdfa62a/attachment-0001.pgp>


More information about the xorg mailing list