Skip to content

Instantly share code, notes, and snippets.

@brassel
Created June 27, 2013 20:04
Show Gist options
  • Save brassel/5879893 to your computer and use it in GitHub Desktop.
Save brassel/5879893 to your computer and use it in GitHub Desktop.
$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 71bc6fce45db9325053e747102618518e55b7c43
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP.app/Contents/Developer
CLT: 5.0.0.0.1.1364255407
LLVM-GCC: build 2336
Clang: 5.0 build 500
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
$ brew doctor
Your system is ready to brew.
$ brew install -v tbb
==> Downloading http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_20130314oss_src.tgz
Already downloaded: /Library/Caches/Homebrew/tbb-4.1u3.tgz
tar xf /Library/Caches/Homebrew/tbb-4.1u3.tgz
==> make tbb_build_prefix=BUILDPREFIX CONLY=llvm-gcc CPLUS=g++ arch=intel64
make tbb_build_prefix=BUILDPREFIX CONLY=llvm-gcc CPLUS=g++ arch=intel64
Created ./build/BUILDPREFIX_release and ..._debug directories
/usr/bin/make -C "./build/BUILDPREFIX_debug" -r -f ../../build/Makefile.tbb cfg=debug tbb_root=../..
../../build/Makefile.tbb:39: CONFIG: cfg=debug arch=intel64 compiler=gcc os=macos runtime=cc4.2.1_os10.8.4
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
sh ../../build/version_info_macos.sh g++ -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include >version_string.ver
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp
sh ../../build/generate_tbbvars.sh
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -E -x c++ ../../src/tbb/mac64-tbb-export.def -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbb.def
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I. -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
g++ -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 spin_mutex.o critical_section.o task.o tbb_misc.o tbb_misc_ex.o mutex.o recursive_mutex.o condition_variable.o tbb_thread.o concurrent_monitor.o semaphore.o private_server.o rml_tbb.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 -m64 -Wl,-exported_symbols_list,tbb.def
brew: superenv removed: -m64
Undefined symbols for architecture x86_64:
"vtable for tbb::tbb_exception", referenced from:
-exported_symbol[s_list] command line option
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libtbb_debug.dylib] Error 1
make: *** [tbb] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 71bc6fce45db9325053e747102618518e55b7c43
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 5.0 => /Applications/Xcode5-DP.app/Contents/Developer
CLT: 5.0.0.0.1.1364255407
X11: 2.7.4 => /opt/X11
==> ENV
HOMEBREW_CC: llvm-gcc
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: llvm-gcc
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: tbb did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment