[libcamera-devel] [Buildroot] [PATCH v2, 1/1] package/libcamera: link with atomic when needed

Kieran Bingham kieran.bingham at ideasonboard.com
Sun Sep 15 22:45:21 CEST 2019


Hi Thomas,

On 15/09/2019 21:18, Thomas Petazzoni wrote:
> On Thu,  5 Sep 2019 18:53:06 +0200
> Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
> 
>> Fixes:
>>  - http://autobuild.buildroot.org/results/1f0b8338f5f39aa86b9d432598dae2f53c5f7c84
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>> ---
>> Changes v1 -> v2 (after review of Kieran Bingham):
>>  - Use an upstreamable solution
> 
> Applied to master, thanks.

Great, thanks for collecting this.

> Could you send the patch upstream, after
> taking into account the comments from Kieran ?

This fix has already been integrated into libcamera master :

https://git.linuxtv.org/libcamera.git/commit/?id=5d05418d9b53e1838692f687a6dc373dad45355c


I haven't sent a version-bump patch yet, because we've got usages of
O_TMPFILE in our tests, which even with making our build depend on
kernel headers > 3.11 - I still saw failures in some toolchains.

Do you know of a 'failsafe' way to build on all (or skip) toolchains
when we make use of O_TMPFILE?

I've tried adding:

+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 # Still 6 failures
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11

But I still get failures related to the O_TMPFILE usage.

(Yes, I know each HEADERS_AT_LEAST brings in the older dependencies as
well, but I started at 3_11)

Cheers

Kieran


> Thanks!
> 
> Thomas
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list