Source: jemalloc
Version: 3.6.0-9
Severity: important
Justification: fails to build from source (but built successfully in the past)
Builds of jemalloc for hurd-i386 have been failing:
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security
-std=gnu99 -fvisibility=hidden -fPIC -DPIC -c -Wdate-time -D_FORTIFY_SOURCE=2
-DPATH_MAX=8192 -D_REENTRANT -Iinclude -Iinclude -o src/chunk_dss.pic.o
src/chunk_dss.c
In file included from include/jemalloc/internal/jemalloc_internal.h:719:0,
from src/chunk_mmap.c:2:
include/jemalloc/internal/bitmap.h: In function 'je_bitmap_sfu':
include/jemalloc/internal/bitmap.h:133:8: warning: implicit declaration of
function 'ffsl' [-Wimplicit-function-declaration]
bit = ffsl(g) - 1;
^
src/chunk_mmap.c: In function 'je_pages_purge':
src/chunk_mmap.c:132:6: error: #error "No method defined for purging unused
dirty pages."
# error "No method defined for purging unused dirty pages."
^
src/chunk_mmap.c:134:34: error: 'JEMALLOC_MADV_PURGE' undeclared (first use
in this function)
int err = madvise(addr, length, JEMALLOC_MADV_PURGE);
^
src/chunk_mmap.c:134:34: note: each undeclared identifier is reported only
once for each function it appears in
src/chunk_mmap.c:135:14: error: 'JEMALLOC_MADV_ZEROS' undeclared (first use
in this function)
unzeroed = (JEMALLOC_MADV_ZEROS == false || err != 0);
^
make[2]: *** [src/chunk_mmap.pic.o] Error 1
make[1]: *** [override_dh_auto_build] Error 2
make: *** [build-arch] Error 2
Could you please take a look? FWIW, the Hurd uses GNU libc, just like
release architectures (and kFreeBSD).
Thanks!