Apparently there is some bug in gcc that makes it output too large sections
authorFelipe Sateler <fsateler@debian.org>
Sat, 4 Oct 2014 16:19:47 +0000 (17:19 +0100)
committerFelipe Sateler <fsateler@debian.org>
Sat, 4 Oct 2014 16:19:47 +0000 (17:19 +0100)
Avoiding inlining this function works around the issue

Gbp-Pq: Name no-inline-ppc-ftbfs.patch

external_libraries/boost-lockfree/boost/atomic/detail/gcc-ppc.hpp

index c05ac857cdf39ca2f11b8d564aa76b8e08dbfab7..10edf7c8f7b7374f1b03c0ca7e28313b3167c425 100644 (file)
@@ -247,7 +247,7 @@ public:
         value_type & expected,
         value_type desired,
         memory_order success_order,
-        memory_order failure_order) volatile
+        memory_order failure_order) volatile __attribute__((noinline))
     {
         int success;
         ppc_fence_before(success_order);