Segmentation Violation Error When Initializing ROOT on macOS

Hello,
I’m experiencing issues with ROOT on my Mac. Previously, ROOT was working fine, but now it fails to initialize. I’ve tried updating Homebrew, ROOT, and Xcode multiple times, but the problem persists.
When trying to run ROOT, I encounter the following error:

[Error log starts here]
input_line_1:1:10: remark: building module ‘std’ as ‘/usr/local/Cellar/root/6.32.04/lib/root/std.pcm’ [-Rmodule-build]
#include
^
[… truncated for brevity …]
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[] (no debug info)
[… truncated for brevity …]
[/usr/local/Cellar/root/6.32.04/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
[Error log ends here]

The error seems to involve cyclic dependencies in modules and issues with building the ‘std’ module. It also mentions problems with files in Xcode’s SDK directory.
Could you please advise on how to resolve this issue? Are there any known conflicts with recent macOS or Xcode updates that might be causing this problem?

Thank you for your help Ü
Emanuele

Dear Emanuele,

Thanks for the post and welcome to the ROOT Community!
I am sorry ROOT stopped working for you, probably after moving to macos15 or the newest CLT. You may find this topic informative: ROOT on macOS 15 / Xcode 16 - #8 by Danilo

There is a description of the current status of ROOT and a potential workaround which could unblock you today while you wait for the forthcoming 6.32 release.

Cheers,
Danilo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.