Message ID | 20180820221257.1553-2-fontaine.fabrice@gmail.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="c43XdQ7f"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vSkG0ZcVz9s5c for <incoming-buildroot@patchwork.ozlabs.org>; Tue, 21 Aug 2018 08:13:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id EDCDE8651C; Mon, 20 Aug 2018 22:13:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H+kxtyAVA1Dn; Mon, 20 Aug 2018 22:13:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C195C864A4; Mon, 20 Aug 2018 22:13:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7C9FF1C0D83 for <buildroot@lists.busybox.net>; Mon, 20 Aug 2018 22:13:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7A05487284 for <buildroot@lists.busybox.net>; Mon, 20 Aug 2018 22:13:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eqwv9Ib9Nwvv for <buildroot@lists.busybox.net>; Mon, 20 Aug 2018 22:13:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by hemlock.osuosl.org (Postfix) with ESMTPS id 849CE8725C for <buildroot@buildroot.org>; Mon, 20 Aug 2018 22:13:17 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id k5-v6so2664602wre.10 for <buildroot@buildroot.org>; Mon, 20 Aug 2018 15:13:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=N+m16R9L3jGtLdkTNpyr7EswmAjolRe1RflRxkNgTJo=; b=c43XdQ7fYtFeGZSB8gtF4+PHsW/8Drs6pAGpHj7AOcC2lZDkFQrjYZR50IlB0gWwWu L5XC3J0jeHnkBitm2euSN1XqCBUCEmCGLia+RUlZaahZ54FcXroKn61q1d8Q9amHr7tG 5yQfKiAADMLScolpVSpoEauojSKXDdlyOgTv8KQF1y1HMPr4IlFdRbGCTya9omyg9hl6 5FG8jlZRFKsU2sZrGsIejmhJTtYaRT+aL/cGO04wvhu08mEgPejY1RN5gm/6ZEMbUSEk f6k4LyqRW5DhNxjEd+E6dmAspmGJuosNlCB7y4JX82oa/RH6sLrDvGw/HNDDfLEGFHeJ iR8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N+m16R9L3jGtLdkTNpyr7EswmAjolRe1RflRxkNgTJo=; b=A9lQgOc5+iB8oijYnUSh3fEdYTPvQYjigZZNS9BeacxPcb4RcKvb1PRAaIfp7a2sdq 8Iv+J6rHu8VCU/+PPcWR5yM4cCOwsweDsnd3Gjd2BH3swju72mWYL0EFlb5FCmrbGQ/p lL4inp8JezlLRg8MX/E/G9f5SGjdY6BznfcIvdG3ziH6YE/5rpvaAQWevUXD6BSXBtdf OhU54a4m498sulCe0VpK2ex3C7q2zJUGeAWxu+F7Djbg0ws4FSu1vMKpySP7q7mtCKhg nFzULOrbDlc9HMzRqMhknt0dxNqIc/2g6KARFXyfpdU2U1wnCXh8oVgk68AXmmfvFUbu 67mQ== X-Gm-Message-State: APzg51DVrfyKn/KW63DWjwUGeZmo0nsEt9oJilvzSXfss3VWig4bE+sx mKZ9DM9Agwzidv9K4un70QcCmfq9 X-Google-Smtp-Source: ANB0VdZALsfZzg93R2Dsf2HsRFcZBqd53lte3qdIuvvKNlZF+YIXq6c0OtaBDZwn0A4aHLGnrCAa0Q== X-Received: by 2002:adf:ec85:: with SMTP id z5-v6mr9089660wrn.142.1534803195853; Mon, 20 Aug 2018 15:13:15 -0700 (PDT) Received: from fabrice-VirtualBox.home (ARennes-656-1-316-170.w109-218.abo.wanadoo.fr. [109.218.84.170]) by smtp.gmail.com with ESMTPSA id 198-v6sm1763564wmm.0.2018.08.20.15.13.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 15:13:15 -0700 (PDT) From: Fabrice Fontaine <fontaine.fabrice@gmail.com> To: buildroot@buildroot.org Date: Tue, 21 Aug 2018 00:12:57 +0200 Message-Id: <20180820221257.1553-2-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180820221257.1553-1-fontaine.fabrice@gmail.com> References: <20180820221257.1553-1-fontaine.fabrice@gmail.com> Subject: [Buildroot] [PATCH v2,2/2] boost: context needs C++11 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
[v2,1/2] boost: context needs thread if gcc <= 4.6
|
expand
|
diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 14f6162003..f4a44fa123 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -61,6 +61,11 @@ else BOOST_FLAGS += --without-icu endif +# boost-context needs C++11 +ifeq ($(BR2_PACKAGE_BOOST_CONTEXT)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),yy) +BOOST_TARGET_CXXFLAGS += -std=c++11 +endif + ifeq ($(BR2_PACKAGE_BOOST_IOSTREAMS),y) BOOST_DEPENDENCIES += bzip2 zlib endif
Without this flag, mutex is not always correctly detected with gcc 4.x or 5.x. As a result, boost_thread is wrongly selected by boost_context. Fixes: - http://autobuild.buildroot.net/results/fb046c04fe18bec973d120e4ab33971f32ba5769 - http://autobuild.buildroot.net/results/99f1a255b78a973faeb8bf3b94d78efc54426a8b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- Changes v1 -> v2 (after review of Thomas Petazzoni): - Update first patch to keep selection of boost-thread but lower gcc version from 4.8 to 4.7 - Update second patch to add -std=c++11 only if gcc >= 4.7 package/boost/boost.mk | 5 +++++ 1 file changed, 5 insertions(+)