From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Seiderer Date: Thu, 23 Feb 2017 17:57:06 +0100 Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2017-02-20 In-Reply-To: <20170223091759.3b1cd434@free-electrons.com> References: <20170221072902.80C59207F9@mail.free-electrons.com> <20170222213900.4ba95a1f@gmx.net> <20170223091759.3b1cd434@free-electrons.com> Message-ID: <20170223175706.2c7593a0@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Thomas, On Thu, 23 Feb 2017 09:17:59 +0100, Thomas Petazzoni wrote: > Hello, > > On Wed, 22 Feb 2017 21:39:00 +0100, Peter Seiderer wrote: > > On Tue, 21 Feb 2017 08:29:02 +0100 (CET), Thomas Petazzoni wrote: > > > > > sparc | libv4l-1.12.2 | NOK | http://autobuild.buildroot.net/results/3f13042565df20087e007949f653942c0462e334 > > > > > > From build-end.log: > > > > CXXLD qv4l2 > > > > qv4l2-qv4l2.o: In function `QtPrivate::RefCount::deref()': > > qv4l2.cpp:(.text._ZN9QtPrivate8RefCount5derefEv[_ZN9QtPrivate8RefCount5derefEv]+0x24): undefined reference to `__sync_fetch_and_add_4' > > qv4l2-qv4l2.o: In function `QString::QString(QString const&)': > > qv4l2.cpp:(.text._ZN7QStringC2ERKS_[_ZN7QStringC5ERKS_]+0x54): undefined reference to `__sync_fetch_and_add_4' > > qv4l2-vbi-tab.o: In function `QtPrivate::RefCount::ref()': > > vbi-tab.cpp:(.text._ZN9QtPrivate8RefCount3refEv[_ZN9QtPrivate8RefCount3refEv]+0x24): undefined reference to `__sync_fetch_and_add_4' > > This normally indicates that a dependency on BR2_TOOLCHAIN_HAS_SYNC_4 > is missing. > > > This can be fixed by adding the following two lines to package/libv4l/libv4l.mk: > > > > LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++0x" > > LIBV4L_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic" > > Hum, so using gnu++0x forces to use __atomic built-ins instead of > __sync built-ins ? Yes, seems so (and is the same as is done when configuring via qmake)... Regards, Peter > > Thomas