Open MrDini123 opened 6 years ago
This would need to wait until I rewrite most of the code to using c++11's std::atomic types.
Any progress on the rewrite? Or is there any hacky way for me to compile libtorrent without atomic support?
@rakshasa It also fails on Darwin ppc
due to the same issue (it builds, but library is broken). If it used __atomic*
builtins instead of __sync*
, that would work fine (provided linking to libatomic
is done).
36-246% /opt/local/bin/rtorrent
dyld: lazy symbol binding failed: Symbol not found: ___sync_add_and_fetch_8
Referenced from: /opt/local/lib/libtorrent.21.dylib
Expected in: dynamic lookup
dyld: Symbol not found: ___sync_add_and_fetch_8
Referenced from: /opt/local/lib/libtorrent.21.dylib
Expected in: dynamic lookup
@MrDini123 Well, possibly rewriting to __atomic*
will fix it. They are not drop-in replacements, arguments differ, but they provide the same functionality, just better.
Hí,
I tried to build rtorrent, but it gave me this: