|
From: naeem m. <nk...@ya...> - 2010-05-07 05:51:45
|
Hi All, I want to use valgrind, I got following error while running. ========================================= valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: strlen valgrind: in an object with soname matching: ld.so.1 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld.so.1 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. valgrind: valgrind: Cannot continue -- exiting now. Sorry. ============================================= While trying to compile my code with -static falg, it gives error -lgcc_s not found. Can anybody explain what the problem is and suggest the solution as well. Also it seems quite similar as below link: http://lists.denx.de/pipermail/eldk/2008-March/000099.html This is bit urgent so please revert ASAP if anybody has the info. Thanks in avance. --- Thanks and Regards, Naeem Memon |
|
From: Mogens L. L. <ML...@ba...> - 2010-05-07 06:47:10
|
Hi, I have seen the first one (the valgrind error) on my PPC embedded target. The solution in my case was to build the OS with debug info. (In fact replacing ld.so without debug info with an ld.so with debug info solved the problem). /Mogens naeem memon <nk...@ya...> 07-05-2010 07:54 To val...@li... cc Subject [Valgrind-users] Issue whie using valgrind Hi All, I want to use valgrind, I got following error while running. ========================================= valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: strlen valgrind: in an object with soname matching: ld.so.1 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld.so.1 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. valgrind: valgrind: Cannot continue -- exiting now. Sorry. ============================================= While trying to compile my code with -static falg, it gives error -lgcc_s not found. Can anybody explain what the problem is and suggest the solution as well. Also it seems quite similar as below link: http://lists.denx.de/pipermail/eldk/2008-March/000099.html This is bit urgent so please revert ASAP if anybody has the info. Thanks in avance. --- Thanks and Regards, Naeem Memon ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Val...@li... https://lists.sourceforge.net/lists/listinfo/valgrind-users |