From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2, 1/1] package/log4cplus: link with libatomic when needed
Date: Sun, 17 Feb 2019 16:01:15 +0100 [thread overview]
Message-ID: <20190217160115.49390fbe@windsurf.home> (raw)
In-Reply-To: <20190217093326.5528-1-fontaine.fabrice@gmail.com>
Hello,
On Sun, 17 Feb 2019 10:33:26 +0100
Fabrice Fontaine <fontaine.fabrice@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/16e360cb91afff7655f459a3d1fb906ca48f8464
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2:
> - Fix patch so that it applies on current master
Applied to master, thanks. However, as usual, I would prefer an
upstreamable solution that relies on changing the CMakeLists.txt so
that it checks if linking against libatomic is needed.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-17 15:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-17 9:33 [Buildroot] [PATCH v2, 1/1] package/log4cplus: link with libatomic when needed Fabrice Fontaine
2019-02-17 15:01 ` Thomas Petazzoni [this message]
2019-02-22 12:03 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190217160115.49390fbe@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox