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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Dec 18 18:41:06 UTC 2014


On Thu, Dec 18, 2014 at 12:39 PM, Bruce Ashfield
<bruce.ashfield at windriver.com> wrote:
> 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 ?

I can confirm that this fixes things here. I'll send the patch shortly
(once I spruce up
the header).

Bruce

>
> Bruce
>
>
>
>
>
>>
>> Ross
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the Openembedded-core mailing list