* installing *source* package ‘xgboost’ ... ** package ‘xgboost’ successfully unpacked and MD5 sums checked ** using staged installation checking Backtrace lib... checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... yes checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... none needed checking for backtrace in -lexecinfo... no checking endian... checking whether OpenMP will work in a package... no ***************************************************************************************** OpenMP is unavailable on this Mac OSX system. Training speed may be suboptimal. To use all CPU cores for training jobs, you should install OpenMP by running brew install libomp ***************************************************************************************** configure: creating ./config.status config.status: creating src/Makevars ** libs Makevars:17: -DXGBOOST_STRICT_R_MODE=1 Makevars:17: -DDMLC_LOG_BEFORE_THROW=0 Makevars:17: -DDMLC_ENABLE_STD_THREAD=1 Makevars:17: -DDMLC_DISABLE_STDIN=1 Makevars:17: -DDMLC_LOG_CUSTOMIZE=1 Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1 Makevars:17: -DRABIT_CUSTOMIZE_MSG_ using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ Makevars:17: -DXGBOOST_STRICT_R_MODE=1 Makevars:17: -DDMLC_LOG_BEFORE_THROW=0 Makevars:17: -DDMLC_ENABLE_STD_THREAD=1 Makevars:17: -DDMLC_DISABLE_STDIN=1 Makevars:17: -DDMLC_LOG_CUSTOMIZE=1 Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1 Makevars:17: -DRABIT_CUSTOMIZE_MSG_ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c xgboost_R.cc -o xgboost_R.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c xgboost_custom.cc -o xgboost_custom.o clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/metric.cc -o src/metric/metric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/elementwise_metric.cc -o src/metric/elementwise_metric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/multiclass_metric.cc -o src/metric/multiclass_metric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/rank_metric.cc -o src/metric/rank_metric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/auc.cc -o src/metric/auc.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/metric/survival_metric.cc -o src/metric/survival_metric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/objective.cc -o src/objective/objective.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/regression_obj.cc -o src/objective/regression_obj.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/multiclass_obj.cc -o src/objective/multiclass_obj.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/rank_obj.cc -o src/objective/rank_obj.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/hinge.cc -o src/objective/hinge.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/aft_obj.cc -o src/objective/aft_obj.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/objective/adaptive.cc -o src/objective/adaptive.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/gbm/gbm.cc -o src/gbm/gbm.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/gbm/gbtree.cc -o src/gbm/gbtree.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/gbm/gbtree_model.cc -o src/gbm/gbtree_model.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/gbm/gblinear.cc -o src/gbm/gblinear.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/gbm/gblinear_model.cc -o src/gbm/gblinear_model.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/simple_dmatrix.cc -o src/data/simple_dmatrix.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/data.cc -o src/data/data.o In file included from src/data/data.cc:22: In file included from src/data/./sparse_page_dmatrix.h:19: In file included from src/data/ellpack_page_source.h:15: In file included from src/data/sparse_page_source.h:21: In file included from src/data/sparse_page_writer.h:20: ./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init] Spinlock() : lock_(ATOMIC_FLAG_INIT) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/atomic:2788:26: note: expanded from macro 'ATOMIC_FLAG_INIT' #define ATOMIC_FLAG_INIT {false} ^~~~~~~ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/sparse_page_raw_format.cc -o src/data/sparse_page_raw_format.o In file included from src/data/sparse_page_raw_format.cc:10: In file included from src/data/./sparse_page_writer.h:20: ./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init] Spinlock() : lock_(ATOMIC_FLAG_INIT) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/atomic:2788:26: note: expanded from macro 'ATOMIC_FLAG_INIT' #define ATOMIC_FLAG_INIT {false} ^~~~~~~ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/ellpack_page.cc -o src/data/ellpack_page.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/gradient_index.cc -o src/data/gradient_index.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/gradient_index_page_source.cc -o src/data/gradient_index_page_source.o In file included from src/data/gradient_index_page_source.cc:4: In file included from src/data/gradient_index_page_source.h:11: In file included from src/data/sparse_page_source.h:21: In file included from src/data/sparse_page_writer.h:20: ./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init] Spinlock() : lock_(ATOMIC_FLAG_INIT) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/atomic:2788:26: note: expanded from macro 'ATOMIC_FLAG_INIT' #define ATOMIC_FLAG_INIT {false} ^~~~~~~ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/gradient_index_format.cc -o src/data/gradient_index_format.o In file included from src/data/gradient_index_format.cc:4: In file included from src/data/sparse_page_writer.h:20: ./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init] Spinlock() : lock_(ATOMIC_FLAG_INIT) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/atomic:2788:26: note: expanded from macro 'ATOMIC_FLAG_INIT' #define ATOMIC_FLAG_INIT {false} ^~~~~~~ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/sparse_page_dmatrix.cc -o src/data/sparse_page_dmatrix.o In file included from src/data/sparse_page_dmatrix.cc:7: In file included from src/data/./sparse_page_dmatrix.h:19: In file included from src/data/ellpack_page_source.h:15: In file included from src/data/sparse_page_source.h:21: In file included from src/data/sparse_page_writer.h:20: ./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init] Spinlock() : lock_(ATOMIC_FLAG_INIT) { ^~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/atomic:2788:26: note: expanded from macro 'ATOMIC_FLAG_INIT' #define ATOMIC_FLAG_INIT {false} ^~~~~~~ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/proxy_dmatrix.cc -o src/data/proxy_dmatrix.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/data/iterative_dmatrix.cc -o src/data/iterative_dmatrix.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/predictor/predictor.cc -o src/predictor/predictor.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/predictor/cpu_predictor.cc -o src/predictor/cpu_predictor.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/constraints.cc -o src/tree/constraints.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/param.cc -o src/tree/param.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/tree_model.cc -o src/tree/tree_model.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/tree_updater.cc -o src/tree/tree_updater.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_approx.cc -o src/tree/updater_approx.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_colmaker.cc -o src/tree/updater_colmaker.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_prune.cc -o src/tree/updater_prune.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_quantile_hist.cc -o src/tree/updater_quantile_hist.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_refresh.cc -o src/tree/updater_refresh.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/tree/updater_sync.cc -o src/tree/updater_sync.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/linear/linear_updater.cc -o src/linear/linear_updater.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/linear/updater_coordinate.cc -o src/linear/updater_coordinate.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/linear/updater_shotgun.cc -o src/linear/updater_shotgun.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/learner.cc -o src/learner.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/logging.cc -o src/logging.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/global_config.cc -o src/global_config.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/collective/communicator.cc -o src/collective/communicator.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/collective/socket.cc -o src/collective/socket.o In file included from src/collective/socket.cc:4: ./include/xgboost/collective/socket.h:267:10: warning: unused variable 'ret_iafamily' [-Wunused-variable] auto ret_iafamily = [](std::int32_t domain) { ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/charconv.cc -o src/common/charconv.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/column_matrix.cc -o src/common/column_matrix.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/common.cc -o src/common/common.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/hist_util.cc -o src/common/hist_util.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/host_device_vector.cc -o src/common/host_device_vector.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/io.cc -o src/common/io.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/json.cc -o src/common/json.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/numeric.cc -o src/common/numeric.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/pseudo_huber.cc -o src/common/pseudo_huber.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/quantile.cc -o src/common/quantile.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/random.cc -o src/common/random.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/survival_util.cc -o src/common/survival_util.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/threading_utils.cc -o src/common/threading_utils.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/timer.cc -o src/common/timer.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/common/version.cc -o src/common/version.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/c_api/c_api.cc -o src/c_api/c_api.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c src/c_api/c_api_error.cc -o src/c_api/c_api_error.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c rabit/src/engine.cc -o rabit/src/engine.o In file included from rabit/src/engine.cc:14: In file included from rabit/src/allreduce_base.h:22: In file included from ./rabit/include/rabit/internal/socket.h:8: ./include/xgboost/collective/socket.h:267:10: warning: unused variable 'ret_iafamily' [-Wunused-variable] auto ret_iafamily = [](std::int32_t domain) { ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c rabit/src/rabit_c_api.cc -o rabit/src/rabit_c_api.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/opt/R/arm64/include -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fPIC -falign-functions=64 -Wall -g -O2 -c rabit/src/allreduce_base.cc -o rabit/src/allreduce_base.o In file included from rabit/src/allreduce_base.cc:14: In file included from rabit/src/allreduce_base.h:22: In file included from ./rabit/include/rabit/internal/socket.h:8: ./include/xgboost/collective/socket.h:267:10: warning: unused variable 'ret_iafamily' [-Wunused-variable] auto ret_iafamily = [](std::int32_t domain) { ^ 1 warning generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o xgboost.so ./xgboost_R.o ./xgboost_custom.o ./init.o ./src/metric/metric.o ./src/metric/elementwise_metric.o ./src/metric/multiclass_metric.o ./src/metric/rank_metric.o ./src/metric/auc.o ./src/metric/survival_metric.o ./src/objective/objective.o ./src/objective/regression_obj.o ./src/objective/multiclass_obj.o ./src/objective/rank_obj.o ./src/objective/hinge.o ./src/objective/aft_obj.o ./src/objective/adaptive.o ./src/gbm/gbm.o ./src/gbm/gbtree.o ./src/gbm/gbtree_model.o ./src/gbm/gblinear.o ./src/gbm/gblinear_model.o ./src/data/simple_dmatrix.o ./src/data/data.o ./src/data/sparse_page_raw_format.o ./src/data/ellpack_page.o ./src/data/gradient_index.o ./src/data/gradient_index_page_source.o ./src/data/gradient_index_format.o ./src/data/sparse_page_dmatrix.o ./src/data/proxy_dmatrix.o ./src/data/iterative_dmatrix.o ./src/predictor/predictor.o ./src/predictor/cpu_predictor.o ./src/tree/constraints.o ./src/tree/param.o ./src/tree/tree_model.o ./src/tree/tree_updater.o ./src/tree/updater_approx.o ./src/tree/updater_colmaker.o ./src/tree/updater_prune.o ./src/tree/updater_quantile_hist.o ./src/tree/updater_refresh.o ./src/tree/updater_sync.o ./src/linear/linear_updater.o ./src/linear/updater_coordinate.o ./src/linear/updater_shotgun.o ./src/learner.o ./src/logging.o ./src/global_config.o ./src/collective/communicator.o ./src/collective/socket.o ./src/common/charconv.o ./src/common/column_matrix.o ./src/common/common.o ./src/common/hist_util.o ./src/common/host_device_vector.o ./src/common/io.o ./src/common/json.o ./src/common/numeric.o ./src/common/pseudo_huber.o ./src/common/quantile.o ./src/common/random.o ./src/common/survival_util.o ./src/common/threading_utils.o ./src/common/timer.o ./src/common/version.o ./src/c_api/c_api.o ./src/c_api/c_api_error.o ./amalgamation/dmlc-minimum0.o ./rabit/src/engine.o ./rabit/src/rabit_c_api.o ./rabit/src/allreduce_base.o -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value const>(xgboost::Value const*)' from file './src/gbm/gblinear_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value const>(xgboost::Value const*)' from file './src/gbm/gblinear_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value const>(xgboost::Value const*)' from file './src/gbm/gblinear_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value const>(xgboost::Value const*)' from file './src/gbm/gblinear_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const* xgboost::Cast<xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const* xgboost::Cast<xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const* xgboost::Cast<xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const* xgboost::Cast<xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<long long, (xgboost::Value::ValueKind)10>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const* xgboost::Cast<xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const* xgboost::Cast<xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const* xgboost::Cast<xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const* xgboost::Cast<xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<int, (xgboost::Value::ValueKind)9>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const* xgboost::Cast<xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<float, (xgboost::Value::ValueKind)7>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const* xgboost::Cast<xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const* xgboost::Cast<xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const* xgboost::Cast<xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. ld: warning: direct access in function 'xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const* xgboost::Cast<xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8> const, xgboost::Value>(xgboost::Value*)' from file './src/tree/tree_model.o' to global weak symbol 'typeinfo for xgboost::JsonTypedArray<unsigned char, (xgboost::Value::ValueKind)8>' from file './src/common/json.o' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. Makevars:17: -DXGBOOST_STRICT_R_MODE=1 Makevars:17: -DDMLC_LOG_BEFORE_THROW=0 Makevars:17: -DDMLC_ENABLE_STD_THREAD=1 Makevars:17: -DDMLC_DISABLE_STDIN=1 Makevars:17: -DDMLC_LOG_CUSTOMIZE=1 Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1 Makevars:17: -DRABIT_CUSTOMIZE_MSG_ installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/xgboost.Rcheck/00LOCK-xgboost/00new/xgboost/libs ** generating debug symbols (dSYM) ** R ** data ** demo ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (xgboost)