|
From: NODA, K. <no...@gm...> - 2009-12-22 04:24:10
|
Hi, all I tried to use Memcheck on Cell/B.E., but got the following error: > --18696-- WARNING: unhandled syscall: 279 > ==18696== at 0x80C92207A0: syscall (in /lib64/libc-2.5.so) > ==18696== by 0x80C92FAEAB: _base_spe_context_create (in /usr/lib64/libspe2.so.2.2.80) > ==18696== by 0x80C92FA23B: spe_context_create (in /usr/lib64/libspe2.so.2.2.80) > ==18696== by 0x10001477: main (in /home/k_noda/crank-nicholson/wrapper) > --18696-- You may be able to write your own handler. > --18696-- Read the file README_MISSING_SYSCALL_OR_IOCTL. > --18696-- Nevertheless we consider this a bug. Please report > --18696-- it at http://valgrind.org/support/bug_reports.html. ... > spu_create(): Function not implemented At this time, spe_program_load() in libspe2 returns "No such process" error. http://valgrind.org/docs/manual/dist.news.html says > Release 3.4.0 (2 January 2009) ... > 167288 Patch file for missing system calls on Cell BE I believe this was done by incorporating the patch in http://bugs.kde.org/show_bug.cgi?id=167288 Does the error shown above mean that the patch doesn't keep up with changes in the Valgrind core? If so, how can I modify it so that Memcheck works on Cell/B.E. ? Is it necessary to modify coregrind/m_syswrap/syswrap-ppc64-linux.c as done in the rev. 8731 ? Any advice is welcome. Thanks, Kai |
|
From: Tom H. <to...@co...> - 2009-12-22 08:30:10
|
On 22/12/09 04:23, NODA, Kai wrote: > At this time, spe_program_load() in libspe2 returns "No such process" error. > > http://valgrind.org/docs/manual/dist.news.html says >> Release 3.4.0 (2 January 2009) > ... >> 167288 Patch file for missing system calls on Cell BE > > I believe this was done by incorporating the patch in > http://bugs.kde.org/show_bug.cgi?id=167288 > > Does the error shown above mean that the patch doesn't keep up > with changes in the Valgrind core? > If so, how can I modify it so that Memcheck works on Cell/B.E. ? That patch is only for ppc32 but it looks like you're running a 64 bit program. > Is it necessary to modify coregrind/m_syswrap/syswrap-ppc64-linux.c > as done in the rev. 8731 ? Basically, yes. Tom -- Tom Hughes (to...@co...) http://www.compton.nu/ |