<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-kernel/linux-libc-headers, branch uninative-2.1</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.1</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.1'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2018-05-04T12:28:05+00:00</updated>
<entry>
<title>linux-libc-headers: multilib_header asm/kvm_para.h and asm/bpf_perf_event.h</title>
<updated>2018-05-04T12:28:05+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-04-20T09:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2822c25757a2f26f87b3a5626db11a09489fe90b'/>
<id>urn:sha1:2822c25757a2f26f87b3a5626db11a09489fe90b</id>
<content type='text'>
When building SDK via populate_sdk for qemuarm64 with multilib
enabled, we would have conflict about bits/floatn.h at populate_sdk
time.

  file /usr/include/asm/bpf_perf_event.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64
  file /usr/include/asm/kvm_para.h conflicts between attempted installs of lib32-linux-libc-headers-dev-4.15.7-r0.armv7vehf_vfp and linux-libc-headers-dev-4.15.7-r0.aarch64

Apply oe_multilib_header on these header files to fix the problem.

(From OE-Core rev: 89b4e77129990b842e2ca917b98473ec58205e88)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>meta: add missing Signed-off-by and Upstream-Status tags</title>
<updated>2018-04-13T15:58:07+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-04-09T17:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b452ba687b0314191f6258a22799575710170e8d'/>
<id>urn:sha1:b452ba687b0314191f6258a22799575710170e8d</id>
<content type='text'>
(From OE-Core rev: 4612441b59fd8264fdd5bd4f3e5d195f6085c94c)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: refresh 0001-libc-compat.h-fix-some-issues-arising-from-in6.h.patch</title>
<updated>2018-03-29T23:31:18+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2018-03-28T12:43:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ba7622e379180c7c78aadac3a067d5a788367ca'/>
<id>urn:sha1:5ba7622e379180c7c78aadac3a067d5a788367ca</id>
<content type='text'>
It's only applied with musl and so was missed in the big batch.

(From OE-Core rev: 47698efc7c5f0ee307732004aef93e260fb20a03)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: update to 4.15.7</title>
<updated>2018-03-08T18:39:32+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2018-03-06T18:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=240c3db54d426d901b5b4c63ce36d1da68f2080f'/>
<id>urn:sha1:240c3db54d426d901b5b4c63ce36d1da68f2080f</id>
<content type='text'>
While we don't normally follow all the -stable updates for libc-headers, there
was one userspace header that was broken in the 4.15 cycle, and it has now
been fixed in -stable.

The offending header breaks the build for several packages, so we update to
pick up this change:

   Author: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
   Date:   Mon Feb 12 23:59:51 2018 +0100

       uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

       commit da360299b6734135a5f66d7db458dcc7801c826a upstream.

       This fixes a compile problem of some user space applications by not
       including linux/libc-compat.h in uapi/if_ether.h.

       linux/libc-compat.h checks which "features" the header files, included
       from the libc, provide to make the Linux kernel uapi header files only
          provide no conflicting structures and enums. If a user application mixes
       kernel headers and libc headers it could happen that linux/libc-compat.h
       gets included too early where not all other libc headers are included
       yet. Then the linux/libc-compat.h would not prevent all the
       redefinitions and we run into compile problems.
       This patch removes the include of linux/libc-compat.h from
       uapi/if_ether.h to fix the recently introduced case, but not all as this
       is more or less impossible.

       It is no problem to do the check directly in the if_ether.h file and not
       in libc-compat.h as this does not need any fancy glibc header detection
       as glibc never provided struct ethhdr and should define
       __UAPI_DEF_ETHHDR by them self when they will provide this.

       The following test program did not compile correctly any more:

       #include &lt;linux/if_ether.h&gt;
       #include &lt;netinet/in.h&gt;
       #include &lt;linux/in.h&gt;

       int main(void)
       {
           return 0;
       }

       Fixes: 6926e041a892 ("uapi/if_ether.h: prevent redefinition of struct ethhdr")
       Reported-by: Guillaume Nault &lt;g.nault@alphalink.fr&gt;
       Cc: &lt;stable@vger.kernel.org&gt; # 4.15
       Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
       Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
       Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

We also add a new muslc patch to adjust the ethhdr change in the uapi. As is
suggested in the kernel commit, we can protect musl directly in if_ether itself.

