Source: jemalloc Version: 3.6.0-5 Tags: patch User: [email protected] Usertags: rebootstrap
Dear jemalloc maintainer, Even after fixing #807532, jemalloc still doesn't cross well for all architectures. The reason for this is that the architecture-specific quirks are misdetected. debian/rules says e.g.: | ifneq (,$(findstring $(DEB_BUILD_ARCH),sparc sparc64)) | DEB_CPPFLAGS_MAINT_APPEND += -DLG_QUANTUM=4 | endif What this means is that when I am building on a sparc box (for whatever architecture), then add the cppflag. Conversely, when building for sparc on an amd64, it doesn't add the flag and the build fails. The intention behind all of these checks is to match the architecture that is being built for, which is called host architecture and not build architecture. The fix is simple: sed -i s/DEB_BUILD_/DEB_HOST_/g debian/rules Helmut

