|
From: Enrico S. <enr...@in...> - 2003-07-22 21:30:46
|
Hello, I am packaging valgrind for Fedora Linux (http://www.fedora.us/) which targets the NPTL enabled Red Hat Linux 9. The build-process itself is done in vservers which are having a RHL9 userspace-environment but not an NPTL kernel. Therefore, ./configure will not detect NPTL and this result is statically compiled into the 'valgrind' wrapper-script. But on final user-machines, NPTL might be available and valgrind fails. AFAIS, the NPTL detection affects only the | nptl_threading="@NPTL_THREADING@" substitution in 'coregrind/valgrind.in'. In my Fedora packages I have replaced this assignment with | nptl_threading="`$VALGRIND/nptltest`" where 'nptltest' is doing the test which will be done in ./configure also. Is this method ok, or are there other places which are affected by the NTPL test? Enrico |
|
From: Nicholas N. <nj...@ca...> - 2003-07-22 21:40:52
|
On Tue, 22 Jul 2003, Enrico Scholz wrote: > AFAIS, the NPTL detection affects only the > > | nptl_threading="@NPTL_THREADING@" > > substitution in 'coregrind/valgrind.in'. In my Fedora packages I have > replaced this assignment with > > | nptl_threading="`$VALGRIND/nptltest`" > > where 'nptltest' is doing the test which will be done in ./configure > also. > > Is this method ok, or are there other places which are affected by the > NTPL test? AIUI, that's the only place affected, and so it should work. Have you tried this? N |
|
From: Enrico S. <enr...@in...> - 2003-07-23 00:00:05
|
Nicholas Nethercote <nj...@ca...> writes: >> | nptl_threading="`$VALGRIND/nptltest`" >> >> where 'nptltest' is doing the test which will be done in ./configure >> also. >> >> Is this method ok, or are there other places which are affected by the >> NTPL test? > > AIUI, that's the only place affected, and so it should work. Have you > tried this? Yes, I am using this method. But I tested the 'yes'-case rudimentarily only because NPTL machines are an exception in my environment. I cleaned up my patch for 20030716 which adds the runtime-detection. It is available at http://www.tu-chemnitz.de/~ensc/valgrind-20030716-nptlruntime.patch Enrico |