[Buildroot] [PATCH 1/1] package/ogre: link with libatomic when needed

Peter Korsgaard peter at korsgaard.com
Tue Feb 11 22:42:47 UTC 2020

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > On some architectures, atomic binutils are provided by the libatomic
 > library from gcc. Linking with libatomic is therefore necessary,
 > otherwise the build fails with:

 > /home/test/autobuild/run/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/8.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld:
 > ../../lib/libOgreMain.so.1.12.0: undefined reference to
 > `__atomic_fetch_add_8'

 > This is often for example the case on sparc v8 32 bits.

 > Fixes:
 >  - http://autobuild.buildroot.org/results/3a09e2d1d26b19243244eb7f9235c85488a788d2

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list