All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3,1/1] boost: context needs C++11
Date: Wed, 10 Oct 2018 21:50:14 +0200	[thread overview]
Message-ID: <20181010215014.34129a2b@windsurf> (raw)
In-Reply-To: <20180821212547.14690-1-fontaine.fabrice@gmail.com>

Hello,

On Tue, 21 Aug 2018 23:25:47 +0200, Fabrice Fontaine wrote:
> Without std=c++11, mutex is not always correctly detected with gcc 4.7,
> 4.8 or even 5.x. As a result, boost_thread is wrongly selected by
> boost_context.
> 
> mutex is available on gcc 4.7.x, the issue is that boost does not
> correctly detect it because -std=c++11 was missing.
> Keep thread select for gcc version lower or equal to 4.6. mutex is
> available since gcc 4.4 (with std=c++0x) but common buildroot practice
> for C++11 packages is to have a dependency on gcc 4.7, 4.8 or 4.9
> depending on the requested C++11 features.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/fb046c04fe18bec973d120e4ab33971f32ba5769
>  - http://autobuild.buildroot.net/results/99f1a255b78a973faeb8bf3b94d78efc54426a8b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v2 -> v3 (after review of Thomas Petazzoni):
>  - Merge both patches
>  - Update commit message

Applied to master, thanks.

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

      reply	other threads:[~2018-10-10 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 21:25 [Buildroot] [PATCH v3,1/1] boost: context needs C++11 Fabrice Fontaine
2018-10-10 19:50 ` Thomas Petazzoni [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=20181010215014.34129a2b@windsurf \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.