Re: <jemalloc>: jemalloc_arena.c:182: Failed assertion: "p[i] == 0"

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Sun, 29 Apr 2012 00:56:09 -0700
Hi,

So hm, how do I define MALLOC_PRODUCTION correctly when doing a cross-build?

When doing a cross-build, I do this in my build script:


        env CROSS_BUILD_TESTING=YES
MAKEOBJDIRPREFIX=${X_MAKEOBJDIRPREFIX}      \
            make ${BUILD_FLAGS} TARGET=${TARGET}
TARGET_ARCH=${TARGET_ARCH}     \
            ${X_TARGET_CPUTYPE} KERNCONF=${KERNCONF}
DESTDIR=${X_DESTDIR}       \
            KODIR=/boot/kernel.${KERNCONF}/
         \
            KMODDIR=/boot/kernel.${KERNCONF}/
         \
            __MAKE_CONF=/dev/null SRCCONF=/dev/null
         \
            LOCAL_DIRS="${LOCAL_DIRS}"
         \
            LOCAL_TOOL_DIRS="${LOCAL_TOOL_DIRS}" $1
         \

.. so I'd have to put MALLOC_PRODUCTION=yes in a temporary make.conf,
and point __MAKE_CONF at that?



Adrian
Received on Sun Apr 29 2012 - 05:56:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC