You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that old sync* builtins require 8-byte atomics support in hardware. That leaves 32-bit platforms (arm, ppc, mips) broken. What will work for both 64- and 32-bit platforms alike is usage of modern atomic* builtins. 32-bit archs will just need an explicit linking to libatomic.
This a patch which is confirmed to fix compilation on ppc, but maybe you can suggest a better solution or verify/improve upon this one?
@barracuda156 Could you submit a pull request for this patch? I'd like to take responsibility for testing this change and getting it incorporated into the project. I'll request a review from @rakshasa when the time is right and get it merged for you.
@rakshasa Could you please take a look?
The issue is that old
sync*
builtins require 8-byte atomics support in hardware. That leaves 32-bit platforms (arm, ppc, mips) broken. What will work for both 64- and 32-bit platforms alike is usage of modernatomic*
builtins. 32-bit archs will just need an explicit linking tolibatomic
.This a patch which is confirmed to fix compilation on
ppc
, but maybe you can suggest a better solution or verify/improve upon this one?https://github.com/macports/macports-ports/blob/4ac3291874cad2051b9cc1ba08cadd62643f92f5/net/libtorrent-devel/files/0001-Fix-atomics-for-modern-gcc.patch
The text was updated successfully, but these errors were encountered: