ROOT crashing on Mac

ROOT Version: root_v6.36.04
Platform: MacOS Sequoia 15.7.1
Compiler: clang version 17.0.0 (clang-1700.3.19.1)


Hello,
root is crashing. I was hoping the latest release 6.36.04 would fix this. I am still running Sequoia, but xcode is updated. The binary I am trying to use is root_v6.36.04.macos-15.6-arm64-clang170

Below is the beginning of the error messages. Please let me know if I am doing something wrong.
thank you

/Applications/root_v6.36.04/etc/cling/std_darwin.modulemap:8:63: error: header ‘__type_traits/add_const.h’ not found
module add_const { header “__type_traits/add_const.h” }
^
input_line_1:1:10: note: submodule of top-level module ‘std’ implicitly imported here
#include
^
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with _LIBCPP_ABI_VERSION ‘1’
Extraction of runtime standard library version was: ‘’
input_line_2:1:2: fatal error: module file ‘/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm’ not found: module file not found
#include <cling/Interpreter/RuntimeUniverse.h>
^
input_line_2:1:2: note: imported by module ‘std’ in ‘/Applications/root_v6.36.04/lib/std.pcm’
input_line_2:1:2: note: imported by module ‘Cling_Runtime_Extra’ in ‘/Applications/root_v6.36.04/lib/Cling_Runtime_Extra.pcm’
input_line_2:1:2: note: imported by module ‘Cling_Runtime’ in ‘/Applications/root_v6.36.04/lib/Cling_Runtime.pcm’
<<< cling interactive line includer >>>: fatal error: module file ‘/Users/sftnight/ROOT-CI/build/lib/DarwinFoundation.pcm’ not found: module file not found
<<< cling interactive line includer >>>: note: imported by module ‘Darwin’ in ‘/Applications/root_v6.36.04/lib/Darwin.pcm’

Hello Angela,

Sorry for asking this trivial question, but did you install the commandline utils (xcode-select --install)?
If yes, how many old installations do you have around (ls /Library/Developer/CommandLineTools/SDKs/)?

Cheers,
D

Hi Danilo

not trivial at all, there have been cases when that was the problem, but unfortunately, that is not the case this time.

Re, older installations: there are a few:
lrwxr-xr-x 1 root wheel 14 Sep 17 08:49 MacOSX.sdk@ → MacOSX26.0.sdk
drwxr-xr-x 7 root wheel 224 Jun 14 2022 MacOSX12.1.sdk/
drwxr-xr-x 3 root wheel 96 Nov 8 2024 MacOSX12.3.sdk/
drwxr-xr-x 7 root wheel 224 Aug 14 20:56 MacOSX15.5.sdk/
lrwxr-xr-x 1 root wheel 14 Sep 17 08:49 MacOSX15.sdk@ → MacOSX15.5.sdk
drwxr-xr-x 7 root wheel 224 Sep 3 20:36 MacOSX26.0.sdk/
lrwxr-xr-x 1 root wheel 14 Sep 17 08:49 MacOSX26.sdk@ → MacOSX26.0.sdk

I should definitely get rid of the two very old ones, for the rest, I wait for your advice.

thank you

Angela

Dear Angela,

We encountered before issues with many sdks installed, and we are looking into ways to make ROOT pick the right one.
However, so far, a good solution, has been to remove the old sdks. In your case, a bit different, that would mean to keep only MacOSX15 (and symlink). To avoid potential problems, one might think not to remove entirely, but perhaps move all other sdks into a directory of choice.

Cheers,
D

Hi Danilo,

I tried what you said, moved the MacOSX26 sdk to another folder, and created a new link MacOSX.sdk pointing to MacOSX15.5.sdk
I can start root now, but there are still errors, and I cannot even open a TBrowser.
Below is what I get when I launch root

Thank you for your help.

Angela

\~ % root
/Applications/root_v6.36.04/etc/cling/std_darwin.modulemap:8:63: error: header ‘\__type_traits/add_const.h’ not found
module add_const                                 { header “\__type_traits/add_const.h” }
^
input_line_1:1:10: note: submodule of top-level module ‘std’ implicitly imported here
#include
^
Warning in cling::IncrementalParser::CheckABICompatibility():
Failed to extract C++ standard library version.
Warning in cling::IncrementalParser::CheckABICompatibility():
Possible C++ standard library mismatch, compiled with \_LIBCPP_ABI_VERSION ‘1’
Extraction of runtime standard library version was: ‘’

| Welcome to ROOT 6.36.04                        https://root.cern |
| (c) 1995-2025, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for macosxarm64 on Aug 25 2025, 10:48:12                   |
| From tags/v6-36-04@v6-36-04                                      |
| With Apple clang version 17.0.0 (clang-1700.0.13.5)              |

| Try ‘.help’/‘.?’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/‘.q’ |
|----|
|  |

root \[0\]