|
From: Bart V. A. <bar...@gm...> - 2009-01-29 20:39:26
|
Hello,
While testing Valgrind on PPC in preparation of the 3.4.1 release I
found out the following:
* Both memcheck and DRD run fine on Fedora ppc but fail to start on
openSUSE ppc with the following mandatory redirection requirement:
add_hardwired_spec(
"ld64.so.1", "strlen",
(Addr)VG_(fnptr_to_fnentry)( &VG_(ppc64_linux_REDIR_FOR_strlen) ),
croakage
);
* Both memcheck and DRD run fine on openSUSE ppc but fail to start on
Fedora ppc with the following mandatory redirection requirement:
add_hardwired_spec(
"ld-*.so.*", "strlen",
(Addr)VG_(fnptr_to_fnentry)( &VG_(ppc64_linux_REDIR_FOR_strlen) ),
croakage
);
Redirection tracing on openSUSE ppc (./vg-in-place --trace-redir=yes
--tool=drd drd/tests/bar_bad) shows a.o. the following:
...
--7126-- ------ REDIR STATE after VG_(redir_notify_new_DebugInfo) ------
--7126-- TOPSPECS of soname NONE
--7126-- ld-linux-x86-64.so.2 strlen
R-> 0x04057598
--7126-- ld-linux.so.2 strlen
R-> 0x0405754c
--7126-- libc.so* strlen
R-> 0x04057500
--7126-- libc.so* strnlen
R-> 0x0405749c
...
Any hints on how to solve this dilemma ?
Bart.
|