|
From: James W. <jam...@gm...> - 2011-03-09 23:32:32
|
I'm having problems building Valgrind for ARM. The specific application that is failing is memcheck. Here's the error: ../coregrind/link_tool_exe_linux 0x38000000 arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -Wno-long-long -isystem/home/OE/oetmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb3 -Wno-pointer-sign -fno-stack-protector -L/home/OE/oetmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/OE/oetmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o memcheck-arm-linux -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -marm -O2 -static -nodefaultlibs -nostartfiles -u _start -Wl,--build-id=none memcheck_arm_linux-mc_leakcheck.o memcheck_arm_linux-mc_malloc_wrappers.o memcheck_arm_linux-mc_main.o memcheck_arm_linux-mc_translate.o memcheck_arm_linux-mc_machine.o memcheck_arm_linux-mc_errors.o ../coregrind/libcoregrind-arm-linux.a ../VEX/libvex-arm-linux.a -lgcc | ../coregrind/libcoregrind-arm-linux.a(libcoregrind_arm_linux_a-m_main.o): In function `_start': | m_main.c:(.debug_macinfo+0x182e8): relocation truncated to fit: R_ARM_JUMP24 against symbol `_start_in_C_linux' defined in .text section in ../coregrind/libcoregrind-arm-linux.a(libcoregrind_arm_linux_a-m_main.o) | collect2: ld returned 1 exit status | make[3]: *** [memcheck-arm-linux] Error 1 any help would be greatly appreciated. Thanks, James |