I found that the restgpr symbols were being included because I was configuring crosstool-NG with CT_CC_GCC_ENABLE_TARGET_OPTSPACE, which compiles gcc libs with "-Os". I rebuilt the toolchain without this option and Valgrind no longer complains about missing symbols or unrecognized instructions. The size of the complete board image barely changed, so I think I can just leave the toolchain like this and successfully use Valgrind.
On Sun, Mar 22, 2020 at 11:35 PM Alan Corey <alan01...@gmail.com> wrote: > > Those happen, don't take it personally. They used to be real common > in ARM. Sounds like you hit a code that's not covered. Not that I'm > one that can add it. > > See the "==466== Your program just tried to execute an instruction that > Valgrind > ==466== did not recognise." section of the error message. OTOH > somewhere it looks like it jumped to a null. _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users