Re: [LAD] Announcing PHASEX-0.14.96

From: Paul Davis <paul@email-addr-hidden>
Date: Mon Jan 07 2013 - 06:15:36 EET

On Sun, Jan 6, 2013 at 6:57 PM, William Weston <whw@email-addr-hidden> wrote:

>
> Explicit checks for new JACK headers library calls have been added
> to the autoconf system instead of relying on the weakjack linkage
> alone. Could you try it again?
>

just a note: i haven't really publically explained the very sad failure of
the weak linkage stuff.

we incorrectly assumed that the linux gcc+ld stack had the same
capabilities as their variants on OS X. OS X provides a *very nice* design
for weak linkage that is incredibly useful for precisely this sort of thing.

alas, it turned out that the work done on the apple variants was never
back-ported into mainstream gcc+ld, and as a result, the weak linkage test
approach that i (and a few others advocated) does not work on linux unless
code is specially linked in a way that is not sensible to recommend for
applications. basically, you can do weak linkage tests *between libraries*
(or other code linked with -fPIC, but not between libraries and
applications.

this is very sad, and the alternative (an approach first implemented by
native instruments, of all groups!) seems like the only way to handle this.

--p

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Jan 7 08:15:02 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 07 2013 - 08:15:02 EET