All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/9] linux-libc-headers: update to 3.17
Date: Thu, 18 Dec 2014 12:39:50 -0500	[thread overview]
Message-ID: <54931166.2050006@windriver.com> (raw)
In-Reply-To: <CAJTo0Lb3-sYAyMreFv2AFhEo4Ejzmg3eDYOs6avJMjVO5SVjOQ@mail.gmail.com>

On 2014-12-18, 12:13 PM, Burton, Ross wrote:
>
> On 10 December 2014 at 14:16, Bruce Ashfield
> <bruce.ashfield@windriver.com <mailto:bruce.ashfield@windriver.com>> wrote:
>
>     -LINUXLIBCVERSION ?= "3.16"
>     +LINUXLIBCVERSION ?= "3.17"
>
>
> So this is causing (at least) socat to fail to build as the configure
> script does a test for a working <linux/errqueue.h> but that is now failing:
>
> /data/poky-master/tmp/sysroots/nuc/usr/include/linux/errqueue.h:33:18:
> error: array type has incomplete element type
>
> Line 33 is this member in a struct:
>
>     struct timespec ts[3];
>
> Presumably everything else that includes that header also includes
> something that defines struct timespec.  Socat has a missing feature
> check so whilst the configure test says that linux/errqueue.h isn't
> present and continues, the build then fails.  Presumably the user-space
> linux/errqueue.h needs another #include?

This is unlikely to be fixed in the kernel header, but in the
applications themselves.

In this case, I see no changes to errqueue.h itself since 2012,
but the uapi did go through some changes in 3.17 .. but then no
more changes for 3.18.

So if this is broken, socat should be breaking on every distro that
uses 3.17+ kernel headers.

I see that our socat is still the latest.

.. and a quick search shows a fix:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-misc/socat/files/socat-1.7.2.4-linux-3.17.patch?view=markup

Did you want me to try a build and stack up the fix ?

Bruce





>
> Ross



  reply	other threads:[~2014-12-18 17:39 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 14:16 [v2 PATCH 0/9] kernel: version updates Bruce Ashfield
2014-12-10 14:16 ` [PATCH 1/9] linux-yocto/3.17: update to v3.17.1 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 2/9] linux-libc-headers: update to 3.17 Bruce Ashfield
2014-12-18 17:13   ` Burton, Ross
2014-12-18 17:39     ` Bruce Ashfield [this message]
2014-12-18 18:41       ` Bruce Ashfield
2014-12-18 20:46       ` Burton, Ross
2014-12-18 23:48         ` Burton, Ross
2014-12-10 14:16 ` [PATCH 3/9] linux-yocto/3.17: update to v3.17.2 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 4/9] linux-yocto/3.10: update to v3.10.59 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 5/9] linux-yocto/3.14: update to v3.14.24 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 6/9] lttng-modules: fix mm_compaction_isolate_template build Bruce Ashfield
2014-12-10 14:16 ` [PATCH 7/9] linux-yocto/3.17: update to v3.17.6 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 8/9] linux-yocto/3.10: update to v3.10.62 Bruce Ashfield
2014-12-10 14:16 ` [PATCH 9/9] linux-yocto/3.14: update to 3.14.26, integrate ltsi and -rt updates Bruce Ashfield
2014-12-10 15:02 ` [v2 PATCH 0/9] kernel: version updates Burton, Ross
2014-12-11  8:31   ` Bruce Ashfield
2014-12-11 13:58     ` Richard Purdie
2014-12-11 14:56       ` Richard Purdie
2014-12-11 15:26         ` Bruce Ashfield
2014-12-11 15:35           ` Burton, Ross
2014-12-11 21:21             ` Bruce Ashfield
2014-12-11 16:45         ` Tom Zanussi
2014-12-11 19:54           ` Tom Zanussi
  -- strict thread matches above, loose matches on Subject: below --
2014-12-10 10:38 [PATCH " Bruce Ashfield
2014-12-10 10:38 ` [PATCH 2/9] linux-libc-headers: update to 3.17 Bruce Ashfield

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=54931166.2050006@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.