Source: jemalloc
Version: 3.6.0-9
Tags: patch
User: [email protected]
Usertags: rebootstrap
Dear jemalloc maintainer,
When building jemalloc on an architecture that doesn't use glibc, some
symbols are not generated. This is due to jemalloc being able to hook
into glibc's allocator, which is an API not available on other libcs and
thus skipped there. The following sed expression restricts the relevant
symbols to glibc architectures.
sed -i -e 's/^ \(__.*_hook@Base.*\)/ (arch=gnu-any-any gnuabi64-any-any
gnuabin32-any-any gnueabi-any-any gnueabihf-any-any gnuspe-any-any
gnux33-any-any)\1/' debian/libjemalloc1.symbols
This patch uses positive matches to only cover glibc architectures. It
would also be possible to use negative matches like !musl-linux-any and
!uclibc-linux-any plus the same pile of different ABIs. Please consider
applying some form of symbol update addressing this.
Helmut