valgrind: failed to start tool ‘memcheck’ for platform ‘mips32-linux’: No such file or directory

1. 问题现象

使用valgrind在mips平台上调试的时候,出现以下问题:

valgrind: failed to start tool 'memcheck' for platform 'mips32-linux': No such file or directory

2. 解决办法:

主要原因是由于make后没有make install,一些prefix参数配置不正确导致的。
需要如下操作即可解决:

export VALGRIND_LIB=/tmp/valgrind
/tmp/valgrind为我在mips平台调试的临时目录,改为你自己的目录即可。(需要绝对路径)

如果想完全解决此问题,需要在./configure的时候加入prefix的相关参数。

Logo

电影级数字人,免显卡端渲染SDK,十行代码即可调用,工业级demo免费开源下载!

更多推荐