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)
- Linux - MPV is missing Wayland dependency HOT 7
- Python: setuptools-scm creates failed vendor build HOT 3
- library not found for -lzstd HOT 4
- pip check: openvino 2024.0.0 requires openvino-telementry, which is not installed HOT 1
- brew install j mismatch hash HOT 1
- incorrect jar reference in tika-server jar script HOT 2
- macOS Sonoma Silicon openssl@3: `libdir` variable in libcrypto.pc incorrect (misses `/lib` suffix) HOT 3
- Warning: Some installed kegs have no formulae! This means they were either deleted or installed manually. You should find replacements for the following formulae: python-flit-core HOT 1
- gdk-pixbuf: xpm support missing since 2.42.11 (now off by default upstream) HOT 3
- Compilation Failure with Clang from Brewed LLVM HOT 7
- gmime - pkgconfig file stale HOT 3
- llvm versioned formula does not build and install lldb HOT 4
- blackhole-2ch: ""com.apple.audio.coreaudiod": 1: Operation not permitted" error HOT 2
- curl formula does not install zsh completions
- Non-checksummed download of ffmpeg formula file from an arbitrary URL is unsupported! `brew extract` or `brew cr HOT 1
- Duplicate -lgcc flags in linker command with GCC 13.2.0 on macOS HOT 3
- PCSC-Lite configuration issue
- Octave 9.1.0 opengl bug interacting with qt6-6.7.0 HOT 4
- musikcube 3.0.2_1 crashing on startup HOT 5
- clang-18 failed with exit code 139 HOT 2
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.