I get an error when trying to compile to montavista.

I'm using this command line argument:

./configure --host=ppc-linux --build=x86_64-linux CXX=ppc_85xx-g++ 
AR=ppc_85xx-ar CC=ppc_85xx-gcc --disable-tls

And the last error is this:

ppc_85xx-gcc  -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement 
-fno-stack-protector   -o vgpreload_memcheck-ppc32-linux.so -nodefaultlibs 
-shared -Wl,-z,interpose,-z,initfirst -m32 -Wl,--whole-archive 
../coregrind/libreplacemalloc_toolpreload-ppc32-linux.a -Wl,--no-whole-archive 
vgpreload_memcheck_ppc32_linux_so-mc_replace_strmem.o
ppc_85xx-gcc  -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement 
-fno-stack-protector   -o memcheck-ppc32-linux -static 
-Wl,-defsym,valt_load_address=0x38000000 -nodefaultlibs -nostartfiles -u _start 
-m32 -Wl,-T,../valt_load_address_ppc32_linux.lds 
memcheck_ppc32_linux-mc_leakcheck.o memcheck_ppc32_linux-mc_malloc_wrappers.o 
memcheck_ppc32_linux-mc_main.o memcheck_ppc32_linux-mc_translate.o 
memcheck_ppc32_linux-mc_machine.o memcheck_ppc32_linux-mc_errors.o 
../coregrind/libcoregrind-ppc32-linux.a ../VEX/libvex-ppc32-linux.a -lgcc
../coregrind/libcoregrind-ppc32-linux.a(libcoregrind_ppc32_linux_a-aspacemgr-linux.o):
 In function `vgPlain_am_do_sync_check':
/home/rootfs/brioja/valgrind/valgrind-3.5.0/coregrind/m_aspacemgr/aspacemgr-linux.c:1059:
 undefined reference to `parse_procselfmaps'
../coregrind/libcoregrind-ppc32-linux.a(libcoregrind_ppc32_linux_a-aspacemgr-linux.o):
 In function `vgPlain_am_startup':
/home/rootfs/brioja/valgrind/valgrind-3.5.0/coregrind/m_aspacemgr/aspacemgr-linux.c:1683:
 undefined reference to `parse_procselfmaps'
/opt/montavista/cge50/montavista/cge/devkit/ppc/85xx/bin/../lib/gcc/powerpc-montavista-linux-gnuspe/4.2.0/libgcc.a(divdf3.o):
 In function `__divdf3':
/home/build/BUILD/gcc-4.2.0/objdir/gcc/../../gcc/config/soft-fp/divdf3.c:44: 
undefined reference to `abort'
/opt/montavista/cge50/montavista/cge/devkit/ppc/85xx/bin/../lib/gcc/powerpc-montavista-linux-gnuspe/4.2.0/libgcc.a(muldf3.o):
 In function `__muldf3':
/home/build/BUILD/gcc-4.2.0/objdir/gcc/../../gcc/config/soft-fp/muldf3.c:44: 
undefined reference to `abort'
collect2: ld returned 1 exit status
make[4]: *** [memcheck-ppc32-linux] Error 1
make[4]: Leaving directory 
`/home/rootfs/brioja/valgrind/valgrind-3.5.0/memcheck'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/rootfs/brioja/valgrind/valgrind-3.5.0/memcheck'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/rootfs/brioja/valgrind/valgrind-3.5.0/memcheck'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rootfs/brioja/valgrind/valgrind-3.5.0'
make: *** [all] Error 2



Brandon Rioja
Software Engineer
Video Systems Division
Compunetix, Inc.
[email protected]
(412) 858-6108 (Direct)



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to