|
From: Jake <bin...@ya...> - 2012-04-16 07:00:13
|
Hello,
export
CFLAGS="-mcpu=arm926ej-s -I/opt/lemonix/cdt/arm-linux-gnueabi/include"
export LDFLAGS="-L/opt/lemonix/cdt/arm-linux-gnueabi/lib"
export CROSS_COMPILE=/opt/lemonix/cdt/bin/arm-linux-
export CC=${CROSS_COMPILE}gcc
export CPP=${CROSS_COMPILE}cpp
export CXX=${CROSS_COMPILE}g++
export LD=${CROSS_COMPILE}ld
export AR=${CROSS_COMPILE}ar
export CAS=${CROSS_COMPILE}gcc
1. Using command to
./configure --prefix=/opt/valgrind --host=armv7-unknown-linux-gnu which is
successful.
2. After this I am compiling the valgrind using "make" and getting following
error:
====================================
make all-recursive
make[1]: Entering directory `/home/jkyoo/valgrind-3.7.0_a'
Making all in include
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/include'
make[2]: `all' not found working
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/include'
Making all in VEX
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make all-am
make[3]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make[3]: `all-am' not found working
make[3]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
Making all in coregrind
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make all-am
make[3]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
/opt/lemonix/cdt/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -DVGPV_arm_linux_vanilla=1
-I../coregrind -DVG_LIBDIR="\"/opt/valgrind/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\""
-I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1
-DVGPV_arm_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/opt/valgrind/lib/valgrind"\"
-DVG_PLATFORM="\"arm-linux\"" -marm -mcpu=cortex-a8 -g -Wno-long-long -pipe
-O2 -mcpu=arm926ej-s -I/opt/lemonix/cdt/arm-linux-gnueabi/include -MT
libcoregrind_arm_linux_a-dispatch-arm-linux.o -MD -MP -MF
.deps/libcoregrind_arm_linux_a-dispatch-arm-linux.Tpo -c -o
libcoregrind_arm_linux_a-dispatch-arm-linux.o `test -f
'm_dispatch/dispatch-arm-linux.S' || echo
'./'`m_dispatch/dispatch-arm-linux.S
m_dispatch/dispatch-arm-linux.S: Assembler messages:
m_dispatch/dispatch-arm-linux.S:88: Error: selected processor does not
support `movw r3,#:lower16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:91: Error: selected processor does not
support `movt r3,#:upper16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:109: Error: selected processor does not
support `movw r1,#(((1<<15))-1)'
m_dispatch/dispatch-arm-linux.S:110: Error: selected processor does not
support `movw r4,#:lower16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:113: Error: selected processor does not
support `movt r4,#:upper16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:144: Error: selected processor does not
support `movw r3,#:lower16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:147: Error: selected processor does not
support `movt r3,#:upper16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:165: Error: selected processor does not
support `movw r1,#(((1<<15))-1)'
m_dispatch/dispatch-arm-linux.S:166: Error: selected processor does not
support `movw r4,#:lower16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:169: Error: selected processor does not
support `movt r4,#:upper16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:184: Error: selected processor does not
support `movw r0,#:lower16:vgPlain_tt_fastN'
m_dispatch/dispatch-arm-linux.S:185: Error: selected processor does not
support `movt r0,#:upper16:vgPlain_tt_fastN'
make[3]: *** [libcoregrind_arm_linux_a-dispatch-arm-linux.o] error1
make[3]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make[2]: *** [all] error 2
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a'
make: *** [all] error 2
Please, your help.
Thank you.
|
|
From: Jake <jk...@he...> - 2012-04-16 07:00:13
|
Hello,
export
CFLAGS="-mcpu=arm926ej-s -I/opt/lemonix/cdt/arm-linux-gnueabi/include"
export LDFLAGS="-L/opt/lemonix/cdt/arm-linux-gnueabi/lib"
export CROSS_COMPILE=/opt/lemonix/cdt/bin/arm-linux-
export CC=${CROSS_COMPILE}gcc
export CPP=${CROSS_COMPILE}cpp
export CXX=${CROSS_COMPILE}g++
export LD=${CROSS_COMPILE}ld
export AR=${CROSS_COMPILE}ar
export CAS=${CROSS_COMPILE}gcc
1. Using command to
./configure --prefix=/opt/valgrind --host=armv7-unknown-linux-gnu which is
successful.
2. After this I am compiling the valgrind using "make" and getting following
error:
====================================
make all-recursive
make[1]: Entering directory `/home/jkyoo/valgrind-3.7.0_a'
Making all in include
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/include'
make[2]: `all' not found working
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/include'
Making all in VEX
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make all-am
make[3]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make[3]: `all-am' not found working
make[3]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/VEX'
Making all in coregrind
make[2]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make all-am
make[3]: Entering directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
/opt/lemonix/cdt/bin/arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include
-I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -DVGPV_arm_linux_vanilla=1
-I../coregrind -DVG_LIBDIR="\"/opt/valgrind/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\""
-I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1
-DVGPV_arm_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/opt/valgrind/lib/valgrind"\"
-DVG_PLATFORM="\"arm-linux\"" -marm -mcpu=cortex-a8 -g -Wno-long-long -pipe
-O2 -mcpu=arm926ej-s -I/opt/lemonix/cdt/arm-linux-gnueabi/include -MT
libcoregrind_arm_linux_a-dispatch-arm-linux.o -MD -MP -MF
.deps/libcoregrind_arm_linux_a-dispatch-arm-linux.Tpo -c -o
libcoregrind_arm_linux_a-dispatch-arm-linux.o `test -f
'm_dispatch/dispatch-arm-linux.S' || echo
'./'`m_dispatch/dispatch-arm-linux.S
m_dispatch/dispatch-arm-linux.S: Assembler messages:
m_dispatch/dispatch-arm-linux.S:88: Error: selected processor does not
support `movw r3,#:lower16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:91: Error: selected processor does not
support `movt r3,#:upper16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:109: Error: selected processor does not
support `movw r1,#(((1<<15))-1)'
m_dispatch/dispatch-arm-linux.S:110: Error: selected processor does not
support `movw r4,#:lower16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:113: Error: selected processor does not
support `movt r4,#:upper16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:144: Error: selected processor does not
support `movw r3,#:lower16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:147: Error: selected processor does not
support `movt r3,#:upper16:vgPlain_dispatch_ctr'
m_dispatch/dispatch-arm-linux.S:165: Error: selected processor does not
support `movw r1,#(((1<<15))-1)'
m_dispatch/dispatch-arm-linux.S:166: Error: selected processor does not
support `movw r4,#:lower16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:169: Error: selected processor does not
support `movt r4,#:upper16:vgPlain_tt_fast'
m_dispatch/dispatch-arm-linux.S:184: Error: selected processor does not
support `movw r0,#:lower16:vgPlain_tt_fastN'
m_dispatch/dispatch-arm-linux.S:185: Error: selected processor does not
support `movt r0,#:upper16:vgPlain_tt_fastN'
make[3]: *** [libcoregrind_arm_linux_a-dispatch-arm-linux.o] error1
make[3]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make[2]: *** [all] error 2
make[2]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a/coregrind'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/jkyoo/valgrind-3.7.0_a'
make: *** [all] error 2
Please, your help.
Thank you.
|