Hi
I’ve recently upgraded my Mac OS to Big Sur and wanted to update my Root to version 22.6.
I can source thisroot.sh and it gives no error.
However when I start with the command root
I get following error and then Segmentation Fault:
Francescas-MacBook-Pro-272:Applications fstocker$ root
warning: no such sysroot directory: '/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
*** Break *** segmentation violation
[/usr/lib/system/libsystem_platform.dylib] _sigtramp (no debug info)
[<unknown binary>] (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] (anonymous namespace)::RedirectingFileSystemParser::uniqueOverlayTree((anonymous namespace)::RedirectingFileSystem*, (anonymous namespace)::Entry*, (anonymous namespace)::Entry*) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] (anonymous namespace)::RedirectingFileSystem::create(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr<clang::vfs::FileSystem>) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] clang::vfs::getVFSFromYAML(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >, void (*)(llvm::SMDiagnostic const&, void*), llvm::StringRef, void*, llvm::IntrusiveRefCntPtr<clang::vfs::FileSystem>) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] (anonymous namespace)::createCIImpl(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >, cling::CompilerOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_delete<clang::ASTConsumer> >, std::__1::vector<std::__1::shared_ptr<clang::ModuleFileExtension>, std::__1::allocator<std::__1::shared_ptr<clang::ModuleFileExtension> > > const&, bool, bool) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] cling::CIFactory::createCI(llvm::StringRef, cling::InvocationOptions const&, char const*, std::__1::unique_ptr<clang::ASTConsumer, std::__1::default_delete<clang::ASTConsumer> >, std::__1::vector<std::__1::shared_ptr<clang::ModuleFileExtension>, std::__1::allocator<std::__1::shared_ptr<clang::ModuleFileExtension> > > const&) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] cling::IncrementalParser::IncrementalParser(cling::Interpreter*, char const*, std::__1::vector<std::__1::shared_ptr<clang::ModuleFileExtension>, std::__1::allocator<std::__1::shared_ptr<clang::ModuleFileExtension> > > const&) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] cling::Interpreter::Interpreter(int, char const* const*, char const*, std::__1::vector<std::__1::shared_ptr<clang::ModuleFileExtension>, std::__1::allocator<std::__1::shared_ptr<clang::ModuleFileExtension> > > const&, bool, cling::Interpreter const*) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] TCling::TCling(char const*, char const*, char const* const*) (no debug info)
[/Users/fstocker/Applications/root/lib/libCling.6.22.06.so] CreateInterpreter (no debug info)
[/Users/fstocker/Applications/root/lib/libCore.6.22.06.so] TROOT::InitInterpreter() (no debug info)
[/Users/fstocker/Applications/root/lib/libCore.6.22.06.so] ROOT::Internal::GetROOT2() (no debug info)
[/Users/fstocker/Applications/root/lib/libCore.6.22.06.so] TApplication::TApplication(char const*, int*, char**, void*, int) (no debug info)
[/Users/fstocker/Applications/root/lib/libRint.6.22.06.so] TRint::TRint(char const*, int*, char**, void*, int, bool) (no debug info)
[/Users/fstocker/Applications/root/bin/root.exe] main (no debug info)
[/usr/lib/system/libdyld.dylib] start (no debug info)
I have tried to uninstall and reinstall xcode with
sudo rm -r /Library/Developer/CommandLineTools/
xcode-select --install
however that does not seem to resolve the problem. any suggestions what else I can do?
thank you,
francesca
_ROOT Version: 22.6.06
Platform: Not Provided
Compiler: Not Provided