Debian Patches

Status for jemalloc/5.3.0-3

Patch Description Author Forwarded Bugs Origin Last update
Disable-builtin-malloc-in-tests.patch Disable builtin malloc in tests
With `--with-jemalloc-prefix=` and without `-fno-builtin` or `-O1` both clang and gcc may optimize out `malloc` calls
whose result is unused. Comparing result to NULL also doesn't necessarily count as being used.

This won't be a problem in most client programs as this only concerns really unused pointers, but in
tests it's important to actually execute allocations.
`-fno-builtin` should disable this optimization for both gcc and clang, and applying it only to tests code shouldn't hopefully be an issue.
Another alternative is to force "use" of result but that'd require more changes and may miss some other optimization-related issues.

This should resolve https://github.com/jemalloc/jemalloc/issues/2091
divanorama <divanorama@gmail.com> yes debian upstream upstream, https://github.com/jemalloc/jemalloc/commit/3de0c24859f4413bf03448249078169bb50bda0f 2022-09-29
hurd.patch Add support for Hurd Add support to configure.ac for GNU Hurd, per
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html
Samuel Thibault <sthibault@debian.org> yes debian 2023-05-16

All known versions for source package 'jemalloc'

Links