From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] gnutls: fix build on sparc
Date: Mon, 28 Jan 2019 16:55:34 +0100 [thread overview]
Message-ID: <877eeog4jt.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20190117190252.32440-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Thu, 17 Jan 2019 20:02:52 +0100")
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> gnutls source code uses the C++11 <atomic> functionality since
> https://github.com/gnutls/gnutls/commit/7978a733460f92b31033affd0e487c86d66c643d,
> which internally is implemented using the __atomic_*() gcc built-ins
> On certain architectures, the __atomic_*() built-ins are implemented in
> the libatomic library that comes with the rest of the gcc runtime. Due
> to this, code using <atomic> might need to link against libatomic,
> otherwise one hits build issues such as:
> ../lib/.libs/libgnutls.so: undefined reference to `__atomic_fetch_sub_4'
> on an architecture like SPARC.
> To solve this, a configure.ac check is added to know if we need to
> link against libatomic or not. The library is also added to gnutls.pc.
> Fixes:
> - http://autobuild.buildroot.org/results/6c749bd592ceffeacadd2ab570d127936cce64b2
> - http://autobuild.buildroot.org/results/30aa83d3cf3482af8a59250c196c85f4a278d343
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2019-01-28 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-17 19:02 [Buildroot] [PATCH 1/1] gnutls: fix build on sparc Fabrice Fontaine
2019-01-18 19:29 ` Matthew Weber
2019-01-28 15:55 ` Peter Korsgaard [this message]
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=877eeog4jt.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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