-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 building with the mold linker #15473
Comments
Hi @jmcarcell , how is the linker related to the command that fails for you? That is the invocation of rootcling, the generator of dictionaries. Could you confirm that the problem is there also if you do not export the LDFLAGS env variable? |
I have no idea why that's happening but it's definitely that because building with |
I reported this to mold in rui314/mold#1270 and was able to compile by using a different linker for |
Closed by #15689 and it's backport to 6.32. |
We should apply the suggested fix in the bugreport submitted to the mold linker. |
I just tried to build master with mold 2.32.0 (released last week) and it worked fine. Here is my cmake cmdline:
I then built with
I verified that mold was indeed called instead of the default linker by doing |
@silverweed could you please propose a simple pr checking for the mold version? I know it's perhaps a niche use case, but also restoring an optimal user experience for it seems rather cheap... |
Check duplicate issues.
Description
When using the mold linker there is a segmentation fault when running
rootcling
, like hereI haven't tried with
lld
to see if it also doesn't build. This is certainly not very important, but I'm reporting here in case someone else finds this. EDIT:lld
works fine for me.Reproducer
ROOT version
master, any recent one also doesn't work
Installation method
Build from source
Operating system
Linux (Arch)
Additional context
I'm compiling with GCC 13 and 14
The text was updated successfully, but these errors were encountered: