[Buildroot] [PATCH] can-utils: fix build with glibc versions before 2.17

Yegor Yefremov yegorslists at googlemail.com
Tue Dec 20 14:09:42 UTC 2016


On Tue, Dec 20, 2016 at 3:06 PM, Rahul Bedarkar
<Rahul.Bedarkar at imgtec.com> wrote:
> Hi Yegor,
>
> On Tuesday 20 December 2016 07:20 PM, Yegor Yefremov wrote:
>>
>> Hi Rahul,
>>
>>
>>
>> On Tue, Dec 20, 2016 at 2:42 PM, Rahul Bedarkar
>> <rahul.bedarkar at imgtec.com> wrote:
>>>
>>> glibc versions before 2.17 needs to link with librt for
>>> clock_nanosleep(). This commmit adds patch to detect if linking
>>> with librt is required.
>>>
>>> Fixes:
>>>
>>> http://autobuild.buildroot.net/results/0e5/0e5242376ff6aa82e89ed1172350e05009d48156
>>>
>>> Signed-off-by: Rahul Bedarkar <rahul.bedarkar at imgtec.com>
>>> Cc: Yegor Yefremov <yegorslists at googlemail.com>
>>
>>
>> good catch. Can you submit this patch upstream? Usually it will be
>> quickly accepted, so that one can just bump the version instead of
>> including a patch.
>
>
> Thanks, I've sent pull request.

And as I've promised, it was already merged. So just send a patch with
a version bump.

Yegor



More information about the buildroot mailing list