From patchwork Fri Apr 14 23:47:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 750994 X-Patchwork-Delegate: yamada.m@jp.panasonic.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3w4Z9C0ynQz9s7p for ; Sat, 15 Apr 2017 09:48:15 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id CCC1FC21C6B; Fri, 14 Apr 2017 23:47:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B23D8C21C60; Fri, 14 Apr 2017 23:46:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B4356C21C2B; Fri, 14 Apr 2017 23:46:48 +0000 (UTC) Received: from mail-yb0-f194.google.com (mail-yb0-f194.google.com [209.85.213.194]) by lists.denx.de (Postfix) with ESMTPS id 393B0C21C2C for ; Fri, 14 Apr 2017 23:46:48 +0000 (UTC) Received: by mail-yb0-f194.google.com with SMTP id 206so3711945ybe.0 for ; Fri, 14 Apr 2017 16:46:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Tbi5Aly/GdP40uNwPp2JFUiYl+jWKN8rnN5+sDJDEw4=; b=RT9N4vy0RpT0dXf4m/60Cqo2xhNrO0WbYtn6MvIEclyARjOw4hBwO/vgAF380YcoO2 t2brBobqV2bfH7Cru1h8qN4WSX4SOMOVrNn+APtrs/4zTmp1R1dKKWSpPmXYSRCeZ5oF +nLmROMoGAOUMP0fx2i9D0P/elMn/tR1Fo42CH32c4ZLW2an6jZmdXbJ5Kq1O5QdupR9 pryKdQhVqWEnDH8LxPnthKRMaFjfX/9HWka5ZzJZTSPwbCgi/oZhcvIr5WOhRWDI7uq8 i/irdcW3HKem8Fbzrc8XJy5R9WKp/w/vgKmHIFPhRcLXaRD92j8SqJupy7dnC5IGT9Tz 2BjQ== X-Gm-Message-State: AN3rC/58au8drC8q9Dv8/VkwWdtFOYAMqE/UQNrGKyEyZqJinUbkKlPR fA0Xa1/r/L+uEh0h X-Received: by 10.37.125.196 with SMTP id y187mr8251937ybc.22.1492213607135; Fri, 14 Apr 2017 16:46:47 -0700 (PDT) Received: from localhost.localdomain (cpe-75-180-228-133.ec.res.rr.com. [75.180.228.133]) by smtp.gmail.com with ESMTPSA id p130sm1504031ywp.0.2017.04.14.16.46.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Apr 2017 16:46:46 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Date: Fri, 14 Apr 2017 19:47:52 -0400 Message-Id: <1492213672-20931-3-git-send-email-trini@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1492213672-20931-1-git-send-email-trini@konsulko.com> References: <1492213672-20931-1-git-send-email-trini@konsulko.com> Subject: [U-Boot] [PATCH 3/3] arm: Warn that starting with v2018.01 gcc-6 or later is required X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" There are more and more cases where if we do not use gcc-6.0 or later we run into problems where our binaries are too large for the targets. Given the prevalence of gcc-6.0 or later toolchains at this point in time, we give notice now that starting with v2018.01 we will require gcc-6 (or later) for ARM. Signed-off-by: Tom Rini --- arch/arm/config.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/config.mk b/arch/arm/config.mk index 907c69371b94..9d305e1f4448 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -45,7 +45,14 @@ endif # Only test once ifeq ($(CONFIG_$(SPL_)SYS_THUMB_BUILD),y) -archprepare: checkthumb +archprepare: checkthumb checkgcc6 + +checkgcc6: + @if test "$(call cc-name)" = "gcc" -a \ + "$(call cc-version)" -lt "0600"; then \ + echo -n '*** Your GCC is older than 6.0 and will not be '; \ + echo 'supported starting with v2018.01.'; \ + fi checkthumb: @if test "$(call cc-name)" = "gcc" -a \