Hi - I got the following errors with root installed from
root_v6.36.04.macos-15.6-arm64-clang170.pkg
on MacOS 15.6 with Xcode 26:
% 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 <new>
^
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' |
------------------------------------------------------------------
[later on:]
missing the definition of cling:runtime:gCling
I got similar errors with 6.36.02 after the Xcode 26 upgrade
and wanted to resolve them with an upgrade to 6.36.04 whose release notes state that it is compatible with Xcode 26.
Luckily, I found a workaround: installing with
homebrew install root
works for me, but I wanted to report the issue, anyway.
Best,
Peter