cling
cling copied to clipboard
Improve macOS SDK situation
Explain what you would like to see improved
The other day I had another attempt on fixing our <cmath>
-related compilation errors of ROOT (see e.g. https://github.com/root-project/root/issues/7881). I found that setting the $SDKROOT
to the latest available version would solve the issue. However, when compiling within the Homebrew context, the policy is to set the $SDKROOT
matching the major macOS version which does not work for ROOT e.g. on macOS 11 with CLT 13. With the help of @Bo98 I believe we found the underlying issue (https://github.com/Homebrew/homebrew-core/pull/102151):
❯ sw_vers
ProductName: macOS
ProductVersion: 11.6.5
BuildVersion: 20G527
❯ xcrun --show-sdk-path
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
❯ ls -l /Library/Developer/CommandLineTools/SDKs
total 0
lrwxr-xr-x 1 root wheel 14 Jan 14 13:35 MacOSX.sdk -> MacOSX12.1.sdk
drwxr-xr-x 8 root wheel 256 Jan 14 13:24 MacOSX10.15.sdk
drwxr-xr-x 7 root wheel 224 Nov 30 2020 MacOSX11.1.sdk
drwxr-xr-x 7 root wheel 224 Jan 14 13:35 MacOSX11.3.sdk
lrwxr-xr-x 1 root wheel 14 Jan 14 13:34 MacOSX11.sdk -> MacOSX11.3.sdk
drwxr-xr-x 7 root wheel 224 Jan 14 13:36 MacOSX12.1.sdk
lrwxr-xr-x 1 root wheel 14 Jan 14 13:34 MacOSX12.sdk -> MacOSX12.1.sdk
So, eventually, when there is a new major macOS release available, recent versions of the CLT package (and I suspect also XCode.app) would contain also SDKs for that newer version. Note MacOSX.sdk -> MacOSX12.1.sdk
.
a89bbcbb04249df6a67ae10fe5edf45e0918edba relaxed the compile-time binding of Cling's -isysroot
introduced in c23abbc88b6ee61b966291c785794743b1bd5c62 (see also #456). However, it does not account for the case described above.
Optional: share how it could be improved
It looks like stripping only minor version and binding to a MacOSX<matching-major-os-version>.sdk
instead of MacOSX.sdk
makes at least ROOT 6.26/02 compile fine in such cases on older macOS releases with using an older SDK version.
a89bbcbb04249df6a67ae10fe5edf45e0918edba also added a comment:
# FIXME: That is a horrible hack and we should teach CIFactory to pick up
# the SDK directory at runtime, just as we do for the include paths to C++.
However, now I am confused after I saw c23abbc88b6ee61b966291c785794743b1bd5c62 which removed exactly such a run-time based discovery. (cc @Axel-Naumann @vgvassilev as you are the authors of those changes)
I believe we should reintroduce some run-time logic,
- but also keep recording the compile-time chosen SDK version/path.
- And then implement a heuristic which tries to pick the best fitting available SDK at run-time.
- This heuristic can be adjusted in the future according to our experince (e.g. I have heard that there may be breaking changes by Apple even in minor version changes between the SDKs in macOS 12 nowadays)
- In addition, I would add a run-time override (env variable?) for the user to be able to exactly pick an SDK of her choice - just in case.
What do you think?
Thanks a lot for the report.
There's another dimension to this; the runtime versus build time SDK was checked through the modules system. How much of this is still an issue after Chris Burr's recent change, @vgvassilev ?
@Axel-Naumann, I think we are talking about standalone cling where no C++ modules are involved.
@dennisklein is that so, or do you see this in the context of ROOT (as you seem to indicate in your first sentence)?
I see this with the Cling embedded in ROOT 6.26/02 (and from memory earlier versions, probably 6.22?, basically the ROOT version we were using around the time macOS 11 was out and we eventually updated the CLT on our macOS 10.14/10.15 CI machines back then).
However, this particular <cmath>
related compile errors appear to be independent of the runtime_cxxmodules
compile flag of ROOT (if that is what you mean by C++ modules - If I should have made this issue in the root project, my bad :sweat: - I guess from the POV of Cling this is rather a runtime error). Please consider the following logs:
alfaci@witmac007 dklein % sw_vers
ProductName: macOS
ProductVersion: 11.6.5
BuildVersion: 20G527
alfaci@witmac007 dklein % brew config # only using this command because it prints nicely all the system info
...skip...
CPU: dodeca-core 64-bit kabylake
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.6.5-x86_64
CLT: 13.2.0.0.1.1638488800
Xcode: N/A
alfaci@witmac007 dklein % git -C root describe # ROOT sources in directory `root`
v6-25-02-1476-g5761d111bf
-Druntime_cxxmodules=ON
(default):
alfaci@witmac007 dklein % cmake -GNinja -Sroot -Broot-build -DCMAKE_INSTALL_PREFIX=root-install -Dbuiltin_glew=ON -DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
...skip...
-- ROOT Configuration
System Darwin-20.6.0
Processor 6 core Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (x86_64)
Build type Release
Install path /Users/alfaci/dklein/root-install
Compiler AppleClang 13.0.0.13000029
Compiler flags:
C -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++ -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable -mmacosx-version-min=11.6
Module
Shared
-- Enabled support for: asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt clad cocoa dataframe davix exceptions fftw3 fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot roofit rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
...skip...
long config output
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.32.0 (Apple Git-132)")
-- Detected ROOT_VERSION 6.27.01
-- Checking internet connectivity...
-- Yes
-- Looking for Python
-- Found Python3: /usr/local/bin/python3.9 (found version "3.9.13") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Found Python2: /usr/bin/python2.7 (found version "2.7.16") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system 11.6
-- Found an x86_64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 13.0.0.13000029
-- ROOT Processor: x86_64
-- ROOT Architecture: macosx64
-- Build Type: 'Release' (flags = '-O3 -DNDEBUG')
-- Compiler Flags: -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
-- ROOT default compression algorithm: zlib
-- PyROOT will be built for versions 3.9.13 (Main) and 2.7.16
-- Looking for ZLib
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Looking for nlohmann/json.hpp
-- nlohmann/json.hpp not found. Switching on builtin_nlohmannjson option
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE: /usr/local/include (found version "8.45")
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd (found version "5.2.5")
-- Looking for xxHash
-- Found xxHash: /usr/local/lib/libxxhash.dylib (found version "0.8.1")
-- Looking for ZSTD
-- Found ZSTD: /usr/local/lib/libzstd.dylib
-- Looking for LZ4
-- Found LZ4: /usr/local/lib/liblz4.dylib (found version "1.9.3")
-- Found GIF: /usr/local/lib/libgif.dylib (found version "5.2.1")
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.3.0")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.37")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "90")
-- Looking for AfterImage
-- Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
-- AfterImage not found. Switching on builtin_afterimage option
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Found GSL: /usr/local/Cellar/gsl/2.7.1/include (found suitable version "2.7.1", minimum required is "1.10")
-- Looking for OpenGL
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/OpenGL.framework
-- Looking for gl2ps
-- Found gl2ps: /usr/local/lib/libgl2ps.dylib
-- Looking for LibXml2
-- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libxml2.tbd (found version "2.9.4")
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- OpenSSL not found, switching ON 'builtin_openssl' option.
-- Found OpenSSL: /Users/alfaci/dklein/root-build/builtins/openssl/OPENSSL-prefix/include (found version "1.1.1g")
-- Looking for MySQL
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
-- currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
-- currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found Sqlite: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- Found fftw3 includes at /usr/local/include
-- Found fftw3 library at /usr/local/lib/libfftw3.dylib
-- Looking for CFITSIO
-- Found CFITSIO: /usr/local/lib/libcfitsio.dylib (found version "4.1")
-- Looking for XROOTD
-- Found Xrootd version num: 5.4.2 (setting -DROOTXRDVERS=500040002)
-- libXrdMain not found: xproofd will be a wrapper around xrootd
-- libXrdClient not found: use built-in
-- include_dirs: /usr/local/include/xrootd;/Users/alfaci/dklein/root/proof/xrdinc
-- libraries: /usr/local/lib/libXrdUtils.dylib;/usr/local/lib/libXrdCl.dylib
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Found FTGL: /usr/local/include
-- Checking for module 'davix>=0.6.4'
-- Found davix, version 0.8.1
-- Looking for TBB
-- Found TBB: /usr/local (Required is at least version "2018")
-- Looking for VDT
-- Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY) (Required is at least version "0.4")
-- VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
-- Switching ON 'builtin_vdt' option
-- Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Accelerate.framework
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Ninja version: 1.11.0
-- Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-apple-darwin20.6.0
-- LLVM default target triple: x86_64-apple-darwin20.6.0
-- Building with -fPIC
-- Found PythonInterp: /usr/local/bin/python3.9 (found version "3.9.13")
-- Constructing LLVMBuild project information
-- Linker detection: ld64
-- Targeting X86
-- Targeting NVPTX
-- Clang version: 9.0.1
-- Cling version (from VERSION file): ROOT_1.0~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1' at runtime.
-- And if not found, will invoke: '/Library/Developer/CommandLineTools/usr/bin/c++ ' for them.
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Use SSL API VERSION 1.1 for civetweb
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_opplusequal_stringview
-- Performing Test found_opplusequal_stringview - Success
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Success
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /Users/alfaci/dklein/root/build/unix/compiledata.sh
Making /Users/alfaci/dklein/root-build/ginclude/compiledata.h
-- ROOT Configuration
System Darwin-20.6.0
Processor 6 core Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (x86_64)
Build type Release
Install path /Users/alfaci/dklein/root-install
Compiler AppleClang 13.0.0.13000029
Compiler flags:
C -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++ -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable -mmacosx-version-min=11.6
Module
Shared
-- Enabled support for: asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt clad cocoa dataframe davix exceptions fftw3 fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot roofit rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/alfaci/dklein/root-build
alfaci@witmac007 dklein % cmake --build root-build
[2393/9301] Performing patch step for 'OPENSSL'
patching file Configurations/10-main.conf
[6840/9301] Linking CXX static library lib/libclingUtils.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingUtils.a(PlatformWin.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingUtils.a(PlatformWin.cpp.o) has no symbols
[6846/9301] Linking CXX static library lib/libclingInterpreter.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingInterpreter.a(PerfJITEventListener.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingInterpreter.a(PerfJITEventListener.cpp.o) has no symbols
[7028/9301] Generating G__Core.cxx, ../lib/Core.pcm
FAILED: core/G__Core.cxx lib/Core.pcm /Users/alfaci/dklein/root-build/core/G__Core.cxx /Users/alfaci/dklein/root-build/lib/Core.pcm
cd /Users/alfaci/dklein/root-build/core && /usr/local/Cellar/cmake/3.23.1_1/bin/cmake -E env LD_LIBRARY_PATH=/Users/alfaci/dklein/root-build/lib: /Users/alfaci/dklein/root-build/core/rootcling_stage1/src/rootcling_stage1 -v2 -f G__Core.cxx -cxxmodule -s /Users/alfaci/dklein/root-build/lib/libCore.so -excludePath /Users/alfaci/dklein/root -excludePath /Users/alfaci/dklein/root-build/ginclude -excludePath /Users/alfaci/dklein/root-build/externals -excludePath /Users/alfaci/dklein/root-build/builtins -writeEmptyRootPCM -m _Builtin_intrinsics -mByproduct _Builtin_intrinsics -mByproduct ROOT_Foundation_Stage1_NoRTTI -mByproduct ROOT_Foundation_C -mByproduct ROOT_Rtypes -D__STDC_NO_COMPLEX__ -D__COMPLEX_H__ -D_COMPLEX_H -D__CLANG_STDATOMIC_H -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1 -compilerI/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include -compilerI/Library/Developer/CommandLineTools/usr/include -compilerI/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include -compilerI/Library/Developer/CommandLineTools/usr/include -I/Users/alfaci/dklein/root-build/include -I/Users/alfaci/dklein/root-build/ginclude -I/Users/alfaci/dklein/root/core/base/inc -I/Users/alfaci/dklein/root/core/foundation/inc -I/Users/alfaci/dklein/root/core/cont/inc -I/Users/alfaci/dklein/root/core/gui/inc -I/Users/alfaci/dklein/root/core/meta/inc -I/Users/alfaci/dklein/root/core/clib/inc -I/Users/alfaci/dklein/root/core/rint/inc -I/Users/alfaci/dklein/root/core/zip/inc -I/Users/alfaci/dklein/root/core/thread/inc -I/Users/alfaci/dklein/root/core/textinput/inc -I/Users/alfaci/dklein/root/core/clingutils/inc -I/Users/alfaci/dklein/root/core/base/v7/inc -I/Users/alfaci/dklein/root/core/foundation/v7/inc -I/Users/alfaci/dklein/root/core/unix/inc -I/Users/alfaci/dklein/root/core/macosx/inc -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include ROOT/TErrorDefaultHandler.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 TVirtualMutex.h TVirtualPadEditor.h TVirtualPad.h TVirtualPadPainter.h TVirtualPerfStats.h TVirtualPS.h TVirtualQConnection.h TVirtualRWMutex.h TVirtualTableInterface.h TVirtualViewer3D.h TVirtualX.h strlcpy.h snprintf.h strtok.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 ROOT/RLogger.hxx ROOT/RNotFn.hxx ROOT/RRangeCast.hxx ROOT/RSpan.hxx ROOT/RStringView.hxx ROOT/StringUtils.hxx ROOT/span.hxx ROOT/TypeTraits.hxx TMacOSXSystem.h TUnixSystem.h root_std_complex.h 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 /Users/alfaci/dklein/root/core/base/inc/LinkDef.h
While building module 'Core':
While building module 'std' imported from input_line_1:1:
In file included from <module-includes>:31:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex.h:28:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ccomplex:20:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/complex:245:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: missing '#include "/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h"'; declaration of 'signbit' must be imported from module 'std.depr.math_h' before it is required
using ::signbit;
^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h:329:1: note: previous declaration is here
signbit(_A1 __lcpp_x) _NOEXCEPT
^
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/alfaci/dklein/root-build/etc/cling/Interpreter/RuntimeUniverse.h:27:
In file included from <module-includes>:1:
/Users/alfaci/dklein/root-build/etc/cling/Interpreter/DynamicExprInfo.h:13:10: fatal error: could not build module 'std'
#include <string>
~~~~~~~~^
/Users/alfaci/dklein/root-build/etc/cling/Interpreter/RuntimeUniverse.h:27:10: fatal error: could not build module 'Cling_Runtime_Extra'
#include "cling/Interpreter/Visibility.h"
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Rtypes' imported from /Users/alfaci/dklein/root-build/include/Rtypes.h:23:
In file included from <module-includes>:1:
/Users/alfaci/dklein/root-build/include/RtypesCore.h:28:10: fatal error: could not build module 'std'
#include <cstddef> // size_t, NULL
~~~~~~~~^
In file included from input_line_3:2:
/Users/alfaci/dklein/root-build/include/Rtypes.h:23:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_C' imported from /Users/alfaci/dklein/root-build/include/Rtypes.h:29:
In file included from <module-includes>:1:
/Users/alfaci/dklein/root-build/include/ThreadLocalStorage.h:60:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_Stage1_NoRTTI' imported from /Users/alfaci/dklein/root-build/include/Rtypes.h:195:
In file included from <module-includes>:2:
/Users/alfaci/dklein/root-build/include/ROOT/RStringView.hxx:25:10: fatal error: could not build module 'std'
#include <string_view>
~~~~~~~~^
Error: Error loading the default rootcling header files.
[7029/9301] Building CXX object core/metacling/src/CMakeFiles/MetaCling.dir/TCling.cxx.o
ninja: build stopped: subcommand failed.
-Druntime_cxxmodules=OFF
:
alfaci@witmac007 dklein % cmake -GNinja -Sroot -Broot-build-2 -DCMAKE_INSTALL_PREFIX=root-install-2 -Dbuiltin_glew=ON -DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -Druntime_cxxmodules=OFF
...skip...
-- ROOT Configuration
System Darwin-20.6.0
Processor 6 core Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (x86_64)
Build type Release
Install path /Users/alfaci/dklein/root-install-2
Compiler AppleClang 13.0.0.13000029
Compiler flags:
C -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++ -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable -mmacosx-version-min=11.6
Module
Shared
-- Enabled support for: asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt clad cocoa dataframe davix exceptions fftw3 fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot roofit rpath shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
...skip...
long config output
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.32.0 (Apple Git-132)")
-- Detected ROOT_VERSION 6.27.01
-- Checking internet connectivity...
-- Yes
-- Looking for Python
-- Found Python3: /usr/local/bin/python3.9 (found version "3.9.13") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Found Python2: /usr/bin/python2.7 (found version "2.7.16") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system 11.6
-- Found an x86_64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 13.0.0.13000029
-- ROOT Processor: x86_64
-- ROOT Architecture: macosx64
-- Build Type: 'Release' (flags = '-O3 -DNDEBUG')
-- Compiler Flags: -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
-- ROOT default compression algorithm: zlib
-- PyROOT will be built for versions 3.9.13 (Main) and 2.7.16
-- Looking for ZLib
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- Looking for nlohmann/json.hpp
-- nlohmann/json.hpp not found. Switching on builtin_nlohmannjson option
-- Building freetype version 2.12.1 included in ROOT itself
-- Looking for PCRE
-- Found PCRE: /usr/local/include (found version "8.45")
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd - found
-- Found LibLZMA: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/liblzma.tbd (found version "5.2.5")
-- Looking for xxHash
-- Found xxHash: /usr/local/lib/libxxhash.dylib (found version "0.8.1")
-- Looking for ZSTD
-- Found ZSTD: /usr/local/lib/libzstd.dylib
-- Looking for LZ4
-- Found LZ4: /usr/local/lib/liblz4.dylib (found version "1.9.3")
-- Found GIF: /usr/local/lib/libgif.dylib (found version "5.2.1")
-- Found TIFF: /usr/local/lib/libtiff.dylib (found version "4.3.0")
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.37")
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "90")
-- Looking for AfterImage
-- Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
-- AfterImage not found. Switching on builtin_afterimage option
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Found GSL: /usr/local/Cellar/gsl/2.7.1/include (found suitable version "2.7.1", minimum required is "1.10")
-- Looking for OpenGL
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/OpenGL.framework
-- Looking for gl2ps
-- Found gl2ps: /usr/local/lib/libgl2ps.dylib
-- Looking for LibXml2
-- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/lib/libxml2.tbd (found version "2.9.4")
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- OpenSSL not found, switching ON 'builtin_openssl' option.
-- Found OpenSSL: /Users/alfaci/dklein/root-build-2/builtins/openssl/OPENSSL-prefix/include (found version "1.1.1g")
-- Looking for MySQL
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
-- currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
-- currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found Sqlite: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- Found fftw3 includes at /usr/local/include
-- Found fftw3 library at /usr/local/lib/libfftw3.dylib
-- Looking for CFITSIO
-- Found CFITSIO: /usr/local/lib/libcfitsio.dylib (found version "4.1")
-- Looking for XROOTD
-- Found Xrootd version num: 5.4.2 (setting -DROOTXRDVERS=500040002)
-- libXrdMain not found: xproofd will be a wrapper around xrootd
-- libXrdClient not found: use built-in
-- include_dirs: /usr/local/include/xrootd;/Users/alfaci/dklein/root/proof/xrdinc
-- libraries: /usr/local/lib/libXrdUtils.dylib;/usr/local/lib/libXrdCl.dylib
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Found FTGL: /usr/local/include
-- Checking for module 'davix>=0.6.4'
-- Found davix, version 0.8.1
-- Looking for TBB
-- Found TBB: /usr/local (Required is at least version "2018")
-- Looking for VDT
-- Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY) (Required is at least version "0.4")
-- VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
-- Switching ON 'builtin_vdt' option
-- Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/Accelerate.framework
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Ninja version: 1.11.0
-- Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: x86_64-apple-darwin20.6.0
-- LLVM default target triple: x86_64-apple-darwin20.6.0
-- Building with -fPIC
-- Found PythonInterp: /usr/local/bin/python3.9 (found version "3.9.13")
-- Constructing LLVMBuild project information
-- Linker detection: ld64
-- Targeting X86
-- Targeting NVPTX
-- Clang version: 9.0.1
-- Cling version (from VERSION file): ROOT_1.0~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1' at runtime.
-- And if not found, will invoke: '/Library/Developer/CommandLineTools/usr/bin/c++ ' for them.
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Use SSL API VERSION 1.1 for civetweb
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_opplusequal_stringview
-- Performing Test found_opplusequal_stringview - Success
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Success
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /Users/alfaci/dklein/root/build/unix/compiledata.sh
Making /Users/alfaci/dklein/root-build-2/ginclude/compiledata.h
-- ROOT Configuration
System Darwin-20.6.0
Processor 6 core Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz (x86_64)
Build type Release
Install path /Users/alfaci/dklein/root-install-2
Compiler AppleClang 13.0.0.13000029
Compiler flags:
C -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++ -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG
Linker flags:
Executable -mmacosx-version-min=11.6
Module
Shared
-- Enabled support for: asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_vdt clad cocoa dataframe davix exceptions fftw3 fitsio gdml http imt libcxx mathmore mlp minuit2 opengl pyroot roofit rpath shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/alfaci/dklein/root-build-2
alfaci@witmac007 dklein % cmake --build root-build-2
[2393/9301] Performing patch step for 'OPENSSL'
patching file Configurations/10-main.conf
[6838/9301] Linking CXX static library lib/libclingUtils.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingUtils.a(PlatformWin.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingUtils.a(PlatformWin.cpp.o) has no symbols
[6848/9301] Linking CXX static library lib/libclingInterpreter.a
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingInterpreter.a(PerfJITEventListener.cpp.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: lib/libclingInterpreter.a(PerfJITEventListener.cpp.o) has no symbols
[7026/9301] Generating G__Core.cxx, ../lib/libCore.rootmap
FAILED: core/G__Core.cxx lib/libCore.rootmap /Users/alfaci/dklein/root-build-2/core/G__Core.cxx /Users/alfaci/dklein/root-build-2/lib/libCore.rootmap
cd /Users/alfaci/dklein/root-build-2/core && /usr/local/Cellar/cmake/3.23.1_1/bin/cmake -E env LD_LIBRARY_PATH=/Users/alfaci/dklein/root-build-2/lib: /Users/alfaci/dklein/root-build-2/core/rootcling_stage1/src/rootcling_stage1 -v2 -f G__Core.cxx -s /Users/alfaci/dklein/root-build-2/lib/libCore.so -excludePath /Users/alfaci/dklein/root -excludePath /Users/alfaci/dklein/root-build-2/ginclude -excludePath /Users/alfaci/dklein/root-build-2/externals -excludePath /Users/alfaci/dklein/root-build-2/builtins -rml libCore.so -rmf /Users/alfaci/dklein/root-build-2/lib/libCore.rootmap -writeEmptyRootPCM -D__STDC_NO_COMPLEX__ -D__COMPLEX_H__ -D_COMPLEX_H -D__CLANG_STDATOMIC_H -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1 -compilerI/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include -compilerI/Library/Developer/CommandLineTools/usr/include -compilerI/Library/Developer/CommandLineTools/usr/lib/clang/13.0.0/include -compilerI/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include -compilerI/Library/Developer/CommandLineTools/usr/include -I/Users/alfaci/dklein/root-build-2/include -I/Users/alfaci/dklein/root-build-2/ginclude -I/Users/alfaci/dklein/root/core/base/inc -I/Users/alfaci/dklein/root/core/foundation/inc -I/Users/alfaci/dklein/root/core/cont/inc -I/Users/alfaci/dklein/root/core/gui/inc -I/Users/alfaci/dklein/root/core/meta/inc -I/Users/alfaci/dklein/root/core/clib/inc -I/Users/alfaci/dklein/root/core/rint/inc -I/Users/alfaci/dklein/root/core/zip/inc -I/Users/alfaci/dklein/root/core/thread/inc -I/Users/alfaci/dklein/root/core/textinput/inc -I/Users/alfaci/dklein/root/core/clingutils/inc -I/Users/alfaci/dklein/root/core/base/v7/inc -I/Users/alfaci/dklein/root/core/foundation/v7/inc -I/Users/alfaci/dklein/root/core/unix/inc -I/Users/alfaci/dklein/root/core/macosx/inc -I/usr/local/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include ROOT/TErrorDefaultHandler.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 TVirtualMutex.h TVirtualPadEditor.h TVirtualPad.h TVirtualPadPainter.h TVirtualPerfStats.h TVirtualPS.h TVirtualQConnection.h TVirtualRWMutex.h TVirtualTableInterface.h TVirtualViewer3D.h TVirtualX.h strlcpy.h snprintf.h strtok.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 ROOT/RLogger.hxx ROOT/RNotFn.hxx ROOT/RRangeCast.hxx ROOT/RSpan.hxx ROOT/RStringView.hxx ROOT/StringUtils.hxx ROOT/span.hxx ROOT/TypeTraits.hxx TMacOSXSystem.h TUnixSystem.h root_std_complex.h 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 /Users/alfaci/dklein/root/core/base/inc/LinkDef.h
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
In file included from /Users/alfaci/dklein/root-build-2/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:752:12: note: 'finite' declared here
extern int finite(double)
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
In file included from /Users/alfaci/dklein/root-build-2/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'isgreater' in the global namespace; did you mean 'greater'?
using ::isgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:738:29: note: 'greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
In file included from /Users/alfaci/dklein/root-build-2/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isgreaterequal' in the global namespace; did you mean 'greater_equal'?
using ::isgreaterequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:767:29: note: 'greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
In file included from /Users/alfaci/dklein/root-build-2/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace; did you mean 'less_equal'?
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/functional:794:29: note: 'less_equal' declared here
struct _LIBCPP_TEMPLATE_VIS less_equal : binary_function<_Tp, _Tp, bool>
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
In file included from /Users/alfaci/dklein/root-build-2/include/TMathBase.h:32:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:140:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
^
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:140:10: note: use function 'std::abs' instead
{ return std::abs(d); }
^~~~~~~~
std::abs
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:140:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:144:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
^
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:144:10: note: use function 'std::abs' instead
{ return std::abs(d); }
^~~~~~~~
std::abs
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:144:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:148:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
^
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:148:10: note: use function 'std::abs' instead
{ return std::abs(d); }
^~~~~~~~
std::abs
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:148:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:160:18: error: expected unqualified-id
{ return std::signbit(a); }
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:164:18: error: expected unqualified-id
{ return std::signbit(a); }
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \
^
In file included from input_line_7:16:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TSequentialExecutor.hxx:15:
In file included from /Users/alfaci/dklein/root-build-2/include/ROOT/TExecutorCRTP.hxx:18:
In file included from /Users/alfaci/dklein/root-build-2/include/TList.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TSeqCollection.h:25:
In file included from /Users/alfaci/dklein/root-build-2/include/TCollection.h:29:
In file included from /Users/alfaci/dklein/root-build-2/include/TString.h:28:
/Users/alfaci/dklein/root-build-2/include/TMathBase.h:168:18: error: expected unqualified-id
{ return std::signbit(a); }
^
/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \
^
Error: /Users/alfaci/dklein/root-build-2/core/rootcling_stage1/src/rootcling_stage1: compilation failure (/Users/alfaci/dklein/root-build-2/lib/libCore0f0d466cfa_dictUmbrella.h)
[7028/9301] Building CXX object core/metacling/src/CMakeFiles/MetaCling.dir/TCling.cxx.o
ninja: build stopped: subcommand failed.