|
From: Tom H. <th...@cy...> - 2005-01-10 09:45:59
|
In message <1105074377.32288.52.camel@localhost>
Jeremy Fitzhardinge <je...@go...> wrote:
> So, the patch is at
> http://www.goop.org/~jeremy/valgrind/new-threading.patch.bz2
>
> If people could try it out and see if it basically works for them, I'll
> check it in the next few days. In particular, I'd like it if the people
> considering porting Valgrind to other OS's could have a look and see how
> these changes affect them.
Right. I've tried it on a range of systems now. Initial comments
are that it all looks pretty nice but I have a few problems...
- First up, you have used AS_HELP_STRING in configure.in but
none of my older systems know that even though they have
newer autoconfs than they originally shipped with. Only a
problem for people using CVS of course.
- Second, on RH9 the clone used to start threads is not trapped
because CLONE_SYSVSEM is not set. I just added an extra case
for that to the switch.
The big one is that something is causing it to hang. Different systems
hang in different places but all my systems hang at some point during
the regression tests:
- RH72 and RH73 hang in corecheck/tests/pth_atfork1
- RH80 hangs in corecheck/tests/pth_cancel1
- RH9 and FC3 hang in none/tests/x86/yield
I haven't tried to work out what is causing any of the hangs yet.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|