I analyzed the problem in PR port-sparc64/11506 a bit and came to the conclusion that it's a bad volatile cast in the ksh source. But then additional toolchain lossage strikes, and I couldn't reproduce it with a small example. So here the real code: if i compile ksh/jobs.c with -O0, ksh works. yay compiler bugs!?!? .mrg.