This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Possible problem with recent waitid changes
- From: Greg Schafer <gschafer at zip dot com dot au>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 7 Sep 2004 17:04:00 +1000
- Subject: Possible problem with recent waitid changes
Hi
Roland, this change is causing the bash-3.0 test suite to fail for me:
2004-09-01 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/bits/waitflags.h
(WSTOPPED, WEXITED, WCONTINUED, WNOWAIT): New macros.
* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
New macro.
* sysdeps/unix/sysv/linux/waitid.c: New file. Use new syscall when
available, or fall back to the waitpid-based generic code.
I configured with `--enable-kernel=2.6.0' so the fall back code should be
applicable. I built with gcc-3.4.2 on i686-pc-linux-gnu and the running
kernel is stock 2.6.8.1 on SMP.
Sorry, I haven't filed this in BZ as I haven't been able to produce a
self-contained test case and don't really know if the problem is with bash
or elsewhere. If you'd like to investigate and try to reproduce, just grab
bash-3.0 from ftp.gnu.org and `./configure; make; make tests'. When it gets
to `run-jobs', bash spins infinitely and hogs all cpu until I kill it. This
is 100% reproducible for me.
Thanks for any insight.
Greg
--
http://www.diy-linux.org/