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

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Feb 24 21:05:47 UTC 2019


On Fri, 15 Feb 2019 22:33:15 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> On some architectures, atomic binutils are provided by the libatomic
> library from gcc. Linking with libatomic is therefore necessary,
> otherwise the build fails with:
> 
> sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line
> 
> This is often for example the case on sparcv8 32 bit.
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/983537ceb38add50ca0a2316f39a2964db1b83c5
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  package/libcpprestsdk/libcpprestsdk.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list