On Sun, Jun 13, 2010 at 1:51 PM, Robert Berger
<gm...@reliableembeddedsystems.com> wrote:
> On 06/10/2010 07:38 PM, Bart Van Assche wrote:
> I'm using ELDK 4.2 on an AMCC kilauea board:
>
> All on the host:
>
> svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_5_BRANCH
>
> VALGRIND_PATH="VALGRIND_3_5_BRANCH"
>
> The patches are attached as well.
>
> This patch is to remove the altivec instructions
>
> patch -p1 < patches/altivec.diff
>
> This patch is to make the linker happy.
>
>  In function `__divsf3':
> /opt/eldk/build/ppc-2008-04-01/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/powerpc-linux/gcc-4.2.2/gcc/config/soft-fp/divsf3.c:44:
>  undefined reference to `abort'
>
> patch -p1 < patches/abort.diff
>
> cd $VALGRIND_PATH
>
> source ../../../env.sh
>
> make distclean
>
> echo "autogen"
> ./autogen.sh --host=powerpc-linux --target=powerpc-linux --disable-tls
> --prefix=$ELDK_PREFIX/eldk-4.2-ppc_4xx/ppc_4xx
>
> echo "configure"
> ./configure  --host=powerpc-linux --target=powerpc-linux --disable-tls
> --prefix=$ELDK_PREFIX/eldk-4.2-ppc_4xx/ppc_4xx
>
> echo "make"
> make
>
> So far so bad.
>
> With make install on the host we fail here:
>
> win.h'
> '/work/rber/eldk-4.2-ppc_4xx/ppc_4xx/include/valgrind/vki/vki-scnums-darwin.h'
> make[3]: Leaving directory
> `/home/rber/projects/ldd/ldd_for_trainer/src/31_valgrind/VALGRIND_3_5_BRANCH/include'
> make[2]: Leaving directory
> `/home/rber/projects/ldd/ldd_for_trainer/src/31_valgrind/VALGRIND_3_5_BRANCH/include'
> Making install in VEX
> make[2]: Entering directory
> `/home/rber/projects/ldd/ldd_for_trainer/src/31_valgrind/VALGRIND_3_5_BRANCH/VEX'
> make  install-am
> make[3]: Entering directory
> `/home/rber/projects/ldd/ldd_for_trainer/src/31_valgrind/VALGRIND_3_5_BRANCH/VEX'
> make[4]: Entering directory
> `/home/rber/projects/ldd/ldd_for_trainer/src/31_valgrind/VALGRIND_3_5_BRANCH/VEX'
> test -z "/work/rber/eldk-4.2-ppc_4xx/ppc_4xx/lib/valgrind" || /bin/mkdir
> -p "/work/rber/eldk-4.2-ppc_4xx/ppc_4xx/lib/valgrind"
>  /usr/bin/install -c -m 644 'libvex-ppc32-linux.a'
> '/work/rber/eldk-4.2-ppc_4xx/ppc_4xx/lib/valgrind/libvex-ppc32-linux.a'
>  powerpc-linux-ranlib
> '/work/rber/eldk-4.2-ppc_4xx/ppc_4xx/lib/valgrind/libvex-ppc32-linux.a'
> /bin/sh: line 4: powerpc-linux-ranlib: command not found
>
> Which is strange, since powerpc-linux-ranlib is definitely on the patch.

The first and second issue should now be fixed on the trunk (r11172
and r11173 respectively). Not sure why powerpc-linux-ranlib could not
be found - I have never seen this before. Maybe this is a local issue
?

Note: cross-compilation will work soon again on the trunk - a patch
has already been posted by Julian on the valgrind-developers
mailinglist.

Bart.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to