tags 511296 +patch thanks Hi again:
Going on with the topic. Having surfed the internet for a while most places point [0] for an explanation and possible fixes of the issue. The problem exists specifically because in the 32bits part of the configuration, the configure script is unable to find a GNU compliant malloc function and hence outputs this: checking for GNU libc compatible malloc... no This happens when configuring build-tree-lib-biarch using this commandline: CC="gcc -m32" CFLAGS="-g -O2 -O2 -fno-strict-aliasing" ../configure --cache- file=../config.biarch.cache --build=x86_64-linux-gnu --host=i386-linux -- libdir=/emul/ia32-linux/usr/lib --prefix=/usr --mandir=/usr/share/man -- disable-static --with- libpath=/usr/lib/fakechroot:/usr/lib64/fakechroot:/usr/lib32/fakechroot When doing this for some reason the test provided by AC_FUNC_MALLOC in configure.ac and documented in [1] fails to find a GNU compatible malloc and hence sets build system to use rpl_malloc function. The patch I'm attaching defines ac_cv_func_malloc_0_nonnull=yes as suggested in [0], so the 32 bits lib instance is forced to use of malloc rather than rpl_malloc. I think this is a deeper issue, maybe autoconf is to blame or maybe there is a configure settings combination which bypass the configure script wrong assumption. HTH, [0] http://wiki.buici.com/wiki/Autoconf_and_RPL_MALLOC [1] http://www.gnu.org/software/autoconf/manual/html_node/Particular- Functions.html#Particular-Functions -- Raúl Sánchez Siles Departamento de Montaje INFOGLOBAL, S. A. * C/ Virgilio, 2. Ciudad de la Imagen. 28223 Pozuelo de Alarcón (Madrid), España * T: +34 91 506 40 00 * F: +34 91 506 40 01
--- debian/packages~ 2009-01-08 16:43:16.000000000 +0100 +++ debian/packages 2009-01-08 19:11:49.000000000 +0100 @@ -69,7 +69,7 @@ case "$DEB_HOST_ARCH" in amd64) pushd build-tree-lib-biarch - CC="gcc -m32" CFLAGS="$CFLAGS" \ + CC="gcc -m32" CFLAGS="$CFLAGS" ac_cv_func_malloc_0_nonnull="yes" \ ../configure \ --cache-file=../config.biarch.cache \ --build=$DEB_BUILD_GNU_TYPE \