You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on MacOS 15, m1 pro, see the compiling errors below:
[ 77%] Built target clingMetaProcessor
[ 77%] Built target CLING
[ 77%] Built target LLVMRES
[ 77%] Built target ClingUtils
[ 77%] Built target Dictgen
[ 77%] Built target rootcling_stage1
[ 77%] Built target MetaCling
[ 77%] Generating G__Core.cxx, ../lib/Core.pcm
[ 77%] Linking CXX shared library ../../../lib/libCling.so
[ 77%] Built target Cling
While building module 'Core':
While building module 'std' imported from input_line_1:1:
While building module '_wctype' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wctype.h:31:
While building module '__wctype' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wctype.h:36:
In file included from :1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/___wctype.h:72:10: fatal error: cyclic dependency in module 'std': std -> _wctype -> __wctype -> std
#include <ctype.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wctype.h:36:10: fatal error: could not build module '__wctype'
#include <_types/_wctrans_t.h>
While building module 'Core':
While building module 'std' imported from input_line_1:1:
In file included from <module-includes>:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/algorithm:1804:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/__algorithm/find.h:31:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/cwchar:112:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/cwctype:56:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1/wctype.h:68:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wctype.h:31:10: fatal error: could not build module '_wctype'
#include <_wctype.h>
~~~~~~~~^
While building module 'Core':
While building module 'std' imported from input_line_1:1:
While building module '_wchar' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wchar.h:67:
In file included from <module-includes>:1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wchar.h:76:10: fatal error: could not build module '__wctype'
#include <sys/_types/_mbstate_t.h>
~~~~~~~~^
input_line_1:1:10: fatal error: could not build module 'std'
#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: ''
While building module 'Core':
While building module 'Cling_Runtime' imported from input_line_2:1:
While building module 'Cling_Runtime_Extra' imported from /Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/RuntimeUniverse.h:27:
In file included from <module-includes>:1:
/Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/DynamicExprInfo.h:13:10: fatal error: could not build module 'std'
#include <string>
~~~~~~~~^
/Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/RuntimeUniverse.h:27:10: fatal error: could not build module 'Cling_Runtime_Extra'
#include "cling/Interpreter/Visibility.h"
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 rootcling_stage1 0x0000000107881888 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 rootcling_stage1 0x00000001078807fc llvm::sys::RunSignalHandlers() + 64
2 rootcling_stage1 0x0000000107881ea4 SignalHandler(int) + 292
3 libsystem_platform.dylib 0x0000000187a44184 _sigtramp + 56
4 rootcling_stage1 0x00000001050ba940 clang::Parser::ParseCompoundStatementBody(bool) + 316
5 rootcling_stage1 0x00000001050ba940 clang::Parser::ParseCompoundStatementBody(bool) + 316
6 rootcling_stage1 0x00000001050b30e4 clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&) + 2072
7 rootcling_stage1 0x00000001050b26cc clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) + 288
8 rootcling_stage1 0x000000010503942c clang::Parser::ParseTopLevelStmtDecl() + 88
9 rootcling_stage1 0x00000001050d1cf8 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) + 2176
10 rootcling_stage1 0x0000000105044004 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) + 244
11 rootcling_stage1 0x0000000105043664 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) + 4252
12 rootcling_stage1 0x000000010502b030 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) + 1060
13 rootcling_stage1 0x00000001050d1670 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) + 504
14 rootcling_stage1 0x00000001050d024c clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) + 1452
15 rootcling_stage1 0x0000000105018384 clang::ParseAST(clang::Sema&, bool, bool) + 592
16 rootcling_stage1 0x0000000104e739cc clang::FrontendAction::Execute() + 108
17 rootcling_stage1 0x0000000104e039a4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 804
18 rootcling_stage1 0x0000000104e0b348 void llvm::function_ref<void ()>::callback_fn<compileModuleImpl(clang::CompilerInstance&, clang::SourceLocation, llvm::StringRef, clang::FrontendInputFile, llvm::StringRef, llvm::StringRef, llvm::function_ref<void (clang::CompilerInstance&)>, llvm::function_ref<void (clang::CompilerInstance&)>)::$_1>(long) + 56
19 rootcling_stage1 0x00000001077c389c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 140
20 rootcling_stage1 0x0000000104e0948c compileModuleImpl(clang::CompilerInstance&, clang::SourceLocation, llvm::StringRef, clang::FrontendInputFile, llvm::StringRef, llvm::StringRef, llvm::function_ref<void (clang::CompilerInstance&)>, llvm::function_ref<void (clang::CompilerInstance&)>) + 2848
21 rootcling_stage1 0x0000000104e0a6d0 compileModuleAndReadASTImpl(clang::CompilerInstance&, clang::SourceLocation, clang::SourceLocation, clang::Module*, llvm::StringRef) + 1860
22 rootcling_stage1 0x0000000104e06378 compileModuleAndReadAST(clang::CompilerInstance&, clang::SourceLocation, clang::SourceLocation, clang::Module*, llvm::StringRef) + 1284
23 rootcling_stage1 0x0000000104e05b54 clang::CompilerInstance::findOrCompileModuleAndReadAST(llvm::StringRef, clang::SourceLocation, clang::SourceLocation, bool) + 2112
24 rootcling_stage1 0x0000000104e065c8 clang::CompilerInstance::loadModule(clang::SourceLocation, llvm::ArrayRef<std::__1::pair<clang::IdentifierInfo*, clang::SourceLocation>>, clang::Module::NameVisibilityKind, bool) + 516
25 rootcling_stage1 0x0000000105db3628 clang::Preprocessor::HandleHeaderIncludeOrImport(clang::SourceLocation, clang::Token&, clang::Token&, clang::SourceLocation, clang::detail::SearchDirIteratorImpl<true>, clang::FileEntry const*) + 3988
26 rootcling_stage1 0x0000000105dadc08 clang::Preprocessor::HandleIncludeDirective(clang::SourceLocation, clang::Token&, clang::detail::SearchDirIteratorImpl<true>, clang::FileEntry const*) + 144
27 rootcling_stage1 0x0000000105dae410 clang::Preprocessor::HandleDirective(clang::Token&) + 1604
28 rootcling_stage1 0x0000000105d85814 clang::Lexer::LexTokenInternal(clang::Token&, bool) + 5604
29 rootcling_stage1 0x0000000105de0c28 clang::Preprocessor::Lex(clang::Token&) + 104
30 rootcling_stage1 0x00000001050cfd08 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) + 104
31 rootcling_stage1 0x0000000104a1a74c cling::IncrementalParser::ParseInternal(llvm::StringRef) + 1376
32 rootcling_stage1 0x0000000104a1bc50 cling::IncrementalParser::Compile(llvm::StringRef, cling::CompilationOptions const&) + 60
33 rootcling_stage1 0x0000000104a229e4 cling::Interpreter::declare(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, cling::Transaction**) + 216
34 rootcling_stage1 0x0000000104a21ecc cling::Interpreter::Initialize(bool, bool, llvm::SmallVectorImpl<llvm::StringRef>&) + 2204
35 rootcling_stage1 0x0000000104a2109c 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&, void*, bool, cling::Interpreter const*) + 2528
36 rootcling_stage1 0x0000000104920bd4 RootClingMain(int, char**, bool) + 13976
37 rootcling_stage1 0x000000010492fc04 ROOT_rootcling_Driver + 868
38 rootcling_stage1 0x00000001048c8308 main + 64
39 dyld 0x000000018768c274 start + 2840
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /Users/josiahlee/WORK/Tools/root_build_release/core/rootcling_stage1/src/rootcling_stage1 -v2 -f G__Core.cxx -cxxmodule -s /Users/josiahlee/WORK/Tools/root_build_release/lib/libCore.so -excludePath /Users/josiahlee/WORK/Tools/root-6.32.04 -excludePath /Users/josiahlee/WORK/Tools/root_build_release/ginclude -excludePath /Users/josiahlee/WORK/Tools/root_build_release/externals -excludePath /Users/josiahlee/WORK/Tools/root_build_release/builtins -writeEmptyRootPCM -m _Builtin_intrinsics -mByproduct _Builtin_intrinsics -mByproduct ROOT_Foundation_Stage1_NoRTTI -mByproduct ROOT_Foundation_C -mByproduct ROOT_Rtypes -DR__ARC4_STDLIB -D__STDC_NO_COMPLEX__ -D__COMPLEX_H__ -D_COMPLEX_H -D__CLANG_STDATOMIC_H -compilerI/Users/josiahlee/WORK/Tools/GEANT/install/include -compilerI/Users/josiahlee/WORK/Tools/clhep_install/include -compilerI/opt/homebrew/opt/libomp/include -compilerI/opt/homebrew/opt/open-mpi/include -compilerI/Users/josiahlee/WORK/Tools/xerces-c-3.2.4-install/include -compilerI/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include/c++/v1 -compilerI/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -compilerI/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include -compilerI/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -compilerI/Users/josiahlee/WORK/Tools/GEANT/install/include -compilerI/Users/josiahlee/WORK/Tools/clhep_install/include -compilerI/opt/homebrew/opt/libomp/include -compilerI/opt/homebrew/opt/open-mpi/include -compilerI/Users/josiahlee/WORK/Tools/xerces-c-3.2.4-install/include -compilerI/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/16/include -compilerI/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/include -compilerI/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/josiahlee/WORK/Tools/root_build_release/include -I/opt/homebrew/include -I/Users/josiahlee/WORK/Tools/root_build_release/ginclude -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/base/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/base/v7/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/clib/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/clingutils/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/clingutils/res -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/cont/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/foundation/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/foundation/v7/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/foundation/res -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/gui/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/meta/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/rint/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/textinput/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/textinput/src -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/thread/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/zip/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/lzma/inc -I/opt/homebrew/include -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/lz4/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/zstd/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/builtins/zstd -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/macosx/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/unix/inc -I/Users/josiahlee/WORK/Tools/root-6.32.04/core/unix/../clib/res -I/Users/josiahlee/WORK/Tools/root_build_release/builtins/pcre/PCRE-prefix/src/PCRE-build -I/Users/josiahlee/WORK/Tools/root-6.32.04/builtins/zlib -I/Users/josiahlee/WORK/Tools/root-6.32.04/builtins/xxhash ROOT/TErrorDefaultHandler.hxx ROOT/TExecutorCRTP.hxx ROOT/TSequentialExecutor.hxx ROOT/StringConv.hxx Buttons.h Bytes.h Byteswap.h KeySymbols.h MessageTypes.h Riostream.h Rtypes.h TApplication.h TAtt3D.h TAttAxis.h TAttBBox2D.h TAttBBox.h TAttFill.h TAttLine.h TAttMarker.h TAttPad.h TAttText.h TBase64.h TBenchmark.h TBuffer3D.h TBuffer3DTypes.h TBuffer.h TColor.h TColorGradient.h TDatime.h TDirectory.h TEnv.h TException.h TExec.h TFileCollection.h TFileInfo.h TFolder.h TInetAddress.h TMacro.h TMathBase.h TMD5.h TMemberInspector.h TMessageHandler.h TNamed.h TNotifyLink.h TObject.h TObjString.h TParameter.h TPluginManager.h TPoint.h TPRegexp.h TProcessID.h TProcessUUID.h TQClass.h TQCommand.h TQConnection.h TQObject.h TRedirectOutputGuard.h TRefCnt.h TRef.h TRegexp.h TRemoteObject.h TROOT.h TRootIOCtor.h TStopwatch.h TStorage.h TString.h TStringLong.h TStyle.h TSysEvtHandler.h TSystemDirectory.h TSystemFile.h TSystem.h TTask.h TThreadSlots.h TTime.h TTimer.h TTimeStamp.h TUri.h TUrl.h TUUID.h TVersionCheck.h TVirtualAuth.h TVirtualFFT.h TVirtualGL.h TVirtualMonitoring.h TVirtualMapFile.h TVirtualMutex.h TVirtualPadEditor.h TVirtualPad.h TVirtualPadPainter.h TVirtualPerfStats.h TVirtualPS.h TVirtualQConnection.h TVirtualRWMutex.h TVirtualTableInterface.h TVirtualViewer3D.h TVirtualX.h ROOT/RFloat16.hxx ROOT/RDirectoryEntry.hxx ROOT/RIndexIter.hxx strlcpy.h snprintf.h strtok.h root_std_complex.h ROOT/TSeq.hxx TArrayC.h TArrayD.h TArrayF.h TArray.h TArrayI.h TArrayL64.h TArrayL.h TArrayS.h TBits.h TBtree.h TClassTable.h TClonesArray.h TCollection.h TCollectionProxyInfo.h TExMap.h THashList.h THashTable.h TIterator.h TList.h TMap.h TObjArray.h TObjectTable.h TOrdCollection.h TRefArray.h TRefTable.h TSeqCollection.h TSortedList.h TVirtualCollectionProxy.h ESTLType.h RStringView.h TClassEdit.h TError.h ThreadLocalStorage.h ROOT/RLogger.hxx ROOT/RNotFn.hxx ROOT/RRangeCast.hxx ROOT/RSpan.hxx ROOT/RStringView.hxx ROOT/StringUtils.hxx ROOT/span.hxx ROOT/TypeTraits.hxx ROOT/RError.hxx GuiTypes.h TApplicationImp.h TBrowser.h TBrowserImp.h TCanvasImp.h TClassMenuItem.h TContextMenu.h TContextMenuImp.h TControlBarImp.h TGuiFactory.h TInspectorImp.h TObjectSpy.h TToggleGroup.h TToggle.h TBaseClass.h TClassGenerator.h TClass.h TClassRef.h TClassStreamer.h TDataMember.h TDataType.h TDictAttributeMap.h TDictionary.h TEnumConstant.h TEnum.h TFileMergeInfo.h TFunction.h TFunctionTemplate.h TGenericClassInfo.h TGlobal.h TInterpreter.h TInterpreterValue.h TIsAProxy.h TListOfDataMembers.h TListOfEnums.h TListOfEnumsWithLock.h TListOfFunctions.h TListOfFunctionTemplates.h TMemberStreamer.h TMethodArg.h TMethodCall.h TMethod.h TProtoClass.h TRealData.h TSchemaHelper.h TSchemaRule.h TSchemaRuleSet.h TStatusBitsChecker.h TStreamerElement.h TStreamer.h TVirtualIsAProxy.h TVirtualRefProxy.h TVirtualStreamerInfo.h TVirtualArray.h TVirtualObject.h Getline.h TMacOSXSystem.h TUnixSystem.h /Users/josiahlee/WORK/Tools/root-6.32.04/core/base/inc/LinkDef.h
1. /Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/RuntimePrintValue.h:319:5: current parser token 'using'
2. /Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/RuntimePrintValue.h:33:1: parsing namespace 'cling'
3. /Users/josiahlee/WORK/Tools/root_build_release/etc/cling/Interpreter/RuntimePrintValue.h:318:3: in compound statement ('{}')
Segmentation fault
make[2]: *** [core/G__Core.cxx] Error 1
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2
make: *** [all] Error 2
### Reproducer
build from source
### ROOT version
6.32.04
### Installation method
build from source
### Operating system
MacOS
### Additional context
_No response_
The text was updated successfully, but these errors were encountered:
to complement the reply of @vepadulano , which I fully support, I'd like to mention that v6.32.06, providing macOS 15 Sequoia support, has just been released:
Check duplicate issues.
Description
on MacOS 15, m1 pro, see the compiling errors below:
[ 77%] Built target clingMetaProcessor
[ 77%] Built target CLING
[ 77%] Built target LLVMRES
[ 77%] Built target ClingUtils
[ 77%] Built target Dictgen
[ 77%] Built target rootcling_stage1
[ 77%] Built target MetaCling
[ 77%] Generating G__Core.cxx, ../lib/Core.pcm
[ 77%] Linking CXX shared library ../../../lib/libCling.so
[ 77%] Built target Cling
While building module 'Core':
While building module 'std' imported from input_line_1:1:
While building module '_wctype' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/wctype.h:31:
While building module '__wctype' imported from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wctype.h:36:
In file included from :1:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/___wctype.h:72:10: fatal error: cyclic dependency in module 'std': std -> _wctype -> __wctype -> std
#include <ctype.h>
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_wctype.h:36:10: fatal error: could not build module '__wctype'
#include <_types/_wctrans_t.h>
The text was updated successfully, but these errors were encountered: