[OE-core] [PATCH 2/9] linux-libc-headers: update to 3.17

Bruce Ashfield bruce.ashfield at windriver.com
Thu Dec 18 17:39:50 UTC 2014


On 2014-12-18, 12:13 PM, Burton, Ross wrote:
>
> On 10 December 2014 at 14:16, Bruce Ashfield
> <bruce.ashfield at windriver.com <mailto:bruce.ashfield at 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




More information about the Openembedded-core mailing list