Skip to content

Instantly share code, notes, and snippets.

@dmwelch
Last active December 16, 2015 17:19
Show Gist options
  • Save dmwelch/5469629 to your computer and use it in GitHub Desktop.
Save dmwelch/5469629 to your computer and use it in GitHub Desktop.
Bug ticket for Homebrew formula cppcheck see https://github.com/mxcl/homebrew/issues/19464
$ sudo brew doctor
Password:
Your system is ready to brew.
$ sudo brew --config
Password:
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew.git
HEAD: 705b5e133d8334cae66710fac1c14ed8f8713d6b
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 24-core 64-bit arrandale
OS X: 10.7.5-x86_64
Xcode: 4.6.2
CLT: 1.0.0.9000000000.1.1249367152
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
$ sudo brew install cppcheck
==> Downloading https://github.com/danmar/cppcheck/archive/1.59.tar.gz
Already downloaded: /Library/Caches/Homebrew/cppcheck-1.59.tar.gz
==> make HAVE_RULES=yes
Error: Permission denied - /raid0/homes/dmwelch/Library/Logs
$ ls -al /raid0/homes/dmwelch/Library/Logs
total 43810
drwxrwxrwx 14 dmwelch user 26 Apr 22 10:38 .
drwx------@ 42 dmwelch user 52 Jan 30 14:16 ..
-rw-rw-rw- 1 dmwelch user 4096 Apr 12 09:14 ._FlashPlayerInstallManager.log
-rw-r--r-- 1 dmwelch user 4096 Apr 22 10:38 ._Microsoft-Lync-0.log
-rw-r--r-- 1 dmwelch user 4096 Apr 22 10:36 ._Microsoft-Lync-0.log.bak
-rwxrwxrwx 1 dmwelch user 4096 Aug 4 2011 ._fsck_hfs.log
-rwxrwxrwx 1 dmwelch user 43174 Apr 12 10:49 AMRestoreLog.txt
drwxrwxrwx 2 dmwelch user 3 Mar 7 2012 Adobe
drwxrwxrwx 2 dmwelch user 3 Jan 23 2012 App Store
drwx------ 2 dmwelch user 641 Apr 26 12:51 CrashReporter
drwx------ 2 dmwelch user 1709 Apr 26 12:52 DiagnosticReports
-rwxrwxrwx 1 dmwelch user 8553 Aug 20 2012 DiskUtility.log
-rw-rw-rw-@ 1 dmwelch user 356 Apr 19 10:21 FlashPlayerInstallManager.log
-rwxrwxrwx 1 dmwelch user 22311676 Apr 20 13:58 GoogleSoftwareUpdateAgent.log
drwxrwxrwx 3 dmwelch user 3 Jan 30 14:10 Homebrew
-rw-r--r--@ 1 dmwelch user 0 Apr 22 10:38 Microsoft-Lync-0.log
-rw-r--r--@ 1 dmwelch user 0 Apr 22 10:36 Microsoft-Lync-0.log.bak
drwxrwxrwx 2 dmwelch user 3 Mar 14 09:23 PyCharm20
drwxr-xr-x 2 dmwelch user 17 Apr 10 09:29 Spotify
drwxrwxrwx 2 dmwelch user 3 Aug 4 2011 Sync
drwxrwxrwx 3 dmwelch user 3 Jan 20 2012 Ubiquity
drwxrwxrwx 2 dmwelch user 6 Aug 20 2012 VMware Fusion
drwxrwxrwx 2 dmwelch user 4 Apr 25 10:53 X11
drwxrwxrwx 6 dmwelch user 6 Mar 14 09:45 com.citrixonline.GoToMeeting
-rwxrwxrwx@ 1 dmwelch user 35646 Apr 25 09:54 fsck_hfs.log
-rwxrwxrwx 1 dmwelch user 4343 Apr 17 16:41 pip.log
$ sudo HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install cppcheck
==> Downloading https://github.com/danmar/cppcheck/archive/1.59.tar.gz
Already downloaded: /Library/Caches/Homebrew/cppcheck-1.59.tar.gz
tar xf /Library/Caches/Homebrew/cppcheck-1.59.tar.gz
==> make HAVE_RULES=yes
make HAVE_RULES=yes
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/check64bit.o lib/check64bit.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkassignif.o lib/checkassignif.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkautovariables.o lib/checkautovariables.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkboost.o lib/checkboost.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkbufferoverrun.o lib/checkbufferoverrun.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkclass.o lib/checkclass.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkexceptionsafety.o lib/checkexceptionsafety.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkinternal.o lib/checkinternal.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkio.o lib/checkio.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkleakautovar.o lib/checkleakautovar.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkmemoryleak.o lib/checkmemoryleak.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checknonreentrantfunctions.o lib/checknonreentrantfunctions.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checknullpointer.o lib/checknullpointer.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkobsoletefunctions.o lib/checkobsoletefunctions.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkother.o lib/checkother.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkpostfixoperator.o lib/checkpostfixoperator.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkstl.o lib/checkstl.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkuninitvar.o lib/checkuninitvar.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkunusedfunctions.o lib/checkunusedfunctions.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/checkunusedvar.o lib/checkunusedvar.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/cppcheck.o lib/cppcheck.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/errorlogger.o lib/errorlogger.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/executionpath.o lib/executionpath.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/mathlib.o lib/mathlib.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/path.o lib/path.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/preprocessor.o lib/preprocessor.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/settings.o lib/settings.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/suppressions.o lib/suppressions.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/symboldatabase.o lib/symboldatabase.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/templatesimplifier.o lib/templatesimplifier.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/timer.o lib/timer.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/token.o lib/token.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/tokenize.o lib/tokenize.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -c -o lib/tokenlist.o lib/tokenlist.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/cmdlineparser.o cli/cmdlineparser.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/cppcheckexecutor.o cli/cppcheckexecutor.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/filelister.o cli/filelister.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/main.o cli/main.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/pathmatch.o cli/pathmatch.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -Ilib -Iexternals -Iexternals/tinyxml -c -o cli/threadexecutor.o cli/threadexecutor.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -c -o externals/tinyxml/tinyxml2.o externals/tinyxml/tinyxml2.cpp
brew: superenv removed: -O2 -Wall
c++ -O2 -DNDEBUG -Wall -DHAVE_RULES -DTIXML_USE_STL -I/usr/local/Cellar/pcre/8.32/include -o cppcheck cli/cmdlineparser.o cli/cppcheckexecutor.o cli/filelister.o cli/main.o cli/pathmatch.o cli/threadexecutor.o lib/check64bit.o lib/checkassignif.o lib/checkautovariables.o lib/checkboost.o lib/checkbufferoverrun.o lib/checkclass.o lib/checkexceptionsafety.o lib/checkinternal.o lib/checkio.o lib/checkleakautovar.o lib/checkmemoryleak.o lib/checknonreentrantfunctions.o lib/checknullpointer.o lib/checkobsoletefunctions.o lib/checkother.o lib/checkpostfixoperator.o lib/checkstl.o lib/checkuninitvar.o lib/checkunusedfunctions.o lib/checkunusedvar.o lib/cppcheck.o lib/errorlogger.o lib/executionpath.o lib/mathlib.o lib/path.o lib/preprocessor.o lib/settings.o lib/suppressions.o lib/symboldatabase.o lib/templatesimplifier.o lib/timer.o lib/token.o lib/tokenize.o lib/tokenlist.o externals/tinyxml/tinyxml2.o -L/usr/local/Cellar/pcre/8.32/lib -lpcre
brew: superenv removed: -O2 -Wall
==> make DESTDIR=/usr/local/Cellar/cppcheck/1.59 BIN=/usr/local/Cellar/cppcheck/1.59/bin install
make DESTDIR=/usr/local/Cellar/cppcheck/1.59 BIN=/usr/local/Cellar/cppcheck/1.59/bin install
install -d /usr/local/Cellar/cppcheck/1.59/bin
install cppcheck /usr/local/Cellar/cppcheck/1.59/bin
==> Cleaning
==> Caveats
--with-gui installs cppcheck-gui.app in:
/usr/local/Cellar/cppcheck/1.59/bin
To link the application to a normal Mac OS X location:
brew linkapps
or:
ln -s /usr/local/Cellar/cppcheck/1.59/bin/cppcheck-gui.app /Applications
==> Finishing up
ln -s ../Cellar/cppcheck/1.59/bin/cppcheck cppcheck
ln -s ../../Cellar/cppcheck/1.59 cppcheck
ln -s ../Cellar/cppcheck/1.59 cppcheck
==> Summary
🍺 /usr/local/Cellar/cppcheck/1.59: 7 files, 3.4M, built in 32 seconds
$ which cppcheck
/usr/local/bin/cppcheck
$ cat ~/Library/Logs/Homebrew/tbb/01.make
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.7.5
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
sh ../../build/version_info_macos.sh c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
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
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
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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
c++ -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
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
c++ -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
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
c++ -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
c++ -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
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
sh ../../build/generate_tbbvars.sh
c++ -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
c++ -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
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
c++ -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
HOMEBREW_VERSION: 0.9.4
HEAD: 76b96fa2dc0262fc8cdc149a1fecc01db1e0f9f2
CPU: 24-core 64-bit arrandale
OS X: 10.7.5-x86_64
Xcode: 4.5.2
CLT: 1.0.0.9000000000.1.1249367152
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.6.4 => /usr/X11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment