[MDEV-7645] jemalloc isn't used when it's built with a prefix Created: 2015-02-27 Updated: 2022-10-20 Resolved: 2022-10-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.0.16, 10.1.2, 5.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Denis Denisov | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | jemalloc, tests, tokudb, upstream | ||
| Environment: |
==> Configuration |
||
| Attachments: |
|
| Description |
|
Display an error to the lack jemalloc.
|
| Comments |
| Comment by Sergei Golubchik [ 2015-04-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
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. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Denis Denisov [ 2015-04-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The problem was found he ignores that jemalloc can be assembled with the prefix
jemalloc-3.6.0:
"--with-jemalloc-prefix=" may help but by default it creates a prefix
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2022-10-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Won't fix with Tokudb being EOL. |