I'm getting a build error when I --enable-perftools using google-perftools-2.0 on OSX where it claims a variable is undeclared in some scope:
/usr/bin/llvm-g++ -DHAVE_CONFIG_H -I. -Os -w -pipe -mmacosx-version-min=10.8 -march=core2 -msse4 -pthread -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -c -o src/sw/lib/Solution1.o src/sw/lib/Solution1.cpp
In file included from /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45,
from /usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/emmintrin.h:35,
from src/sw/lib/vsw16.h:33,
from src/sw/lib/Solution1.cpp:7:
/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h: In function 'void* _mm_malloc(size_t, size_t)':
/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:56: error: 'rpl_malloc' was not declared in this scope
make[2]: *** [src/sw/lib/Solution1.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
This is occuring when I build with Homebrew, but the error occurs if I build without it.
I'm getting a build error when I
--enable-perftools
using google-perftools-2.0 on OSX where it claims a variable is undeclared in some scope:This is occuring when I build with Homebrew, but the error occurs if I build without it.
Here is my non-Homebrew install log Here is my Hombrew running install log Here is my Homebrew config.log
I'm not sure how to patch this. So no pull request unfortunately, but thanks for taking a look.