[Buildroot] [RFC v1] libv4l: fix qv4l2 libatomic related compile failure

Peter Seiderer ps.report at gmx.net
Tue Feb 6 21:02:59 UTC 2018


Hello Thomas,

On Sun, 4 Feb 2018 23:43:01 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:

> Hello,
> 
> On Sun,  4 Feb 2018 00:21:27 +0100, Peter Seiderer wrote:
> > Fixes [1]:
> > 
> >   sparc-buildroot-linux-uclibc/bin/ld: qv4l2-qv4l2.o: undefined reference to symbol '__atomic_fetch_add_4@@LIBATOMIC_1.0'
> > 
> > [1] http://autobuild.buildroot.net/results/baa2595e1acdf4e795fbb940ca57fd136c827da3  
> 
> Did you analyze what part of the code is using atomic intrinsics? I
> don't see any use of atomic instrisics in qv4l2 itself (but perhaps I
> missed them), so they must be somewhere else.

The atomic usage comes from the Qt5 libraries (libQt5Core.so,
libQt5Gui.so and libQt5Widgets.so)...

Regards,
Peter

> 
> Thomas



More information about the buildroot mailing list