[Buildroot] [PATCH 1/1] package/linuxptp: fix build with new headers
Peter Korsgaard
peter at korsgaard.com
Tue Feb 26 12:12:45 UTC 2019
>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:
> Hi Baruch, Artem, All,
> Le 25/02/2019 à 06:58, Baruch Siach a écrit :
>> Hi Artem,
>>
>> On Sun, Feb 24, 2019 at 11:49:31PM +0300, Artem Panfilov wrote:
>>> net_tstamp.h in recent kernel versions requires time.h for clockid_t.
>>
>> This is a kernel bug. Kernel UAPI headers must not use the userspace clockid_t
>> type. This bug has been fixed in kernel commit e2c4cf7f98a5 ("net: Use
>> __kernel_clockid_t in uapi net_stamp.h") just before the v4.20 release. It
>> looks like this Linaro toolchain took the headers of a kernel -rc release.
>>
>> Maybe update the Linaro toolchain to 2019.02 in master?
>> Romain?
> Actually it's not a Linaro toolchain anymore, it's an ARM toolchain.
> Indeed, these toolchains use a 4.20 -rc kernel release.
> I noticed it while updating to the 2018.11 release that was released one month
> before the official kernel 4.20 release (respectively 23 Nov 2018 and 23 Dec
> 2018). I had to wait for BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 symbol in Buildroot.
> The latest ARM toolchain 2019.01 release use 5.0-rc1 kernel release.
> We can't include this version into Buildroot since the kernel 5.0 is not
> released yet.
> Maybe we should report this issue to https://bugs.linaro.org ?
Yes, it would be nice if they could use released kernels for the
headers.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list