[SCM] supercollider/master: Avoid FTBFS in PowerPC

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Sat Jul 28 20:53:20 UTC 2012


The following commit has been merged in the master branch:
commit 83d45f7b31b675a0649ab4429ae77ac53fcb5daf
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sat Jul 28 16:46:48 2012 -0400

    Avoid FTBFS in PowerPC

diff --git a/debian/patches/no-inline-ppc-ftbfs.patch b/debian/patches/no-inline-ppc-ftbfs.patch
new file mode 100644
index 0000000..99e0675
--- /dev/null
+++ b/debian/patches/no-inline-ppc-ftbfs.patch
@@ -0,0 +1,14 @@
+Author: Felipe Sateler <fsateler at debian.org>
+Description: Apparently there is some bug in gcc that makes it output too large sections
+Avoiding inlining this function works around the issue
+--- a/external_libraries/boost_lockfree/boost/atomic/detail/gcc-ppc.hpp
++++ b/external_libraries/boost_lockfree/boost/atomic/detail/gcc-ppc.hpp
+@@ -124,7 +124,7 @@
+ 		T &expected,
+ 		T desired,
+ 		memory_order success_order,
+-		memory_order failure_order) volatile
++		memory_order failure_order) volatile __attribute__((noinline))
+ 	{
+ 		fence_before(success_order);
+ 		int success;
diff --git a/debian/patches/series b/debian/patches/series
index d31abfd..1673d6e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ boost-big-endian-typo.patch
 deactivate_perf_counter.patch
 boostatomic_ppc_build.patch
 strip_gremlin_characters.patch
+no-inline-ppc-ftbfs.patch

-- 
supercollider packaging



More information about the pkg-multimedia-commits mailing list