New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Failed in building a iOS library #60

Open
hanton opened this Issue May 24, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@hanton

hanton commented May 24, 2018

hi,

I run make target=ios arch=arm64 compiler=clang in the source code directory for building a library for iOS, and it fails with

...
lib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0 
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'

Any ideas for fixing this issue?

The whole log is

➜  tbb-2018_U3 make target=ios arch=arm64 compiler=clang
Created ./build/macos_arm64_clang_cc9.1.0_ios11.3_release and ..._debug directories
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_arm64_clang_cc9.1.0_ios11.3_debug"  -r -f ../../build/Makefile.tbb cfg=debug
../../build/Makefile.tbb:32: CONFIG: cfg=debug arch=arm64 compiler=clang target=ios runtime=cc_ios11.3
clang++ -o concurrent_hash_map.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp
clang++ -o concurrent_queue.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp
clang++ -o concurrent_vector.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
clang++ -o dynamic_link.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp
clang++ -o itt_notify.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
clang++ -o cache_aligned_allocator.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp
clang++ -o pipeline.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp
clang++ -o queuing_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp
clang++ -o queuing_rw_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp
clang++ -o reader_writer_lock.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp
clang++ -o spin_rw_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp
clang++ -o x86_rtm_rw_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp
clang++ -o spin_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp
clang++ -o critical_section.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp
clang++ -o mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp
clang++ -o recursive_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp
clang++ -o condition_variable.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp
clang++ -o tbb_thread.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp
clang++ -o concurrent_monitor.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp
clang++ -o semaphore.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp
clang++ -o private_server.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp
clang++ -o rml_tbb.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp
sh ../../build/version_info_macos.sh clang++ -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else   -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver
clang++ -o tbb_misc.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.cpp
clang++ -o tbb_misc_ex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp
clang++ -o task.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp
clang++ -o task_group_context.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp
clang++ -o governor.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp
clang++ -o market.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp
clang++ -o arena.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp
clang++ -o scheduler.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp
clang++ -o observer_proxy.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp
clang++ -o tbb_statistics.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp
clang++ -o tbb_main.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp
clang++ -o concurrent_vector_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp
clang++ -o concurrent_queue_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp
clang++ -o spin_rw_mutex_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp
clang++ -o task_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp
sh ../../build/generate_tbbvars.sh DY
clang++ -E -x c++ ../../src/tbb/mac64-tbb-export.def -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else  -I../../src -I../../src/rml/include -I../../include > tbb.def
clang++ -fPIC -o libtbb_debug.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 concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o   -ldl -lpthread -dynamiclib -install_name @rpath/libtbb_debug.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0  -Wl,-exported_symbols_list,tbb.def
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'
ld: warning: cannot export hidden symbol typeinfo name for tbb::tbb_exception from task_group_context.o
ld: warning: cannot export hidden symbol typeinfo for tbb::tbb_exception from task_group_context.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::empty_task from arena.o
ld: warning: cannot export hidden symbol typeinfo for tbb::empty_task from arena.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::empty_task from scheduler.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::tbb_exception from scheduler.o
ld: warning: cannot export hidden symbol typeinfo for tbb::empty_task from scheduler.o
ld: warning: cannot export hidden symbol typeinfo for tbb::tbb_exception from scheduler.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_arm64_clang_cc9.1.0_ios11.3_release"  -r -f ../../build/Makefile.tbb cfg=release
../../build/Makefile.tbb:32: CONFIG: cfg=release arch=arm64 compiler=clang target=ios runtime=cc_ios11.3
clang++ -o concurrent_hash_map.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp
clang++ -o concurrent_queue.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp
clang++ -o concurrent_vector.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
clang++ -o dynamic_link.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp
clang++ -o itt_notify.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
clang++ -o cache_aligned_allocator.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp
clang++ -o pipeline.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp
clang++ -o queuing_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp
clang++ -o queuing_rw_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp
clang++ -o reader_writer_lock.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp
clang++ -o spin_rw_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp
clang++ -o x86_rtm_rw_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/x86_rtm_rw_mutex.cpp
clang++ -o spin_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp
clang++ -o critical_section.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp
clang++ -o mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp
clang++ -o recursive_mutex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp
clang++ -o condition_variable.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp
clang++ -o tbb_thread.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp
clang++ -o concurrent_monitor.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp
clang++ -o semaphore.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp
clang++ -o private_server.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp
clang++ -o rml_tbb.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp
sh ../../build/version_info_macos.sh clang++ -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else   -I../../src -I../../src/rml/include -I../../include -I. >version_string.ver
clang++ -o tbb_misc.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include -I. ../../src/tbb/tbb_misc.cpp
clang++ -o tbb_misc_ex.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp
clang++ -o task.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp
clang++ -o task_group_context.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp
clang++ -o governor.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp
clang++ -o market.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp
clang++ -o arena.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp
clang++ -o scheduler.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp
clang++ -o observer_proxy.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp
clang++ -o tbb_statistics.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp
clang++ -o tbb_main.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp
clang++ -o concurrent_vector_v2.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp
clang++ -o concurrent_queue_v2.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp
clang++ -o spin_rw_mutex_v2.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp
clang++ -o task_v2.o -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else    -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp
sh ../../build/generate_tbbvars.sh DY
clang++ -E -x c++ ../../src/tbb/mac64-tbb-export.def -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -fPIC  -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -Wno-dangling-else  -I../../src -I../../src/rml/include -I../../include > tbb.def
clang++ -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 concurrent_vector_v2.o concurrent_queue_v2.o spin_rw_mutex_v2.o task_v2.o   -ldl -lpthread -dynamiclib -install_name @rpath/libtbb.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0  -Wl,-exported_symbols_list,tbb.def
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'
ld: warning: cannot export hidden symbol typeinfo name for tbb::tbb_exception from task_group_context.o
ld: warning: cannot export hidden symbol typeinfo for tbb::tbb_exception from task_group_context.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::empty_task from arena.o
ld: warning: cannot export hidden symbol typeinfo for tbb::empty_task from arena.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::empty_task from scheduler.o
ld: warning: cannot export hidden symbol typeinfo name for tbb::tbb_exception from scheduler.o
ld: warning: cannot export hidden symbol typeinfo for tbb::empty_task from scheduler.o
ld: warning: cannot export hidden symbol typeinfo for tbb::tbb_exception from scheduler.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_arm64_clang_cc9.1.0_ios11.3_debug"  -r -f ../../build/Makefile.tbbmalloc cfg=debug malloc
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backend.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/large_objects.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backref.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbbmalloc.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -o itt_notify_malloc.o -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -I. ../../src/tbbmalloc/frontend.cpp
clang++ -E -x c++ ../../src/tbbmalloc/mac64-tbbmalloc-export.def -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -I../../src -I../../src/rml/include -I../../include > tbbmalloc.def
clang -fPIC -o libtbbmalloc_debug.dylib backend.o large_objects.o backref.o  tbbmalloc.o  itt_notify_malloc.o frontend.o  -ldl -lpthread -dynamiclib -install_name @rpath/libtbbmalloc_debug.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0  -Wl,-exported_symbols_list,tbbmalloc.def
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -Wall   -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -Wall   -Wno-non-virtual-dtor -Wno-dangling-else -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
clang++ -fPIC -o libtbbmalloc_proxy_debug.dylib proxy.o tbb_function_replacement.o  -ldl -lpthread libtbbmalloc_debug.dylib -dynamiclib -install_name @rpath/libtbbmalloc_proxy_debug.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0 
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C "./build/macos_arm64_clang_cc9.1.0_ios11.3_release"  -r -f ../../build/Makefile.tbbmalloc cfg=release malloc
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backend.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/large_objects.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/backref.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/tbbmalloc.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -o itt_notify_malloc.o -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc -I. ../../src/tbbmalloc/frontend.cpp
clang++ -E -x c++ ../../src/tbbmalloc/mac64-tbbmalloc-export.def -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0    -fno-rtti -fno-exceptions -D__TBBMALLOC_BUILD=1  -Wno-non-virtual-dtor -Wno-dangling-else -I../../src -I../../src/rml/include -I../../include > tbbmalloc.def
clang -fPIC -o libtbbmalloc.dylib backend.o large_objects.o backref.o  tbbmalloc.o  itt_notify_malloc.o frontend.o  -ldl -lpthread -dynamiclib -install_name @rpath/libtbbmalloc.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0  -Wl,-exported_symbols_list,tbbmalloc.def
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -Wall   -Wno-non-virtual-dtor -Wno-dangling-else -fPIC  -D__TBBMALLOC_BUILD=1 -I../../src -I../../src/rml/include -I../../include -I../../src/tbbmalloc -I../../src/tbbmalloc ../../src/tbbmalloc/proxy.cpp
clang++ -c -MMD -g -O2 -DUSE_PTHREAD  -stdlib=libc++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk -miphoneos-version-min=8.0  -Wall   -Wno-non-virtual-dtor -Wno-dangling-else -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
clang++ -fPIC -o libtbbmalloc_proxy.dylib proxy.o tbb_function_replacement.o  -ldl -lpthread libtbbmalloc.dylib -dynamiclib -install_name @rpath/libtbbmalloc_proxy.dylib -stdlib=libc++ -arch arm64 -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/ -miphoneos-version-min=8.0 
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/usr/lib/system'

Thanks.

@wtmilk

This comment has been minimized.

wtmilk commented Oct 13, 2018

I have met the same problem. Do you find the answer?

@nik-ponomarev

This comment has been minimized.

nik-ponomarev commented Oct 16, 2018

@wtmilk @hanton remove usr/lib/system paths from this section inside macos.clang.inc file to omit the warning:

ifdef SDKROOT
    CPLUS_FLAGS += -isysroot $(SDKROOT)
    LINK_FLAGS +=  -L$(SDKROOT)/usr/lib/
    LIB_LINK_FLAGS += -L$(SDKROOT)/usr/lib/
endif

But libtbb.dylib library should still be build correctly, it is just a warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment