Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/cairo: Do not use -latomic with non-threaded toolchains
Date: Sun, 6 Mar 2016 21:48:42 +0100	[thread overview]
Message-ID: <20160306214842.780b4925@free-electrons.com> (raw)
In-Reply-To: <1457254351-9933-1-git-send-email-bernd.kuhls@t-online.de>

Dear Bernd Kuhls,

On Sun,  6 Mar 2016 09:52:31 +0100, Bernd Kuhls wrote:

>  # cairo can use C++11 atomics when available, so we need to link with
>  # libatomic for the architectures who need libatomic.
> -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y)
> +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
>  CAIRO_CONF_ENV += LIBS="-latomic"
>  endif

Thanks for this patch! However, I believe a more general solution is
needed for this problem. I have just submitted two patches that aim at
fixing this issue. See:

  http://patchwork.ozlabs.org/patch/592591/
  http://patchwork.ozlabs.org/patch/592592/

Let me know what you think.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2016-03-06 20:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-06  8:52 [Buildroot] [PATCH 1/1] package/cairo: Do not use -latomic with non-threaded toolchains Bernd Kuhls
2016-03-06 20:48 ` Thomas Petazzoni [this message]
2016-03-06 20:53   ` Bernd Kuhls

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=20160306214842.780b4925@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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