* [Buildroot] Conflict between uClibc-ng if_arp.h and kernel headers since Linux 4.11 ?
@ 2017-05-04 21:39 Thomas Petazzoni
2017-05-09 9:13 ` [Buildroot] [uclibc-ng-devel] " Waldemar Brodkorb
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2017-05-04 21:39 UTC (permalink / raw)
To: buildroot
Hello,
Since a few days, we are seeing build failures of the radvd package in
Buildroot:
http://autobuild.buildroot.net/?reason=radvd-2.12
The build failure is:
/home/buildroot/autobuild/run/instance-2/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/linux/if_arp.h:121:8: error: redefinition of 'struct arpreq_old'
struct arpreq_old {
^~~~~~~~~~
In file included from includes.h:90:0,
from recv.c:17:
/home/buildroot/autobuild/run/instance-2/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/net/if_arp.h:147:8: note: originally defined here
struct arpreq_old
^~~~~~~~~~
[...]
The build failures happens with uClibc-ng toolchains in combination
with Linux 4.11 kernel headers, so it seems to be a new thing caused by
Linux 4.11 headers. However the kernel Git history doesn't show any
change on this header file between 4.10 and 4.11.
Any idea?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] [uclibc-ng-devel] Conflict between uClibc-ng if_arp.h and kernel headers since Linux 4.11 ?
2017-05-04 21:39 [Buildroot] Conflict between uClibc-ng if_arp.h and kernel headers since Linux 4.11 ? Thomas Petazzoni
@ 2017-05-09 9:13 ` Waldemar Brodkorb
0 siblings, 0 replies; 2+ messages in thread
From: Waldemar Brodkorb @ 2017-05-09 9:13 UTC (permalink / raw)
To: buildroot
Hi,
> Am 04.05.2017 um 23:39 schrieb Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
>
> Hello,
>
> Since a few days, we are seeing build failures of the radvd package in
> Buildroot:
>
> http://autobuild.buildroot.net/?reason=radvd-2.12
>
> The build failure is:
>
> /home/buildroot/autobuild/run/instance-2/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/linux/if_arp.h:121:8: error: redefinition of 'struct arpreq_old'
> struct arpreq_old {
> ^~~~~~~~~~
> In file included from includes.h:90:0,
> from recv.c:17:
> /home/buildroot/autobuild/run/instance-2/output/host/usr/arc-buildroot-linux-uclibc/sysroot/usr/include/net/if_arp.h:147:8: note: originally defined here
> struct arpreq_old
> ^~~~~~~~~~
> [...]
>
> The build failures happens with uClibc-ng toolchains in combination
> with Linux 4.11 kernel headers, so it seems to be a new thing caused by
> Linux 4.11 headers. However the kernel Git history doesn't show any
> change on this header file between 4.10 and 4.11.
>
> Any idea?
Not, yet. I am still investigating. May be something with the libc-compat.h mechanism inside the kernel changed. I can reproduce the issue, but had no time yet to bisect the kernel to find the commit which breaks radvd compile.
best regards
Waldemar
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-09 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 21:39 [Buildroot] Conflict between uClibc-ng if_arp.h and kernel headers since Linux 4.11 ? Thomas Petazzoni
2017-05-09 9:13 ` [Buildroot] [uclibc-ng-devel] " Waldemar Brodkorb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox