-
-
Notifications
You must be signed in to change notification settings - Fork 816
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
Enable jemallocator on 64-bit musl builds #1062
Conversation
I think the reason why I disabled them for musl builds back then (#481) was purely based on the fact that jemalloc didn't work in combination with musl. If there is no other reason we can think of (unfortunately, there is not more information in my commit messages / PR description and the Travis logs are not available anymore), this sounds like a good idea - thank you! |
Whoops I force pushed |
9bea057
to
b1c3468
Compare
So actually this used to work, but right now the musl version bundled with Rust is too old, leading to tikv/jemallocator#30 tikv/pprof-rs#142 |
Done. No worries. |
Actually CI works for x86-64, it's just broken on my computers. Can be worked around with The i686 failure might be related to rust-lang/cc-rs#436. |
How do we want to proceed here? I think it would be great to get this into the next release. Maybe we can just add a special case for the two platforms that are failing (i.e.: disable jemalloc for those) and add a comment that links to the tickets you mentioned above? That would still give musl+jemalloc on the more important platforms. |
@sharkdp That sounds good to me! I probably won't have time for a few days so feel free to take this over if you do. |
Partial fix for sharkdp#710 and sharkdp#980.
b1c3468
to
bc438f4
Compare
6b29b68
to
bc438f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update!
The remaining two cases are 32-bit arm and x86. I got x86 working in debug builds but release builds still fail to link. I think x86 may be fixed in a future Rust release by upgrading |
Partial fix for #710 and #980.