Skip to content
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

3.2.0 w/ perftools - compile error on OSX 10.8.2, 'rpl_malloc' undeclared #4

Open
2bits opened this issue Oct 20, 2012 · 0 comments
Open

Comments

@2bits
Copy link

2bits commented Oct 20, 2012

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant