From: "Mike Crowe" <yocto@mac.mcrowe.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
Seebs <seebs@seebs.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [pseudo][PATCH v2] fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ
Date: Fri, 10 Sep 2021 17:36:31 +0100 [thread overview]
Message-ID: <YTuJj9dxbuF/36ug@mcrowe.com> (raw)
In-Reply-To: <16A248F6B42CACC2.5565@lists.openembedded.org>
On Monday 06 September 2021 at 17:37:14 +0100, Mike Crowe via lists.openembedded.org wrote:
> On Friday 13 August 2021 at 12:05:09 +0100, Mike Crowe via lists.openembedded.org wrote:
> > When running the test suite on my Debian 11 box I see many occurrences
> > of:
> >
> > unknown fcntl argument 1032, assuming long argument.
> >
> > (for example from test-execl.sh.)
> >
> > It appears that this is F_GETPIPE_SZ and it takes no arguments. Let's
> > add it and the corresponding F_SETPIPE_SZ too to avoid the warning
> > messages.
> >
> > F_SETPIPE_SZ accepts an int argument, which strictly speaking isn't the
> > same as the long that the wrapper expects. However, this is also true
> > for F_DUPFD which seems to be working correctly on all the targets that
> > people care about.
> >
> > We need to define the command constants if the system headers don't
> > provide them to ensure that a binary built on an old system works
> > without the new commands works correctly only a newer one that tries to
> > use them. If the system values differ from the expected ones then such a
> > binary would also be incompatible, so fail the build in that case too.
> >
> > Signed-off-by: Mike Crowe <mac@mcrowe.com>
> > ---
> > Makefile.in | 1 +
> > ports/linux/guts/fcntl.c | 21 +++++++++++++++
> > test/test-fcntl.c | 58 ++++++++++++++++++++++++++++++++++++++++
> > test/test-fcntl.sh | 5 ++++
> > 4 files changed, 85 insertions(+)
> > create mode 100644 test/test-fcntl.c
> > create mode 100755 test/test-fcntl.sh
Hi Richard & Seebs,
It looks like only part of this change landed as
328452d74917ce9314c8c4afe2bd277473a4c076:
| Makefile.in | 1 +
| ports/linux/guts/fcntl.c | 21 +++++++++++++++++++++
This means that the tests no longer pass:
cc: error: test/test-fcntl.c: No such file or directory
It looks like something similar happened with test-statx leading to
https://lists.openembedded.org/g/openembedded-core/message/154797 so I
wonder whether there's some sort of tooling fault somewhere?
Thanks.
Mike.
next prev parent reply other threads:[~2021-09-10 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <169AD8EBF1055369.13770@lists.openembedded.org>
2021-09-06 16:37 ` [OE-core] [pseudo][PATCH v2] fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ Mike Crowe
[not found] ` <16A248F6B42CACC2.5565@lists.openembedded.org>
2021-09-10 16:36 ` Mike Crowe [this message]
2021-09-10 16:58 ` Richard Purdie
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=YTuJj9dxbuF/36ug@mcrowe.com \
--to=yocto@mac.mcrowe.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.org \
--cc=seebs@seebs.net \
/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