From patchwork Thu Feb 9 17:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 726274 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vK5Cd6xYLz9s7q for ; Fri, 10 Feb 2017 04:48:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b="RKwuNZul"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AC4713089B; Thu, 9 Feb 2017 17:48:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VAqQ0+zDQ9DG; Thu, 9 Feb 2017 17:48:19 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 1BE5B308BA; Thu, 9 Feb 2017 17:48:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 79F241BFB22 for ; Thu, 9 Feb 2017 17:48:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 766978A36E for ; Thu, 9 Feb 2017 17:48:12 +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 8v-AZd5U1lSn for ; Thu, 9 Feb 2017 17:48:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by whitealder.osuosl.org (Postfix) with ESMTPS id E77B88A3C9 for ; Thu, 9 Feb 2017 17:48:10 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3vK5CC21jnz106Y for ; Thu, 9 Feb 2017 18:48:07 +0100 (CET) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1486662486; x=1487267287; bh=nbwpNkSYPeMx1235wM4CHywTvnnryuc9w5N DZxdSeg0=; b=RKwuNZulcrYLbxiIrrt/w7CHmzF6JoYXH4p+K4hrbCxdTvbKPqJ vbTMP1JAgrLGRpXQpgg0Q2Jp1zCZY0AUq7A07LgXM23hqt1epuoKrCsv1BzAOZsT 5eVI1pOO3XT3U9ZFk6SZBDqIuc6VAf1VicJSxecupsDuocDm5c8RxKGhy1vCn9Fp 8M7d99Hx6WK9ajlB7ISMyrSY9pMcxZN3VjydQph4XHxHKtloMiWzF7qcmeq+/mqo c97iJnmsX7aPKsZqEYm9KK+7SNhwbtUGRJIZfv8UyuKLjRe0F0+LCdxiA75BoQND XaJxdih9bZ5q7S9ZnRmdy3zU5UHQQObLPYA== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id GyECnQymDwjE; Thu, 9 Feb 2017 18:48:06 +0100 (CET) Received: from nzxt.fritz.box (x4d0cc25b.dyn.telefonica.de [77.12.194.91]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 9 Feb 2017 18:48:06 +0100 (CET) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Thu, 9 Feb 2017 18:47:54 +0100 Message-Id: <20170209174759.15819-2-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.11.1 In-Reply-To: <20170209174759.15819-1-joerg.krause@embedded.rocks> References: <20170209174759.15819-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/6] toolchain: add option for toolchains affected by GCC PR libstdc++/64735 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" exception_ptr, nested_exception, and future from libstdc++ are not available for architectures not supporting always lock-free atomic ints before GCC 7. Bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 Fix available starting from GCC 7 (not yet released): https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=244051 Signed-off-by: Jörg Krause --- toolchain/toolchain-common.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index 7a217b65c..0bd80c9fd 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -7,6 +7,10 @@ source "package/gdb/Config.in.host" comment "Toolchain Generic Options" +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735 +config BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + bool + # https://sourceware.org/bugzilla/show_bug.cgi?id=19405 config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 bool