Comments (19)
The original issue is from 2013 Homebrew/legacy-homebrew#24132
Should we just go back to clang and maybe it's fixed by now?
from homebrew-core.
Good point, I can test that. Do I just remove the fails_with :clang
block to switch it back to clang?
from homebrew-core.
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.
from homebrew-core.
How did you compile? I now get
Last 15 lines from /Users/peter/Library/Logs/Homebrew/rtorrent/03.make:
../../rak/priority_queue_default.h:40:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
^
1 error generated.
and again I'm happy to debug but if it already works for you I'm curious to hear what you did.
from homebrew-core.
To be clear, rtorrent is failing that way, libtorrent did build and install after removing fails_with :clang
.
from homebrew-core.
@Habbie you have to also put back in the ENV.libstdcxx if ENV.compiler == :clang
that is commented out.
from homebrew-core.
Oh that makes sense to get new C++ stuff.
from homebrew-core.
It crashed for me:
Caught Segmentation fault, dumping stack:
0 rtorrent 0x000000010a0bfacb _Z8do_panici + 233
1 libsystem_platform.dylib 0x00007fff90165f1a _sigtramp + 26
2 ??? 0x0000000000000002 0x0 + 2
3 libtorrent.19.dylib 0x000000010a2e855b _ZN7torrent16HandshakeManager14receive_failedEPNS_9HandshakeEii + 81
4 libtorrent.19.dylib 0x000000010a2e693a _ZN7torrent9Handshake10event_readEv + 1360
5 libtorrent.19.dylib 0x000000010a298842 _ZN7torrent10PollKQueue7performEv + 238
6 libtorrent.19.dylib 0x000000010a2bd64f _ZN7torrent11thread_base10event_loopEPS0_ + 415
7 rtorrent 0x000000010a0bf4f3 main + 13415
8 libdyld.dylib 0x00007fff8acff5c9 start + 1
9 ??? 0x0000000000000003 0x0 + 3
Abort trap: 6
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?
from homebrew-core.
This probably belongs in the boneyard.
from homebrew-core.
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.
from homebrew-core.
Hm, no, the C++11 compilation failure is still totally there - never mind.
from homebrew-core.
The C++11 branch was merged into master two years ago, but has yet to make it into a stable release: rakshasa/libtorrent@77a0f35
from homebrew-core.
@Habbie both compile for me with GCC 5.3.0
from homebrew-core.
@mistydemeo Not really.
rakshasa/rtorrent#350
rakshasa/rtorrent#240
rakshasa/rtorrent#170
rakshasa/rtorrent#44
rakshasa/rtorrent#32
rakshasa/rtorrent#14
from homebrew-core.
Just as a datapoint, a clang libtorrent + 4.9 rtorrent also crashes.
from homebrew-core.
@dunn does brew have a flag for that today?
from homebrew-core.
If you have gcc-5
available, it should use it automatically, since it's marked as failing with Clang. But --cc=gcc-5
should work too.
from homebrew-core.
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.
from homebrew-core.
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.
from homebrew-core.
Related Issues (20)
- clang-18 failed with exit code 139 HOT 4
- /usr/local/bin/apachectl: line 95: lynx: command not found HOT 2
- ruby >= 3.2 bottles have an incorrect path in RbConfig::CONFIG["AR"] HOT 10
- Cannot install plugins within poetry HOT 4
- mecab-ipadic: character encoding corruption HOT 9
- mingw-w64 SHA256 mismatch HOT 2
- Deno 1.43.2 homebrew build segmentation fault HOT 16
- virt-manager crashes without `--no-fork` HOT 1
- `rust` should not bundle huge HTML documentation HOT 4
- ncurses build depends on TERMINFO variable HOT 1
- mpv formula is missing molten-vk as a dependency HOT 6
- parquet-cli has an extra dependency jar HOT 1
- glibmm 2.80 bottle: link error when using Glib::DateTime::create_now_local() HOT 1
- bottled emacs exit with SIGSEGV when use built-in rust-ts-mode HOT 6
- helm-docs version report issue HOT 7
- tgenv should point to new github instead of old one HOT 3
- git-svn died of signal 11 on imac m1 HOT 1
- sip formulae doesn't appear in pip3 list on sonoma
- biber 2.20 is incompatible with texlive 2024's biblatex HOT 12
- --enable-neon flag for fftw HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-core.