|
From: Sunil <sun...@gm...> - 2012-04-10 08:40:20
|
Hi Team,
I am a new user of Valgrind tool. I am compiling the the valgrind 3.7.0 for
ARMv7 but facing some problem. Steps are given below:
1. Using this command to configure the system "./configure --prefix=/netd --
host=armv7-unknown-linux-gnu" which is successful.
2. After this I am compiling the valgrind using "make" and getting following
error:
================
Error
Making all in VEX
make[2]: Entering directory `/home/ssunil/valgrind-3.7.0/VEX'
rm -f auxprogs/genoffsets.s
/usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc -Wno-
long-long \
-Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing \
-O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-
prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -
fno-builtin -marm -mcpu=cortex-a8 \
-O -S -o auxprogs/genoffsets.s \
auxprogs/genoffsets.c
cc1: error: bad value (cortex-a8) for -mcpu= switch
make[2]: *** [pub/libvex_guest_offsets.h] Error 1
make[2]: Leaving directory `/home/ssunil/valgrind-3.7.0/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ssunil/valgrind-3.7.0'
make: *** [all] Error 2
================
Also I am using the following compiler for ARMv7:
armv5b-softfloat-linux-gnu
Kindly help me out to compile the same for ARMv7 processor.
|
|
From: Sunil K. <sun...@gm...> - 2012-04-11 16:05:10
|
Hi Team,
I am a new user of Valgrind tool. I am compiling the the valgrind 3.7.0 for
ARMv7 but facing some problem. Steps are given below:
1. Using this command to configure the system "./configure --prefix=/netd
--host=armv7-unknown-linux-gnu" which is successful.
2. After this I am compiling the valgrind using "make" and getting
following error:
================
Error
Making all in VEX
make[2]: Entering directory `/home/ssunil/valgrind-3.7.0/VEX'
rm -f auxprogs/genoffsets.s
/usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc
-Wno-long-long \
-Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing \
-O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length
-fno-strict-aliasing -fno-builtin -marm -mcpu=cortex-a8 \
-O -S -o auxprogs/genoffsets.s \
auxprogs/genoffsets.c
cc1: error: bad value (cortex-a8) for -mcpu= switch
make[2]: *** [pub/libvex_guest_offsets.h] Error 1
make[2]: Leaving directory `/home/ssunil/valgrind-3.7.0/VEX'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ssunil/valgrind-3.7.0'
make: *** [all] Error 2
================
Kindly help me out to compile the same for ARMv7 processor.
--
Regards
Sunil Kumar
Aricent Group
Mob # 09953078905
|
|
From: John R. <jr...@bi...> - 2012-04-11 17:16:35
|
> /usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc ... -marm -mcpu=cortex-a8 ... > cc1: error: bad value (cortex-a8) for -mcpu= switch That compiler does not understand the cortex-a8 CPU. Either get a compiler which does understand cortex-a8, or try omitting the specification of -mcpu= entirely (try it "by hand" first, then adjust the ./configure), or perhaps try specifying some other -mcpu= that is slightly less feature-ful. One place to get a list of CPUs is "info gcc" then search for "cortex" or "-mcpu=NAME". -- |
|
From: Jake <bin...@ya...> - 2012-04-16 23:56:15
|
This site reference. arm cpu option. http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html Thank you. "Sunil Kumar" <sun...@gm...>?(?) ?? ???? ??????. news:CAPknRT5dcoLX9w6UB4qa+WwXnhKBAJCXU7rLX3WtZ=k-j...@ma...... Hi Team, I am a new user of Valgrind tool. I am compiling the the valgrind 3.7.0 for ARMv7 but facing some problem. Steps are given below: 1. Using this command to configure the system "./configure --prefix=/netd --host=armv7-unknown-linux-gnu" which is successful. 2. After this I am compiling the valgrind using "make" and getting following error: ================ Error Making all in VEX make[2]: Entering directory `/home/ssunil/valgrind-3.7.0/VEX' rm -f auxprogs/genoffsets.s /usr/local/netd_tools_v1/arm/bin/armv5b-softfloat-linux-gnu-gcc -Wno-long-long \ -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing \ -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -marm -mcpu=cortex-a8 \ -O -S -o auxprogs/genoffsets.s \ auxprogs/genoffsets.c cc1: error: bad value (cortex-a8) for -mcpu= switch make[2]: *** [pub/libvex_guest_offsets.h] Error 1 make[2]: Leaving directory `/home/ssunil/valgrind-3.7.0/VEX' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ssunil/valgrind-3.7.0' make: *** [all] Error 2 ================ Kindly help me out to compile the same for ARMv7 processor. -- Regards Sunil Kumar Aricent Group Mob # 09953078905 ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Val...@li... https://lists.sourceforge.net/lists/listinfo/valgrind-users |