From patchwork Sun Jul 3 13:47:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 643734 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rjBLF5SrDz9s9x for ; Sun, 3 Jul 2016 23:48:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=BKFH5bIC; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C442B87B84; Sun, 3 Jul 2016 13:48:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tsGUVxfMrqEl; Sun, 3 Jul 2016 13:48:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 74D6587B90; Sun, 3 Jul 2016 13:48:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 9C14D1C26FF for ; Sun, 3 Jul 2016 13:47:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 98064878B0 for ; Sun, 3 Jul 2016 13:47:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3OQhmX8fpD8O for ; Sun, 3 Jul 2016 13:47:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 81763876F7 for ; Sun, 3 Jul 2016 13:47:57 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id 187so15948087wmz.1 for ; Sun, 03 Jul 2016 06:47:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m99julWHCxgOkxZjDhBrh5WbpF2FKqv5VLvJuOWdJs0=; b=BKFH5bICUO7NksymVYd6a99LCLd+ubToFmmjZTx6kR1F4Kz6PxcJ7TZUpTOS/D23A+ TnBnxpOQiGJLwYq9Ak3ffF3D51uixxO49JdxpFzG/m0I5QALycO6HBDnDrV4ApDCJDDH cBOWNF4WIZSX7lFJ9pl3+EW3AxHCkiumchmxINX+3SmovnyNQ3ZiBXRgcVr4KSdb9zMx /5ieTej5oY902yYslZbFwO6vn9XHjLePzr/wsHtUT23p8/cLAdKjeXsnQ0dyoumzx3UI VCzb2vlAJawqlKCqeNf6buBuFPLtMuJA0txSxPe6xCmx9nC9c8NmNZZDfLiKKvWDw6e4 D5gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=m99julWHCxgOkxZjDhBrh5WbpF2FKqv5VLvJuOWdJs0=; b=W7VHl0OOw8K7f7uTCCF4HxbupCboKkzHKkAL0ZUBsTf02Fn34k6zOEHWeKzkAtS6S6 ZHBw9FZu78xllNNxG/W6cdHk+S//PSWGq4kMvGTnVEesd2FR21gN6omCHFb8gmLpA633 YpwDs4pvPjEWnrHO2EbFhM619hkzGQuHFyjvvjQgmE+5lIk1HyesS0bunvHHGgZ+1rqm 38dkTC2XmkK2zZnjMvfFw0+1v0svRRgoTzYMG6Gb4LQSfabX1mF1dutflQZZA4BA3cCg qUcuvRxpwibh81LtHbHMGwRvLIwjKWyu2AWKsiReovFnVIZJkdoYYEeWBhJrdNkVr/ub 3owA== X-Gm-Message-State: ALyK8tL72EN1fBpsVWapzRD7BNmPCSPKEPv2645lFIuy9ieEwcZ70CN09QCNYYVnvEP77w== X-Received: by 10.28.72.132 with SMTP id v126mr6131774wma.8.1467553676126; Sun, 03 Jul 2016 06:47:56 -0700 (PDT) Received: from localhost.localdomain ([2a01:cb19:84c0:6b00:4a51:b7ff:fed2:2913]) by smtp.gmail.com with ESMTPSA id u4sm1200158wjz.4.2016.07.03.06.47.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jul 2016 06:47:55 -0700 (PDT) From: Samuel Martin To: buildroot@buildroot.org Date: Sun, 3 Jul 2016 15:47:37 +0200 Message-Id: <20160703134750.7516-2-s.martin49@gmail.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160703134750.7516-1-s.martin49@gmail.com> References: <20160703134750.7516-1-s.martin49@gmail.com> Cc: Thomas Petazzoni , Benjamin Kamath Subject: [Buildroot] [PATCH v3 01/14] toolchain/toolchain-common.in: add BR2_TOOLCHAIN_HAS_LIBQUADMATH hidden symbol 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This hidden symbol allow to know when libquadmath can be built and installed. Also, declaring this symbol in toolchain-common.in allows to use it in both external and buildroot toolchain backend. This will be needed for adding/improving the fortran support. Cc: Thomas Petazzoni Cc: Vicente Olivert Riera Cc: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Samuel Martin --- changes v2->v3: - new patch --- toolchain/toolchain-common.in | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in index 847c905..96ce3d1 100644 --- a/toolchain/toolchain-common.in +++ b/toolchain/toolchain-common.in @@ -419,3 +419,13 @@ config BR2_TOOLCHAIN_HAS_ATOMIC default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 + +# - libquadmath is not needed/available on all architectures (but gcc +# correctly handles this already). +# - At least, libquadmath is available on: +# - i*86 +# - x86_64 +# - When available, libquadmath requires wchar support. +config BR2_TOOLCHAIN_HAS_LIBQUADMATH + bool + default y if BR2_i386 || BR2_x86_64