I'm attempting to run the latest version of Valgrind from svn (rev 6041)
cross-compiled for a PPC8xx chip running Linux 2.6.14 and uClibc-0.9.28
with the following configure flags:
--target=3Dpowerpc-linux-uclibc --enable-only32bit --disable-tls
The problem I am having is this: any application I attempt to run (with
any valgrind tool) terminates with a SIGILL from within _start. My
first guess was that this was related to FPU instructions: running
valgrind with -v prints "Arch and hwcaps: ppc32-int-flt-FX-GX" despite
the fact that the CPU does not have an FPU (I believe floating point
emulation is enabled in the kernel), however, the offending instruction
and all of those before it in crt1.S are not floating point operations.
Based on previous postings to the mailing list, I have tried commenting
out the floating point code in dispatch-ppc32-linux.S, but this has not
made any difference.
I am not sure where to look next for the solution to this problem.