View Issue Details

IDProjectCategoryView StatusLast Update
0004385ardourbugspublic2012-05-23 15:08
Reporterdanboid Assigned To 
Status acknowledgedResolutionopen 
Target Version3.0 
Summary0004385: vamp lib error prevents A3 loading under Deb Squeeze PPC
DescriptionI successfully compiled a fresh svn checkout of A3 under Deb Squeeze (but with JACK, lilv, suil and lv2core from Testing) for PowerPC last night yet it doesn't actually start due to this error:

./src/3.0/gtk2_ardour/../build/gtk2_ardour/ardour-3.0: error while loading shared libraries: ./src/3.0/gtk2_ardour/../build/libs/vamp-sdk/ R_PPC_REL24 relocation at 0x0ef52b04 for symbol `_Unwind_Resume' out of range

You prob already know but a quick search informed me "Your system is having difficulties mixing PIC [position indepedent code] with non-PIC code. Recompile with "-fPIC" to force the creation of position independent code."
Additional InformationI successfully compiled and ran A3 a couple of weeks ago on this same machine but I couldn't see/load any plugins and only now have I got round to trying it again. Yeah, its an old Mac but Tiger runs nicely on it still and I'm confident it will be fully usable for creating MIDI tracks with LS etc as the screen res is 1280x960 so its screen is wide enough to handle A3 and to be honest portability (or the promise of it) is one of the main reasons I am so interested in Ardour 3 over other DAWS.
TagsNo tags attached.


2011-10-23 00:38


fPIC.patch (459 bytes)   
diff --git a/wscript b/wscript
index cc0c7d5..eeea945 100644
--- a/wscript
+++ b/wscript
@@ -213,6 +213,9 @@ def set_compiler_flags (conf,opt):
             optimization_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"])
             debug_flags.extend (["-msse", "-mfpmath=sse", "-DUSE_XMMINTRIN"])
+    debug_flags.append ("-fPIC")
+    optimization_flags.append ("-fPIC")
     # end of processor-specific section
     # optimization section
fPIC.patch (459 bytes)   


2011-10-23 00:38

administrator   ~0011745

You could try the attached patch and a rebuild.


2011-10-24 20:05

reporter   ~0011766

No luck sadly. I applied this patch to a freshly checked out 10296, it configured and built OK but it still refuses to start and gives exactly the same error as originally reported (under Debian PPC of course)

Issue History

Date Modified Username Field Change
2011-10-20 07:13 danboid New Issue
2011-10-20 16:02 cth103 cost => 0.00
2011-10-20 16:02 cth103 Target Version => 3.0-beta1
2011-10-23 00:38 cth103 File Added: fPIC.patch
2011-10-23 00:38 cth103 Note Added: 0011745
2011-10-23 00:38 cth103 Status new => feedback
2011-10-24 20:05 danboid Note Added: 0011766
2011-11-15 15:51 cth103 Target Version 3.0-beta1 => 3.0-beta2
2012-01-10 20:46 cth103 Target Version 3.0-beta2 => 3.0-beta3
2012-02-14 17:20 paul Target Version 3.0-beta3 => 3.0 beta4
2012-04-23 22:04 cth103 Status feedback => acknowledged
2012-05-23 15:08 cth103 Target Version 3.0 beta4 => 3.0