Re: [Jack-Devel] [Fwd: Re: [Guitarix-developer] jack session crash]

PrevNext  Index
DateThu, 03 Nov 2011 17:28:09 +0100
From Andreas Degert <[hidden] at papyrus-gmbh dot de>
ToPaul Davis <[hidden] at linuxaudiosystems dot com>
CcNedko Arnaudov <[hidden] at arnaudov dot name>, [hidden] at lists dot jackaudio dot org
In-Reply-ToPaul Davis Re: [Jack-Devel] [Fwd: Re: [Guitarix-developer] jack session crash]
Follow-UpPaul Davis 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
PrevNext  Index

1320337733.16057_0.ltw:2,a <20111103172809.083eaafd at pluto dot noname>