(From OE-Core rev: 1718a2dbabd05e51717b17327d531948faa64659)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: update to v4.15</title>
<updated>2018-02-15T11:23:10+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2018-02-06T16:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9c3b84d5ee86b4eaeff9821e720069130310b143'/>
<id>urn:sha1:9c3b84d5ee86b4eaeff9821e720069130310b143</id>
<content type='text'>
(From OE-Core rev: ef96628d850f1154c7e59bca418ef3a7c9a2bcc1)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: 4.12 -&gt; 4.14.13</title>
<updated>2018-01-29T08:49:50+00:00</updated>
<author>
<name>Huang Qiyu</name>
<email>huangqy.fnst@cn.fujitsu.com</email>
</author>
<published>2018-01-26T09:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f87502ed9ac59fb261bd5b4e72b128eb5d8f9aa9'/>
<id>urn:sha1:f87502ed9ac59fb261bd5b4e72b128eb5d8f9aa9</id>
<content type='text'>
Upgrade linux-libc-headers from 4.12 to 4.14.13.

(From OE-Core rev: 71776273bbcb8b08aa55296c82ec2a10b0978a57)

Signed-off-by: Huang Qiyu &lt;huangqy.fnst@cn.fujitsu.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>libc-headers: update to 4.12</title>
<updated>2017-08-23T11:06:51+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2017-08-21T02:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=d8f57413af3ff077c524580c251088071d4ae5d6'/>
<id>urn:sha1:d8f57413af3ff077c524580c251088071d4ae5d6</id>
<content type='text'>
The fall 2017 kernel will have 4.12 as the reference kernel, so
we update the libc-headers to match.

Build tested against glibc and muslc systems.

(From OE-Core rev: 4b5cce1c691e991c80d255a4900220068ff6f062)

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: fix duplicate IFF_LOWER_UP DORMANT ECHO on musl</title>
<updated>2017-06-28T19:55:08+00:00</updated>
<author>
<name>André Draszik</name>
<email>adraszik@tycoint.com</email>
</author>
<published>2017-06-23T11:42:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=868486c238780ce4a11d9ec9a38e40cb6c1cfc01'/>
<id>urn:sha1:868486c238780ce4a11d9ec9a38e40cb6c1cfc01</id>
<content type='text'>
musl _does_ define IFF_LOWER_UP DORMANT ECHO so we should
prevent redefinition of these when on musl.

As per the included patch, this can be triggered by
(from connman 6to4.c):
    include &lt;errno.h&gt;
    include &lt;stdio.h&gt;
    include &lt;stdlib.h&gt;
    include &lt;string.h&gt;
    include &lt;sys/socket.h&gt;
    include &lt;netinet/in.h&gt;
    include &lt;arpa/inet.h&gt;
    include &lt;net/if.h&gt;
    include &lt;linux/ip.h&gt;
    include &lt;linux/if_tunnel.h&gt;
    include &lt;linux/netlink.h&gt;
    include &lt;linux/rtnetlink.h&gt;
    include &lt;sys/ioctl.h&gt;
    include &lt;unistd.h&gt;

In file included from ../git/src/6to4.c:34:0:
.../usr/include/linux/if.h:97:2: error: expected identifier before numeric constant
  IFF_LOWER_UP   = 1&lt;&lt;16, /* __volatile__ */
  ^

This is because at that time, IFF_LOWER_UP has been converted
to 0x10000 already:
enum net_device_flags {
 0x10000 = 1&lt;&lt;16,
 0x20000 = 1&lt;&lt;17,
 0x40000 = 1&lt;&lt;18,

};

Backport a patch that addresses this.

(From OE-Core rev: 24dc2200047bae5d32c168d2625d96ac08a93d3d)

Signed-off-by: André Draszik &lt;adraszik@tycoint.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: fix upstream version check</title>
<updated>2017-04-29T10:17:23+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alexander.kanavin@linux.intel.com</email>
</author>
<published>2017-04-24T13:15:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ad6bb68906e82c6861becfd1e4516b39de3a882f'/>
<id>urn:sha1:ad6bb68906e82c6861becfd1e4516b39de3a882f</id>
<content type='text'>
(From OE-Core rev: 83d55bcc63510d3704078f19c255c524d8fffc39)

Signed-off-by: Alexander Kanavin &lt;alexander.kanavin@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>linux-libc-headers: Remove reference to cross-linkage</title>
<updated>2017-03-31T09:10:29+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2017-03-30T14:12:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=707e74ffbc1bd55c029942f27215c42a6fb216f4'/>
<id>urn:sha1:707e74ffbc1bd55c029942f27215c42a6fb216f4</id>
<content type='text'>
This is long dead (thankfully), remove stale reference/comment.

(From OE-Core rev: 2340fcb1af3c9ca350dba89d48a44f414277d1a8)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
