jemallocator icon indicating copy to clipboard operation
jemallocator copied to clipboard

build: switch submodule to upstream jemalloc and link atomic for musl

Open reigadegr opened this issue 5 months ago • 1 comments

Summary

Point the jemalloc submodule to the official jemalloc/jemalloc repo instead of the tikv/jemalloc fork. Always link libatomic when building for *-unknown-linux-musl targets to prevent undefined-reference errors like __atomic_exchange_1.

Details

.gitmodules: updated URL to https://github.com/jemalloc/jemalloc. jemalloc-sys/build.rs: extend the existing RISC-V check so that libatomic is also linked for musl targets.

No behavioural changes in the resulting allocator.

reigadegr avatar Aug 13 '25 14:08 reigadegr

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.

:memo: Please follow instructions in the contributing guide to update your commits with the DCO

Full details of the Developer Certificate of Origin can be found at developercertificate.org.

The list of commits missing DCO signoff:

  • 8bf14f2 chore: .gitmodules: 更换仓库

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

ti-chi-bot[bot] avatar Aug 16 '25 01:08 ti-chi-bot[bot]