Hello Folks,

This is my first mail here.

While cross compiling memcheck for ARM,  I get an unresolved symbol for
vgSysWrap_generic_sys_mremap_before in coregrind/libcoregrind-arm-linux.a

I can see that is is undefined in that library.

Making all in .
make[1]: Entering directory
`/home/maheshvenkateshwaran/valgrind-3.12.0/memcheck'
../coregrind/link_tool_exe_linux 0x38000000 gcc     -o
memcheck-arm-linux -O2 -g -std=gnu99 -Wall -Wmissing-prototypes
-Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
-Wcast-qual -Wwrite-strings -Wempty-body -Wformat -Wformat-security
-Wignored-qualifiers -Wmissing-parameter-type -Wold-style-declaration
-fno-stack-protector -fno-strict-aliasing -fno-builtin  -marm
-mcpu=cortex-a8 -O2 -static -nodefaultlibs -nostartfiles -u _start
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-syswrap-arm-linux.o):(.data+0x518):
undefined reference to `vgSysWrap_generic_sys_mremap_before'
collect2: ld returned 1 exit status
make[1]: *** [memcheck-arm-linux] Error 1

Any idea how to resolve this issue?

Steps
./configure --host=armv7-none-linux-gnueabi --target=armv7-none-linux-gnueabi
./make

Valgrind compiled fine and executable is built as well
$ file ./valgrind
./valgrind: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), not stripped


regards
Mahesh

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to