LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Sue Alfano" <smalfano@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: uClibc - waitid()
Date: Thu, 18 Jan 2007 06:18:14 -0500	[thread overview]
Message-ID: <fb6b09f20701180318i5f3b2785sd7f3f0931808b849@mail.gmail.com> (raw)

Can anyone help with this?

We have an application that runs fine on our linux workstations, but
will not compile to run on a new target.  This application is using
the WNOWAIT option for the waitid() function.  When the source file is
compiled for the target using powerpc-uclibc-gcc, it fails because
WNOWAIT is not defined.  The best that I can tell, waitid() doesn't
appear to be supported in uClibc (version 0.9.27).  I checked the
latest version on the uClibc site, but it doesn't appear to have been
considered for inclusion.  I looked in glibc (versions 2.4, 2.3.5, and
2.0.6), but could only find emulated/stub/pseudo implementations for
waitid().  The Linux man page for waitid() states that it's supported
since the 2.6.9 kernel release.  At this point I'm not sure where the
waitid() source code and WNOWAIT definition is suppose to be (kernel,
uClibc, glibc, gcc) or what version of wait.h is actually being used
(there appears to be many versions floating around on the machine).
Since I'm way off in the weeds on this I was hoping somebody with more
Linux experience than me (that would be just about anyone) might be
able to shed some light on this problem or point me in a more
constructive direction.

Do you have any information as to the status of the waitid() support?
It must have been available at one time since it's running on my linux
workstation (Linux version 2.6.15-1.2054_FC5smp
(bhcompile@hs20-bc1-3.build.redhat.com) (gcc version 4.1.0 20060304
(Red Hat 4.1.0-3)) #1 SMP Tue Mar 14 16:05:46 EST2006).

Was there a reason why it wasn't added to uClibc (other than the size issue)?

Is there a recommended way to deal with applications that are using
waitid() with the WNOWAIT option?

Thanks for any assistance,
Sue

             reply	other threads:[~2007-01-18 11:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 11:18 Sue Alfano [this message]
2007-01-18 21:36 ` uClibc - waitid() James Chapman
2007-01-25 19:47   ` Sue Alfano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb6b09f20701180318i5f3b2785sd7f3f0931808b849@mail.gmail.com \
    --to=smalfano@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).