Opened 9 years ago
Closed 9 years ago
#9447 closed Bugs (fixed)
atomic/detail/gcc-ppc.hpp: Bad ppc assembler?
Reported by: | Owned by: | timblechmann | |
---|---|---|---|
Milestone: | To Be Determined | Component: | atomic |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Supercollider is FTBFS in ppc, with the following message:
/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)
The generated assembler relevant section:
#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
The faulty lines are the bne- instructions. These instructions are manually written in gcc-ppc.hpp.
Reported as Debian bug #723117.
Note:
See TracTickets
for help on using tickets.
Hopefully, fixed: https://github.com/boostorg/atomic/commit/e3536bec7561c77bb2d75c1c3a45491b717f220d. I have no way of testing it other than it cross-compiles.