-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client_test build issue with Boost atomic library #4657
Comments
I don't think those are |
they seem to be part of libccc: https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html |
Apologies I am duh I did not even google that. May also be libatomic, although I Raspbian has that. Continuing to investigate. |
Yup it's libatomic; if I do this:
Then python3 imports libtorrent ok. Would Boost be responsible for linking in libatomic? My theory is performance_counters -> atomic -> libatomic |
no, I just use the standard library. i.e. |
"no" to it being a transitive dependency via boost. "yes" on the performance counters use atomic operations |
OK gotcha. Now to figure out why libatomic is not being linked in. |
They're hitting this problem for certain archs in Debian too: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Wait, I am not sure how to solve this yet. I followed the tutorial on the deluge webpage, everything goes well until I try to import libtorrent from python and I get this error:
|
this might give some hints: https://stackoverflow.com/questions/42887975/how-to-link-against-the-libatomic-library-in-gcc if you run |
Hmmm no, I do not see the dependency:
About the stackoverflow post, they suggest to look at the file Maybe I should open a different issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think this is basically a duplicate of #5117 (or, rather, that new one is a duplicate of this one). I have worked on a suitable patch and will submit it soon. |
libtorrent version (or branch): 1.2.6
platform/architecture: Raspberry Pi 3 ARM
compiler and compiler version: gcc 8.3.0
Boost: 1.73, fresh build of b2
Awesome product, btw ... refreshing my coding and design skills using it. Python bindings make it possible to interactively do torrenting stuff as a learning/technical experience. A+!
libtorrent library shared and static build ok, but client_test does not, seems to be a problem with the Boost atomic library. Odd (in Boost) that it compiled, but could not find functions in library.
The text was updated successfully, but these errors were encountered: