Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.0.16, 10.1.2, 5.5
-
Fix Version/s: 10.0
-
Component/s: Compiling, Storage Engine - TokuDB
-
Environment:==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: c5709064d4c66de739481b9ca9f37ea8cfc9f719
Last commit: 2 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit nehalem
OS X: 10.10.3-x86_64
Xcode: 6.3
CLT: 6.1.1.0.1.1416017670
Clang: 6.1 build 602
X11: 2.7.8_beta3 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.0/bin/ruby
Java: 1.6.0_65
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/libressl:/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_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libressl/lib/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libressl/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin==> Configuration HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/Homebrew/homebrew HEAD: c5709064d4c66de739481b9ca9f37ea8cfc9f719 Last commit: 2 days ago HOMEBREW_PREFIX: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar CPU: quad-core 64-bit nehalem OS X: 10.10.3-x86_64 Xcode: 6.3 CLT: 6.1.1.0.1.1416017670 Clang: 6.1 build 602 X11: 2.7.8_beta3 => /opt/X11 System Ruby: 2.0.0-p481 Perl: /usr/bin/perl Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/bin/python2.7 Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.2.0/bin/ruby Java: 1.6.0_65 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/libressl:/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_PATH: /usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libressl/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10 ACLOCAL_PATH: /usr/local/share/aclocal PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libressl/bin:/usr/local/opt/git/bin:/usr/bin:/bin:/usr/sbin:/sbin
Description
Display an error to the lack jemalloc.
After reconciliation with the environment, its presence exists in /usr/local/lib/libjemalloc*.
`CMAKE_PREFIX_PATH: /usr/local/opt/openssl:/usr/local/opt/libressl:/usr/local`
-- Performing Test TOKUDB_OK -- Performing Test TOKUDB_OK - Success CMake Warning at storage/tokudb/CMakeLists.txt:17 (MESSAGE): TokuDB is enabled, but jemalloc is not. This configuration is not supported
~ ls /usr/local/lib/libjemalloc*
/usr/local/lib/libjemalloc.1.dylib /usr/local/lib/libjemalloc.dylib
/usr/local/lib/libjemalloc.a /usr/local/lib/libjemalloc_pic.a
~ tree /usr/local/Cellar/jemalloc/3.6.0/{bin,include,lib}
/usr/local/Cellar/jemalloc/3.6.0/bin
├── jemalloc-pprof
└── jemalloc.sh
/usr/local/Cellar/jemalloc/3.6.0/include
└── jemalloc
└── jemalloc.h
/usr/local/Cellar/jemalloc/3.6.0/lib
├── libjemalloc.1.dylib
├── libjemalloc.a
├── libjemalloc.dylib -> libjemalloc.1.dylib
└── libjemalloc_pic.a
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
I don't really understand why it fails for you. The command in the logs (thanks!) is
that is
So it should've found libjemalloc.dylyb. Perhaps your OSX port of jemalloc doesn't have malloc_stats_print function?
Anyway, I don't have the same environment so I cannot debug that, unfortunately. But you can try the following: remove these lines from your CMakeCache.txt file:
Then run
It will fail to find jemalloc again. But inside CMakeFiles/ you fill see CMakeTmp/ which will have a normal cmake project structure — with a C file, Makefile, CMakeFiles/. Running make there will run this test for jemaloc. This way you can examine the test, see the compiler or a linker error and know exactly why it fails.