Boost C++ Libraries: Ticket #9447: atomic/detail/gcc-ppc.hpp: Bad ppc assembler? https://svn.boost.org/trac10/ticket/9447 <p> Supercollider is FTBFS in ppc, with the following message: </p> <pre class="wiki">/tmp/cc01sBbv.s: Assembler messages: /tmp/cc01sBbv.s:7543: Error: operand out of range (0x000000000001cd58 is not between 0xffffffffffff8000 and 0x0000000000007ffc) /tmp/cc01sBbv.s:7545: Error: operand out of range (0x000000000001cd50 is not between 0xffffffffffff8000 and 0x0000000000007ffc) </pre><p> The generated assembler relevant section: </p> <pre class="wiki">#APP # 1160 "/usr/include/boost/atomic/detail/gcc-ppc.hpp" 1 lwarx 7,0,11 cmpw 7, 9 bne- 2f stwcx. 10,0,11 bne- 2f addi 8,0,1 </pre><p> The faulty lines are the bne- instructions. These instructions are manually written in gcc-ppc.hpp. </p> <p> Reported as Debian bug <a class="missing ticket">#723117</a>. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9447 Trac 1.4.3 Andrey Semashev Sun, 23 Mar 2014 11:17:47 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9447#comment:1 https://svn.boost.org/trac10/ticket/9447#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Hopefully, fixed: <a class="ext-link" href="https://github.com/boostorg/atomic/commit/e3536bec7561c77bb2d75c1c3a45491b717f220d"><span class="icon">​</span>https://github.com/boostorg/atomic/commit/e3536bec7561c77bb2d75c1c3a45491b717f220d</a>. I have no way of testing it other than it cross-compiles. </p> Ticket