-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
Unable to build with jemalloc on MacOS X #2954
Comments
@sagar0 Any progress on investigating this please? |
i got there too from:
|
@adamretter I got this error too.
|
@adamretter I add include and lib of jemalloc in my Makefile, then error solved. |
I started looking into this issue today. Here are my findings so far:
|
@sagar0 I am experiencing this problem again, I think I have a solution, will send a PR shortly. |
Okay I managed to enable the build (in PR #4767) to complete successfully with jealloc on macOS, but actually using RocksJava with jemalloc eventually causes the tests to crash, i.e. running
...
See attached: |
Summary: Closes facebook/rocksdb#2954 This doesn't necessarily mean that Rocks runs correctly with jemalloc on macOS... but at least now the build completes! Pull Request resolved: facebook/rocksdb#4767 Differential Revision: D13495195 Pulled By: sagar0 fbshipit-source-id: d3fda0d6358a93e9803d215e3406f117be367c42
Did anyone find a resolution w/ running the tests? When running tests or any code against an OSX built JNI, I get the same SIGSEGVs. The PR change to build-tools doesn't resolve the issue. |
After installing jemalloc on MacOS with Homebrew:
I am no longer able to build a release with
make rocksdbjavastatic
. I now get this error at the linker stage:The text was updated successfully, but these errors were encountered: