-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
I got the following errors when I was trying to install RcppParallel_5.1.7
. The errors seem link to thetbb
building process.
trying URL 'https://cloud.r-project.org/src/contrib/RcppParallel_5.1.7.tar.gz'
Content type 'application/x-gzip' length 1629119 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
* installing *source* package ‘RcppParallel’ ...
** 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/install.libs.R.in' => 'src/install.libs.R'
*** configured file: 'src/Makevars.in' => 'src/Makevars'
** finished configure for package 'RcppParallel'
** libs
using C++ compiler: ‘Homebrew clang version 18.1.4’
using SDK: ‘’
(tbb) Building TBB using bundled sources ...
OS: macos
arch=intel64
compiler=clang
runtime=ccHomebrew clang version 18.1.4_os14.4.1
tbb_build_prefix=macos_intel64_clang_ccHomebrew clang version 18.1.4_os14.4.1
work_dir=/private/var/folders/8r/ykm9cc_j4l38tmyq85kv3qw80000gn/T/RtmpDX7Sbh/R.INSTALL6c774f90f75a/RcppParallel/src/build/macos_intel64_clang_ccHomebrew /private/var/folders/8r/ykm9cc_j4l38tmyq85kv3qw80000gn/T/RtmpDX7Sbh/R.INSTALL6c774f90f75a/RcppParallel/src/tbb/src/clang /private/var/folders/8r/ykm9cc_j4l38tmyq85kv3qw80000gn/T/RtmpDX7Sbh/R.INSTALL6c774f90f75a/RcppParallel/src/tbb/src/version /private/var/folders/8r/ykm9cc_j4l38tmyq85kv3qw80000gn/T/RtmpDX7Sbh/R.INSTALL6c774f90f75a/RcppParallel/src/tbb/src/18.1.4_os14.4.1_release
Created ../build/lib_release directory
make -j16 -C "../build/lib_release" -r -f ../../build/Makefile.tbb cfg=release
../../build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=clang target=macos runtime=ccHomebrew clang version 18.1.4_os14.4.1
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o concurrent_hash_map.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o concurrent_queue.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o concurrent_vector.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o dynamic_link.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o itt_notify.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o cache_aligned_allocator.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o pipeline.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o queuing_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o queuing_rw_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o reader_writer_lock.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o spin_rw_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o x86_rtm_rw_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o spin_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o critical_section.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o recursive_mutex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o condition_variable.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o tbb_thread.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o concurrent_monitor.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o semaphore.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o private_server.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o rml_tbb.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp
sh ../../build/version_info_macos.sh /usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o tbb_misc_ex.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o task.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o task_group_context.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o governor.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o market.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o arena.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o scheduler.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o observer_proxy.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o tbb_statistics.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o tbb_main.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp
sh ../../build/generate_tbbvars.sh DY
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -E -x c++ ../../src/tbb/mac64-tbb-export.def -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include > tbb.def
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -o tbb_misc.o -c -MMD -O2 -DUSE_PTHREAD -DDO_ITT_NOTIFY -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -fPIC -D__TBB_BUILD=1 -Wall -g -O3 -Wall -pedantic -mtune=native -pipe -DTBB_NO_LEGACY=1 -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
1 warning generated.
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
| ^
../../src/tbb/arena.cpp:261:14: warning: variable 'drained' set but not used [-Wunused-but-set-variable]
261 | intptr_t drained = 0;
| ^
2 warnings generated.
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
| ^
1 warning generated.
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -fPIC -o libtbb.dylib concurrent_hash_map.o concurrent_queue.o concurrent_vector.o dynamic_link.o itt_notify.o cache_aligned_allocator.o pipeline.o queuing_mutex.o queuing_rw_mutex.o reader_writer_lock.o spin_rw_mutex.o x86_rtm_rw_mutex.o spin_mutex.o critical_section.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.o tbb_misc.o tbb_misc_ex.o task.o task_group_context.o governor.o market.o arena.o scheduler.o observer_proxy.o tbb_statistics.o tbb_main.o -ldl -lpthread -dynamiclib -install_name @rpath/libtbb.dylib -stdlib=libc++ -m64 -mmacosx-version-min=10.11 -L/usr/local/opt/gettext/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/xz/lib -L/usr/local/lib -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -Wl,-exported_symbols_list,tbb.def
Undefined symbols for architecture x86_64:
"std::exception_ptr::__from_native_exception_pointer(void*)", referenced from:
tbb::internal::tbb_exception_ptr::tbb_exception_ptr(tbb::captured_exception const&) in task_group_context.o
"___cxa_init_primary_exception", referenced from:
tbb::internal::tbb_exception_ptr::tbb_exception_ptr(tbb::captured_exception const&) in task_group_context.o
ld: symbol(s) not found for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libtbb.dylib] Error 1
make[1]: *** [tbb_release] Error 2
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I"/usr/local/Cellar/r/4.4.0/lib/R/include" -DNDEBUG -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/include -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -std=c++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC -g -O3 -Wall -pedantic -mtune=native -pipe -c init.cpp -o init.o
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -I"/usr/local/Cellar/r/4.4.0/lib/R/include" -DNDEBUG -I../inst/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/local/include -I/usr/local/opt/llvm/include -I/usr/local/opt/openssl/include -I/usr/local/opt/gettext/include -I/usr/local/opt/tcl-tk/include -std=c++11 -DRCPP_PARALLEL_USE_TBB=1 -DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 -fPIC -g -O3 -Wall -pedantic -mtune=native -pipe -c options.cpp -o options.o
/usr/local/bin/ccache /usr/local/opt/llvm/bin/clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/usr/local/Cellar/r/4.4.0/lib/R/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/xz/lib -L/usr/local/lib -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib -o RcppParallel.so init.o options.o -L/usr/local/Cellar/r/4.4.0/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation
ld: warning: reexported library with install name '/usr/local/opt/llvm/lib/libunwind.1.dylib' found at '/usr/local/Cellar/llvm/18.1.4/lib/libunwind.1.0.dylib' couldn't be matched with any parent library and will be linked directly
installing via 'install.libs.R' to /usr/local/lib/R/4.4/site-library/00LOCK-RcppParallel/00new/RcppParallel
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘RcppParallel’:
.onLoad failed in loadNamespace() for 'RcppParallel', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/usr/local/lib/R/4.4/site-library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so':
dlopen(/usr/local/lib/R/4.4/site-library/00LOCK-RcppParallel/00new/RcppParallel/libs/RcppParallel.so, 0x0006): symbol not found in flat namespace '__ZN3tbb10interface78internal15task_arena_base24internal_max_concurrencyEPKNS0_10task_arenaE'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/usr/local/lib/R/4.4/site-library/RcppParallel’
> sessionInfo()
R version 4.4.0 (2024-04-24)
Platform: x86_64-apple-darwin23.4.0
Running under: macOS Sonoma 14.4.1
Matrix products: default
BLAS: /usr/local/Cellar/openblas/0.3.27/lib/libopenblasp-r0.3.27.dylib
LAPACK: /usr/local/Cellar/r/4.4.0/lib/R/lib/libRlapack.dylib; LAPACK version 3.12.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: Asia/Shanghai
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_4.4.0 tools_4.4.0
Metadata
Metadata
Assignees
Labels
No labels
Activity
YulongNiu commentedon May 12, 2024
I walked around by using oneTBB installed by Homebrew.
~/.zshrc
RcppParallel
kevinushey commentedon May 13, 2024
Works for me locally using the default macOS toolchain. Patches are welcome if you're able to figure out why things aren't working with your custom setup.
tomasnobrega commentedon Jun 20, 2024
@YulongNiu I spent like 2 or 3 hours trying to figure out what was going on. You solved my problems.
For reference, my path were a little different:
This issue seems very recurring, I don't understand why they are being treated as completed. This is something that can be solved by adding a couple lines on the installation instructions.
kevinushey commentedon Jun 21, 2024
Because, as I said above:
YulongNiu commentedon Jan 30, 2025
An update from 2025: the latest
RcppParallel 5.1.10
was successfully compiled without external oneTBB.