ROOT Version: v6-24-00-patches
Platform: MacOS 13.3.1
Compiler: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Hi!
First of all, I am using a root bit strange version because I need to work with the C++ 11 standard in a rather new computer, and in this thread you can see how it worked on previous version MacOS 12.
Things started getting messy when I updated to MacOS 13. And now I am facing several problems. First, my ROOT-v6.24 installation went correctly and I could run the Geant4 simulation I need this ROOT for, but I could not use ROOT correctly.
Now, even my G4 application can run, and gives the same error message as if I type “root” or “root -l” in my terminal, this is the output:
root -l SEGV ✘
input_line_1:1:2: fatal error: malformed or corrupted AST file: 'could not find file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_types.modulemap' referenced by AST
file'
#include <new>
^
input_line_1:1:2: note: after modifying system headers, please delete the module cache at '/Users/diiego/software/ROOT/ROOT_6.24/install/lib'
input_line_1:1:2: note: imported by module 'std' in '/Users/diiego/software/ROOT/ROOT_6.24/install/lib/std.pcm'
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: ''
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
<<< cling interactive line includer >>>: fatal error: module file '/Users/diiego/software/ROOT/ROOT_6.24/install/lib/Darwin.pcm' is out of date and needs to be rebuilt
Failed to load module Darwin
Failed to load module std
Failed to load module _Builtin_intrinsics
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Config
Failed to load module ROOT_Rtypes
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Core
Failed to load module Rint
Failed to load module RIO
Failed to load module MathCore
Failed to load module Hist
Failed to load module Darwin
Failed to load module VMC
Failed to load module Unfold
Failed to load module Imt
Failed to load module HistPainter
Failed to load module PyMVA
Failed to load module RHTTPSniff
Failed to load module RHTTP
Failed to load module FitPanel
Failed to load module ROOTVecOps
Failed to load module ProofDraw
Failed to load module Unuran
Failed to load module Quadp
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module GeomPainter
Failed to load module Genetic
Failed to load module Eve
Failed to load module TreeViewer
Failed to load module Physics
Failed to load module EG
Failed to load module Tree
Failed to load module HistFactory
Failed to load module Spectrum
Failed to load module Matrix
Failed to load module Html
Failed to load module Hist
Failed to load module GuiHtml
Failed to load module _Builtin_intrinsics
Failed to load module Gpad
Failed to load module TMVAGui
Failed to load module Fumili
Failed to load module Net
Failed to load module RGL
Failed to load module Geom
Failed to load module Postscript
Failed to load module GCocoa
Failed to load module RCsg
Failed to load module Cling_Runtime
Failed to load module SPlot
Failed to load module RooFit
Failed to load module GeomBuilder
Failed to load module ROOT_Config
Failed to load module MemStat
Failed to load module Rint
Failed to load module XMLParser
Failed to load module MultiProc
Failed to load module RooStats
Failed to load module RooFitMore
Failed to load module Proof
Failed to load module Ged
Failed to load module Recorder
Failed to load module GuiBld
Failed to load module RooFitCore
Failed to load module Gui
Failed to load module SQLIO
Failed to load module XMLIO
Failed to load module ROOT_Rtypes
Failed to load module std
Failed to load module RIO
Failed to load module ProofPlayer
Failed to load module ASImage
Failed to load module ROOT_Foundation_C
Failed to load module MathMore
Failed to load module Foam
Failed to load module RSQLite
Failed to load module SpectrumPainter
Failed to load module Minuit2
Failed to load module Core
Failed to load module MLP
Failed to load module ROOTDataFrame
Failed to load module GenVector
Failed to load module Minuit
Failed to load module RootAuth
Failed to load module Graf3d
Failed to load module TMVA
Failed to load module ASImageGui
Failed to load module Graf
Failed to load module Gdml
Failed to load module ProofBench
Failed to load module Cling_Runtime_Extra
Failed to load module MathCore
Failed to load module Gviz3d
Failed to load module ROOTTPython
Failed to load module TreePlayer
Failed to load module Smatrix
Failed to load module SessionViewer
Failed to load module Thread
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::keepTypedef(cling::LookupHelper const&, char const*, bool) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCling.so] ROOT::TMetaUtils::TNormalizedCtxtImpl::TNormalizedCtxtImpl(cling::LookupHelper const&) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCling.so] ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCling.so] TCling::TCling(char const*, char const*, char const* const*) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCling.so] CreateInterpreter (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCore.so] TROOT::InitInterpreter() (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCore.so] ROOT::Internal::GetROOT2() (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libCore.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/lib/libRint.so] TRint::TRint(char const*, int*, char**, void*, int, bool) (no debug info)
[/Users/diiego/software/ROOT/ROOT_6.24/install/bin/root.exe] main (no debug info)
[/usr/lib/dyld] start (no debug info)
I will try to install root-v6.24.00-patches and see if I can go back at least to the “G4 working unless ROOT per se doesn’t”, but I would very much appreciate a solution since I need ROOT-v6.24 because is the last one to support C++ 11.
If you don’t understand something please let me know!
Thanks in advance, Diego