Hi, Thanks for your support.
I am running valgrind on ARM based embedded board from freescale. I am cross compiling valgrind code on ubuntu PC. This board is ARMv5. Does valgrind support for ARMv5? I am configuring as below, is it correct way to do? CC=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc AR=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ar ./configure --prefix=/valgrind --host=arm-none-linux-gnueabi --build=i386-ubuntu-linux --target=arm-none-linux-gnueabi Thanks & regards, Zaahir Khan On Thu, May 5, 2011 at 5:56 PM, Wan Mohd Fairuz Wan Ismail <[email protected]> wrote: > Hi, > I cross compiled valgrind using arm-none-linux-gnueabi from codesourcery and > have no problem running it on an Ubuntu ARM machine. Do you run Ubuntu too? > This is my configuration to build Valgrind: > CC=arm-none-linux-gnueabi-gcc CFLAGS="-pipe -Os -mtune=cortex-a9 > -march=armv7-a -mabi=aapcs-linux -msoft-float -DANDROID -static > -I/apps/codesourcery/arm-gcc/arm-2010q1-202/arm-none-linux-gnueabi/libc/usr/include" > LDFLAGS="-L/apps/codesourcery/arm-gcc/arm-2010q1-202/arm-none-linux-gnueabi/libc/usr/lib" > ./configure --prefix=/opt/valgrind --host=arm-none-linux-gnueabi > --target=arm-none-linux-gnueabi --build=i386-ubuntu-linux --with-tmpdir=/tmp > > > > On Thu, May 5, 2011 at 11:13 AM, Zaahir Khan <[email protected]> wrote: >> >> Hi, >> >> Thanks for your support. >> >> No it was with valgrind. Without valgrind bin valgrind_example is not >> using /lib/ld-2.5.so linker. >> >> Thanks & regards, >> >> Zaahir Khan >> >> >> >> On Thu, May 5, 2011 at 1:56 PM, Wan Mohd Fairuz Wan Ismail >> <[email protected]> wrote: >> > Hi, >> > Did the test program works it you execute it without valgrind? ( >> > /home/administrator/valgrind_example). >> >> >> >> --- SIGSEGV (Segmentation fault) @ 0 (0) --- >> >> +++ killed by SIGSEGV +++ >> >> Process 703 detached >> >> >> > >> > >> > -- >> > Wan Mohd Fairuz WAN ISMAIL >> > >> > > > > > -- > Wan Mohd Fairuz WAN ISMAIL > > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Valgrind-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/valgrind-users
