Académique Documents
Professionnel Documents
Culture Documents
endif
add_hardwired_spec(
"ld-linux.so.2", "index",
(Addr)&VG_(x86_linux_REDIR_FOR_index), mandat
ory);
+ #if 0
add_hardwired_spec(
"ld-linux.so.2", "strlen",
(Addr)&VG_(x86_linux_REDIR_FOR_strlen), manda
tory);
+ #endif
}
# elif defined(VGP_amd64_linux)
/* Redirect vsyscalls to local versions */
add_hardwired_active(
*************** void VG_(redir_initialise) ( void )
*** 1256,1265 ****
--- 1258,1268 ---# elif defined(VGP_ppc32_linux)
/* If we're using memcheck, use these intercepts ri
ght from
the start, otherwise ld.so makes a lot of noise.
*/
if (0==VG_(strcmp)("Memcheck", VG_(details).name))
{
+ #if 0
/* this is mandatory - can't sanely continue wit
hout it */
add_hardwired_spec(
"ld.so.1", "strlen",
(Addr)&VG_(ppc32_linux_REDIR_FOR_strlen),
complain_about_stripped_glibc_ldso
*************** void VG_(redir_initialise) ( void )
*** 1274,1283 ****
--- 1277,1287 ---"ld.so.1", "index",
(Addr)&VG_(ppc32_linux_REDIR_FOR_strchr),
NULL /* not mandatory - so why bother at all?
*/
/* glibc-2.6.1 (openSUSE 10.3, ppc32) seems f
ine without it */
);
+ #endif
}
# elif defined(VGP_ppc64_linux)
/* If we're using memcheck, use these intercepts ri
ght from
the start, otherwise ld.so makes a lot of noise.
*/
Save changes.
STEP 4:
Return from the coregrind directory.
From the directory valgrind-3.10.1
STEP 14:
SSH Login to your respective Line card
"ssh root@lc-4" password:root
STEP 15 to STEP 19 in Linecard
STEP 15:
"cd /md"
STEP 16:
Untar it
"tar -xvzf valgrind-md5.tgz"
STEP 17:
Try executing valgrind
"/md/home/<signum>/valgrind_lc/build/bin/valgrind"
if you get error like this
valgrind: failed to start tool 'memcheck' for platform 'ppc32-linux': No
such file or directory
The link must be possible broken
STEP 18:
Go to the Valgrind Library Folder
"cd /md/home/<signum>/valgrind_lc/build/lib/valgrind"
cd /md/home/esrsank/valgrind_lc/build/lib/valgrind
and then type the command
"export VALGRIND_LIB=$PWD"
STEP 19:
Execute Valgrind
"/md/home/esrsank/valgrind_lc/build/bin/valgrind"
/md/home/esrsank/valgrind_lc/build/bin/valgrind
Hope you'll get something like this
valgrind: no program specified
valgrind: Use --help for more information.
HOLA.Valgrind is now ready to use.