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
rtorrent and libtorrent fail to build except with --cc=gcc-4.9 #157
Comments
The original issue is from 2013 Homebrew/legacy-homebrew#24132 Should we just go back to clang and maybe it's fixed by now? |
Good point, I can test that. Do I just remove the |
Yes. Both of them compiled and the tests passed just now but only extended usage will tell the tale based on how the original issue describes what went down. |
How did you compile? I now get
and again I'm happy to debug but if it already works for you I'm curious to hear what you did. |
To be clear, rtorrent is failing that way, libtorrent did build and install after removing |
@Habbie you have to also put back in the |
Oh that makes sense to get new C++ stuff. |
It crashed for me:
so apparently we can't go clang on both. Maybe on one, not sure. My inclination is to submit a PR that would switch them to 4.9 without manual user intervention, do you have hints on how to put that in a formula? |
This probably belongs in the boneyard. |
Does it still segfault if we change the optimization level? Has the segfault been reported upstream? I know the C++11 compilation failure was, but I don't know if the segfault ever was. |
Hm, no, the C++11 compilation failure is still totally there - never mind. |
The C++11 branch was merged into master two years ago, but has yet to make it into a stable release: rakshasa/libtorrent@77a0f35 |
@Habbie both compile for me with GCC 5.3.0 |
Just as a datapoint, a clang libtorrent + 4.9 rtorrent also crashes. |
@dunn does brew have a flag for that today? |
If you have |
Other than possibly boneyarding this formula, I don't think there's an issue here beyond the usual things-that-don't-build-with-clang-don't-really-belong-in-core problem. |
It's on my TODO list to kill these. |
See Homebrew#157. Closes Homebrew#338.
gist-logs from 'brew install libtorrent': https://gist.github.com/Habbie/39a3d4e057da2957894644febfa16142
gist-logs from
brew install rtorrent
: https://gist.github.com/Habbie/df0cd0299e70753bf0add69a6a5cc996brew install --cc=gcc-4.9 libtorrent
(and same for rtorrent) work for me.Not sure how to debug this further. Haven't managed to ask other users to try this. Let me know what I can do to debug this further!
The text was updated successfully, but these errors were encountered: