|
From: Olly B. <ol...@su...> - 2003-10-17 10:10:01
|
On Thu, Oct 16, 2003 at 11:37:49PM +0100, Tom Hughes wrote:
> So using this line in the valgrind shell script in place of the current
> solution should fix things:
>
> getconf GNU_LIBPTHREAD_VERSION | grep -qi NPTL 2> /dev/null && \
> LD_ASSUME_KERNEL=2.4.1
>
> Note that you only need to go back to 2.4.1 and not 2.2.5 as it does
> at the moment - as shown by this on an RH9 box:
>
> audi [~] % LD_ASSUME_KERNEL=2.4.1 getconf GNU_LIBPTHREAD_VERSION
> linuxthreads-0.10
Better still! I've made a patch based on this (attached), and tested it
with valgrind-20031012 on a non-NPTL box. I don't have an NPTL box
handy I'm afraid.
Incidentally, memcheck/tests/badrw.c seems to be missing from CVS on the
VALGRIND_2_0_REALLY branch (so "make check" fails), while on HEAD
memcheck/tests/filter_mismatches seems to be missing (so "make" fails).
Cheers,
Olly
|