-
-
Notifications
You must be signed in to change notification settings - Fork 463
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
Segmentation fault when compiling ROOT #1270
Comments
Thank you for your report. I can reproduce the issue, and I think I found the cause of it. I'll submit a fix shortly. |
The above commit should fix the issue. ROOT passes both |
Yeah, it's been a month since the last release, and there are a few important bug fixes since then, so it may be a good idea to make another maintenance release. |
When compiling ROOT, I get a segmentation fault only when using mold,
ld
,lld
andgold
all work fine, with GCC 13, 14 and Clang 16 and 17. Originally reported in root-project/root#15473Steps to reproduce:
And after waiting some time, errors like this one will appear:
The issue seems to be the
libCling.so
library since I was able to compile fine by changing the linker used only for this target. The command above fails becauserootcling
is linked tolibCling.so
. The corresponding target is added in the CMakeLists.txt here: https://github.com/root-project/root/blob/master/core/metacling/src/CMakeLists.txt#L112.Cling
is built on top of a patched version of LLVM 16 that can be found here: https://github.com/root-project/llvm-project.The text was updated successfully, but these errors were encountered: