-
Notifications
You must be signed in to change notification settings - Fork 34
Undefined symbol _je_malloc_usable_size
on macOS without jemalloc
#80
Comments
Looks like there needs to be another conditional on https://github.com/servo/heapsize/blob/master/src/lib.rs#L41 to handle this case? |
I think this is https://bugzilla.mozilla.org/show_bug.cgi?id=1350581. @nnethercote, you wrote there you wanted to redesign the |
It's going slowly due to bindgen issues. Also, I'm now thinking about leaving |
This breaks any crate which transitively uses |
Until some other design materializes, this crate effectively depends on jemalloc. We could make it an optional dependency in euclid. |
Yes, it's basically a flawed design. In Stylo I've introduced a I'd like for |
What's the issue with updating HeapSizeOf to accept an argument and publishing a new version? |
I have gone ahead and done that in #84. |
#84 is replaced with a separate Closing as “wontfix”, heapsize will keep depending on jemalloc. The next update of WebRender in Gecko should include servo/webrender#2192 and remove heapsize from the dependency graph. |
Building the Firefox C++ code with the clang address sanitizer requires --disable-jemalloc, but this fails in optmized builds on macOS because heapsize is expecting jemalloc's C api:
See https://bugzilla.mozilla.org/show_bug.cgi?id=1359475 for specific configuration details.
The text was updated successfully, but these errors were encountered: