Re: [Jack-Devel] [Fwd: Re: [Guitarix-developer] jack session crash]
On Thu, 3 Nov 2011 08:57:19 -0400
Paul Davis <[hidden]> wrote:
> On Thu, Nov 3, 2011 at 7:52 AM, Nedko Arnaudov <[hidden]>
> wrote:
> >> Test program to verify the described behaviour:
>
> full test suite:
>
> http://ardour.org/files/weak.tar.bz2
>
> thanks to nedko for pointing out the key issue: the executable must
> also be built with -fPIC. if you alter EXTRA in the makefile in my
> test suite, you will get the same weak linkage bug as reported in this
> thread. with -fPIC, weak linkage behaves as expected (and described in
> numerous places).
Thanks for solving the problem (especially Nedko). Would be nice if it
could be documented more prominently, since fPIC (and also fPIE) produce
less efficient code and one would not normally use those options (and
if not used it fails silently). I didn't find any references to it, and
also not in code I looked at (e.g. building jackd tools or qtractor).
ciao
Andreas
1320337733.16057_0.ltw:2,a <20111103172809.083eaafd at pluto dot noname>