* installing *source* package ‘RcppParallel’ ... ** this is package ‘RcppParallel’ version ‘5.1.10’ ** package ‘RcppParallel’ successfully unpacked and MD5 sums checked ** using staged installation ** preparing to configure package 'RcppParallel' ... *** configured file: 'R/tbb-autodetected.R.in' => 'R/tbb-autodetected.R' *** configured file: 'src/Makevars.in' => 'src/Makevars' *** configured file: 'src/install.libs.R.in' => 'src/install.libs.R' ** finished configure for package 'RcppParallel' ** libs using C++ compiler: ‘clang version 21.1.0-rc3’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src' (tbb) Building TBB using bundled sources ... make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/src' OS: linux arch=intel64 compiler=gcc runtime=cc15.1.1_libc2.41_kernel6.14.6 tbb_build_prefix=linux_intel64_gcc_cc15.1.1_libc2.41_kernel6.14.6 work_dir=/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/build/linux_intel64_gcc_cc15.1.1_libc2.41_kernel6.14.6_release make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/src' make[2]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/src' Created ../build/lib_release directory make -C "../build/lib_release" -r -f ../../build/Makefile.tbb cfg=release make[3]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/build/lib_release' egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E ../../build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=gcc target=linux runtime=cc15.1.1_libc2.41_kernel6.14.6 egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o concurrent_hash_map.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o concurrent_queue.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o concurrent_vector.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o dynamic_link.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o itt_notify.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o cache_aligned_allocator.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o pipeline.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp In file included from ../../src/tbb/pipeline.cpp:17: In file included from ../../include/tbb/pipeline.h:21: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 error generated. make[3]: *** [../../build/common_rules.inc:76: pipeline.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o queuing_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o queuing_rw_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o reader_writer_lock.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o spin_rw_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o x86_rtm_rw_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o spin_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o critical_section.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o recursive_mutex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o condition_variable.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o tbb_thread.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o concurrent_monitor.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o semaphore.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o private_server.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp In file included from ../../src/tbb/private_server.cpp:21: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/private_server.cpp:21: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: private_server.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o rml_tbb.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp sh ../../build/version_info_linux.sh /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o tbb_misc_ex.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o task.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o task_group_context.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp In file included from ../../src/tbb/task.cpp:18: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/task.cpp:18: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ In file included from ../../src/tbb/task_group_context.cpp:17: In file included from ../../src/tbb/scheduler.h:20: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/task_group_context.cpp:17: In file included from ../../src/tbb/scheduler.h:20: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: task.o] Error 1 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: task_group_context.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o governor.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp In file included from ../../src/tbb/governor.cpp:21: In file included from ../../src/tbb/scheduler.h:20: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/governor.cpp:21: In file included from ../../src/tbb/scheduler.h:20: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: governor.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o market.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp In file included from ../../src/tbb/market.cpp:20: In file included from ../../src/tbb/market.h:22: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/market.cpp:20: In file included from ../../src/tbb/market.h:22: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: market.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o arena.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp In file included from ../../src/tbb/arena.cpp:19: In file included from ../../src/tbb/scheduler.h:20: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/arena.cpp:19: In file included from ../../src/tbb/scheduler.h:20: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ../../src/tbb/arena.cpp:261:14: warning: variable 'drained' set but not used [-Wunused-but-set-variable] 261 | intptr_t drained = 0; | ^ 2 warnings and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: arena.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o scheduler.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp In file included from ../../src/tbb/scheduler.cpp:17: In file included from ../../src/tbb/custom_scheduler.h:20: In file included from ../../src/tbb/scheduler.h:20: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/scheduler.cpp:17: In file included from ../../src/tbb/custom_scheduler.h:20: In file included from ../../src/tbb/scheduler.h:20: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: scheduler.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o observer_proxy.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp In file included from ../../src/tbb/observer_proxy.cpp:21: In file included from ../../src/tbb/observer_proxy.h:22: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/observer_proxy.cpp:21: In file included from ../../src/tbb/observer_proxy.h:22: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: observer_proxy.o] Error 1 /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o tbb_statistics.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o tbb_main.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp In file included from ../../src/tbb/tbb_main.cpp:21: In file included from ../../src/tbb/market.h:22: ../../src/tbb/scheduler_common.h:35:13: warning: keyword is hidden by macro definition [-Wkeyword-macro] 35 | #define private public | ^ In file included from ../../src/tbb/tbb_main.cpp:21: In file included from ../../src/tbb/market.h:22: In file included from ../../src/tbb/scheduler_common.h:39: ../../include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../../include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 warning and 1 error generated. make[3]: *** [../../build/common_rules.inc:76: tbb_main.o] Error 1 sh ../../build/generate_tbbvars.sh egrep: warning: egrep is obsolescent; using grep -E echo "INPUT (libtbb.so.2)" > libtbb.so /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -E -x c++ ../../src/tbb/lin64-tbb-export.def -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include > tbb.def /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -o tbb_misc.o -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -fpic -D__TBB_BUILD=1 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.cpp make[3]: Target 'default_tbb' not remade because of errors. make[3]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/build/lib_release' make[2]: *** [Makefile:100: tbb_release] Error 2 make -C "../build/lib_release" -r -f ../../build/Makefile.tbbmalloc cfg=release malloc make[3]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/build/lib_release' egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backend.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/large_objects.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backref.cpp ../../src/tbbmalloc/backref.cpp:45:16: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'MallocMutex' [-Wnontrivial-memcall] 45 | memset(&blockMutex, 0, sizeof(MallocMutex)); | ^ ../../src/tbbmalloc/backref.cpp:45:16: note: explicitly cast the pointer to silence this warning 45 | memset(&blockMutex, 0, sizeof(MallocMutex)); | ^ | (void*) ../../src/tbbmalloc/backref.cpp:51:33: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'rml::internal::BackRefBlock' [-Wnontrivial-memcall] 51 | void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } | ^ ../../src/tbbmalloc/backref.cpp:51:33: note: explicitly cast the pointer to silence this warning 51 | void zeroSet() { memset(this+1, 0, BackRefBlock::bytes-sizeof(BackRefBlock)); } | ^ | (void*) ../../src/tbbmalloc/backref.cpp:108:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'MallocMutex' [-Wnontrivial-memcall] 108 | memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); | ^ ../../src/tbbmalloc/backref.cpp:108:12: note: explicitly cast the pointer to silence this warning 108 | memset(&master->requestNewSpaceMutex, 0, sizeof(MallocMutex)); | ^ | (void*) 3 warnings generated. /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbbmalloc.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -o itt_notify_malloc.o -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -std=gnu++11 -O3 -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -fpic -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -I. ../../src/tbbmalloc/frontend.cpp egrep: warning: egrep is obsolescent; using grep -E ../../src/tbbmalloc/frontend.cpp:922:12: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'MallocMutex' [-Wnontrivial-memcall] 922 | memset(&lock, 0, sizeof(MallocMutex)); | ^ ../../src/tbbmalloc/frontend.cpp:922:12: note: explicitly cast the pointer to silence this warning 922 | memset(&lock, 0, sizeof(MallocMutex)); | ^ | (void*) echo "INPUT (libtbbmalloc.so.2)" > libtbbmalloc.so 1 warning generated. /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -E -x c++ ../../src/tbbmalloc/lin64-tbbmalloc-export.def -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include > tbbmalloc.def /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fpic -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -c -MMD -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -fpic -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbb_function_replacement.cpp egrep: warning: egrep is obsolescent; using grep -E echo "INPUT (libtbbmalloc_proxy.so.2)" > libtbbmalloc_proxy.so /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -E -x c++ ../../src/tbbmalloc/lin64-proxy-export.def -DDO_ITT_NOTIFY -O2 -DUSE_PTHREAD -m64 -Wall -std=gnu++11 -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include > tbbmallocproxy.def egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E /usr/local/clang21/bin/clang -std=gnu23 -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -o libtbbmalloc.so.2 backend.o large_objects.o backref.o tbbmalloc.o itt_notify_malloc.o frontend.o -ldl -lpthread -lrt -shared -Wl,-soname=libtbbmalloc.so.2 -m64 -Wl,--version-script,tbbmalloc.def egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E /usr/local/clang21/bin/clang++ -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -fpic -o libtbbmalloc_proxy.so.2 proxy.o tbb_function_replacement.o -ldl -lpthread -lrt libtbbmalloc.so -shared -Wl,-soname=libtbbmalloc_proxy.so.2 -m64 -Wl,--version-script,tbbmallocproxy.def make[3]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/build/lib_release' make[2]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src/tbb/src' /usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/clang21/include" -DNDEBUG -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c init.cpp -o init.o /usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/clang21/include" -DNDEBUG -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c options.cpp -o options.o In file included from options.cpp:2: In file included from ../inst/include/RcppParallel.h:24: In file included from ../inst/include/RcppParallel/TBB.h:10: In file included from ../inst/include/tbb/tbb.h:56: In file included from ../inst/include/tbb/flow_graph.h:26: ../inst/include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../inst/include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 error generated. make[1]: *** [/data/gannet/ripley/R/clang21/etc/Makeconf:209: options.o] Error 1 /usr/local/clang21/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/clang21/include" -DNDEBUG -I../inst/include -isystem /usr/local/clang21/include -I/usr/local/clang/include -std=gnu++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c tbb.cpp -o tbb.o In file included from tbb.cpp:5: In file included from ../inst/include/RcppParallel/TBB.h:10: In file included from ../inst/include/tbb/tbb.h:56: In file included from ../inst/include/tbb/flow_graph.h:26: ../inst/include/tbb/task.h:564:28: error: in-class initializer for static data member is not a constant expression 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ ~~~~~~~~~~~~~~~~~~ ../inst/include/tbb/task.h:564:48: note: integer value 2 is outside the valid range of values [0, 1] for the enumeration type 'kind_type' 564 | static const kind_type binding_completed = kind_type(bound+1); | ^ 1 error generated. make[1]: *** [/data/gannet/ripley/R/clang21/etc/Makeconf:209: tbb.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RcppParallel/src' ERROR: compilation failed for package ‘RcppParallel’ * removing ‘/data/gannet/ripley/R/packages/tests-clang/RcppParallel.Rcheck/RcppParallel’