From: Thomas Petazzoni Date: Mon, 3 Aug 2015 11:21:00 +0200 Subject: [Buildroot] [PATCH 1/1] package/libatomic_ops - fix compilation fail on sparc In-Reply-To: <1438551830-3619-1-git-send-email-brendanheading@gmail.com> References: <1438551830-3619-1-git-send-email-brendanheading@gmail.com> Message-ID: <20150803112100.74b52294@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Brendan Heading, On Sun, 2 Aug 2015 22:43:50 +0100, Brendan Heading wrote: > Fixes http://autobuild.buildroot.net/results/6d8/6d83fa5d69572cec5c96be4b7651f9b113a1a19c/ > > libatomic_ops by default requires SPARC v9. buildroot's two supported > sparc arches (SPARCv8, and leon3) are both SPARCv8-based. Unfortunately > libatomic_ops's support for SPARCv8 is incomplete. > > The library includes fallbacks but these must expressly be enabled by > defining a macro, enabled by this patch. Note that I'm testing for the > SPARC variants rather than BR2_sparc, in case someone implements SPARCv9 > support in the future. > > Discussion of this workaround described by the maintainer here : > https://github.com/ivmai/libatomic_ops/issues/9 > > Signed-off-by: Brendan Heading > --- > package/libatomic_ops/libatomic_ops.mk | 4 ++++ > 1 file changed, 4 insertions(+) Applied, thanks. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com