-
Notifications
You must be signed in to change notification settings - Fork 74
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 LocustDB
on Mac OS X
#114
Comments
We could try switching the allocator back to jemalloc as per: https://doc.rust-lang.org/1.9.0/book/custom-allocators.html |
I had a go at it and it doesn't seem to be super easy to make this work, might be better to just remove the Heapsize dependency entirely. The only use of it right now is to get (approximate) size of data stored in memory, which is dominated by the |
Yep, I have tried many days but eventually failed. |
I have create a pr for this. Please have a look. #115 |
After the recently update on
rust-toolchain
at 28c5cc9.Mac OS X will trigger a link error on building even after installed jemalloc
brew install jemalloc
.The detail log is attached.
I have done some investigations:
heapsize
crate heavily relies onjemalloc
. And it will fail to link w/o jemalloc. Undefined symbol_je_malloc_usable_size
on macOS without jemalloc servo/heapsize#80 . This issue has been marked as wontfix.parity-ethereum
, je_malloc_usable_size not found openethereum/parity-ethereum#9167 which is still open.I still have no idea about how to fix this stuff.
The text was updated successfully, but these errors were encountered: