This patchset cleans up configure's target_nptl setting by
making the default be "threading supported" rather than
"not supported". We then enable threading in some cases
which were very likely accidental failure to specifically
enable it under the old default (64 bit MIPS and PPC, and
Unicore32), and leave it defaulted to on for CPUs with no
linux-user target so that if one is added later it won't
be missing threading by accident.

In particular, this makes ppc64 work with Debian unstable:
without this we would fail with "bash: fork: Invalid argument"
due to the lack of clone() support.

NB: other than ppc64, targets without anything in the wiki's
linux-user-test-0.3.tar.gz have only been compile tested.
(I'd have tested MIPS but there's no Debian mips64.)

Peter Maydell (4):
  configure: Flip default of target_nptl
  configure: Don't say target_nptl="no" if there is no linux-user target
  configure: Enable threading on all ppc and mips linux-user targets
  configure: Enable threading for unicore32-linux-user

 configure |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

-- 
1.7.9.5


Reply via email to