|
From: Bart V. A. <bar...@gm...> - 2009-08-23 08:41:41
|
On Fri, Aug 21, 2009 at 12:02 AM, Mogens Lindholdt Lauridsen<ML...@ba...> wrote: > > Interesting..., so what about cross-compiling? > > I build valgrind on Suse x86 for PPC32 using a build script like this: > > > export > CC=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-gcc > export > CXX=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-g++ > export > LD=/opt/wrsysroot/x86-linux2/powerpc-wrs-linux-gnu-ppc_603e-glibc_small-ld > > > export LDFLAGS=-L/home/mln/evb/rootfs/usr/lib > > tar -xjf valgrind-3.3.1_with_mfspr_patch.tar.bz2 > cd valgrind-3.3.1 > ./configure --prefix=/home/mln/valgrind/install_debug > --enable-shared --host=ppc-linux --target=ppc-linux --enable-debug > --disable-tls || exit 1 > make || exit 1 > make install || exit 1 > > Will this give me the correct suppression files? Cross-compilation was broken in 3.3.0 but works fine with 3.4.0 and 3.4.1 and should still work fine with 3.5.0 (see also https://bugs.kde.org/show_bug.cgi?id=162295). Bart. |