|
From: Jeroen N. W. <jn...@xs...> - 2005-05-20 20:29:02
|
> The regression test, running on debian/sarge (Linux DoornRoosje > 2.4.26-1-386 #1 Tue Aug 24 13:31:19 JST 2004 i686 GNU/Linux), found a > problem in both 2.4.0 (revision 415783) and 3.0.0 (revisions 1201 and > 3776) with none/tests/tls. Answering myself, but I've found it. The configuration scripts incorrectly conclude that TLS is supported on my machine, as I do not run a 2.6 kernel. Attached are a patch for valgrind/configure.in and a new file valgrind/acinclude.m4 that together fix this problem, at least on my machine. Note that this has not yet been tested on any other infrastructure. You may observe that the program that actually performs the test (in new file valgrind/acinclude.m4) is a truncated version of none/tests/tls.c. Any suggestions for improvement of this fix, and any other comments, are welcome. Regards, Jeroen. PS: I still wonder if using valgrind should cause none/tests/tls to segfault. |