|
From: Daniel G. <dan...@no...> - 2003-11-06 21:28:18
|
When I run any valgrind command, including 'valgrind --help', I get this error: 'Illegal Instruction' I turned on loader debugging with 'LD_DEBUG=files; export LD_DEBUG', and the last thing it was trying to do before dying was 'calling init: //lib/valgrind/valgrind.so' Any idea what is going on here? I've been pulling my hair out all day on this. Some unusual things about my system: - I am using a cross compile toolchain - Build system is an old RedHat system, athlon, gcc-2.96, libc-2.2.5. linux 2.4.20 - Host(target) system is 486, gcc-3.3.2, libc-2.3.2, linux 2.4.22 - Environmental variables CC, RANLIB, AR etc are set to cross compile equivalents. Watching the VG build I note that these tools are being used properly (with the exception of AR, which I fixed) - My target system is an embedded PC104 module on which I would like to do some debugging. - 100% of the software on the embedded system, including the linux kernel, is compiled with the cross tool chain and everything works great except for vg. Thanks in advance, Dan Goertzen dan...@no... |