The primary motivator here is in the third patch, allowing any threads to be created. Previously I had written off crashes using threads as lack of MTTCG support without really digging into it deeper. Ho hum.
But in the process of looking for the root cause, Helge found two other things that are incorrect for hppa. For the purposes of 2.10, I believe the first patch is the way forward. However, if desired, in the interest of stage1-ness, I'm willing to rewrite the first patch to use ifdef TARGET_HPPA, and so not affect other targets. r~ Helge Deller (1): linux-user: Fix TARGET_SA_* defines for HPPA Richard Henderson (2): linux-user: Restrict usage of sa_restorer target/hppa: Fix cpu_clone_regs linux-user/hppa/target_cpu.h | 4 ++++ linux-user/signal.c | 4 ++-- linux-user/syscall_defs.h | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) -- 2.9.3
