From patchwork Mon Aug 27 02:20:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 145149 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3677623ljw; Sun, 26 Aug 2018 19:21:58 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdan1gMyP47y7ATYe4pMXjpEwRWM2UXNvGtJpaSuUSagzHE/hahZ6O5okn7muE8rf1mQxoGl X-Received: by 2002:a62:d085:: with SMTP id p127-v6mr12148450pfg.119.1535336518593; Sun, 26 Aug 2018 19:21:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535336518; cv=none; d=google.com; s=arc-20160816; b=tmf/igPD8e0f398ifDETWVQhkiB21gMFYyBZlj04H42zQXHBr+Np21fyYw+wvfFqyG fraNQXba9VZarEAWK4Wehgg+KcA3RnAW77brlJ9Pbs+6w9/b62qo9Ix86we5Fo2jZ+cb lqj+gmZRVcAPUR6WQU1dXx5IdFJ4rdsbVIKtB8lU2M02DcE4WFt6uF7KGMGNONZBdqOX MgYPD7pIPt4orNNONuNf5HBNp9UBHqfPWi0fjaRumc8p4NIQu3OCdh3XuMKIDawak69D 4k5DCbJuUdRmuFwY/LRb2gf1OgVGQwKx+D3pKzAAA+c3+CRcywpqLFAdGnRnbZQ3uL9Y QLvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=VdBcHrY6rjilNe+qtXspmNYpmFgy/h6A3+CN8mUo+rk=; b=zN5HKWyaGZIt8+2kmH4Oj6h0514ZM8qbx8AWgKent6GGl1FNh7TUxmOUk0e8a3XptZ JiPxFG8TiZnY/FMiv5niHQsDtlRazO2IM9sHRGN/FRXO5/ehQUx/njEb0k8SJYfwAggd VGlpJoE8zq33RR/ZlbFytzPjlfF/BRIxaifWPkpK2zKpx/35lnR7IOLVMpl83skx3StY qgSYxJPAyC5D2LZDRNn423YzFV9vGU+yLFBGV4kxeK+YyHfS9dlGv/KC1mCbHcpGJ4xD WN5cy/2YqgZVCtiM8lcNYvVfg3Pe2j6vbAbgQC2OGwX+VsLxyaARFnmhR/DIZn3bzlUr fAZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rqTpeHTj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si13227625plh.285.2018.08.26.19.21.58; Sun, 26 Aug 2018 19:21:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rqTpeHTj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727172AbeH0GGZ (ORCPT + 32 others); Mon, 27 Aug 2018 02:06:25 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:53384 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726822AbeH0GGZ (ORCPT ); Mon, 27 Aug 2018 02:06:25 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id w7R2KX9f003473; Mon, 27 Aug 2018 11:20:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w7R2KX9f003473 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1535336434; bh=VdBcHrY6rjilNe+qtXspmNYpmFgy/h6A3+CN8mUo+rk=; h=From:To:Cc:Subject:Date:From; b=rqTpeHTjquTMvVtOnzyiEX1kPoeYTnJk3ZUkcYN0tUfBo/I9DHdbgH2uPKAyvbZZ6 +EA71BFKhG7vLQ/zKFOWXjbBMnlsztqhLm4fR/kDL8ymAAAoPYJ3Yfop0zV3vvaQsj n5a5W/pXYb1DAVmiUKweHSp9KQYENFDg2Fo9yh29oHTB6kbgjT9w/xWrbe35mOTN/Y +2J0E4OS63BMOpqym139Jt9xvKXCUOgL8+a9y1Epo6KLQayXOZNd0aYbETbwlUpbur Z5lNDx7mf/eEepdW3EGc6PDKdtSTnrPQEB11uhfMUSoc5XXthJ03gb4Lia+1nLeE8g nZqdprTMll6Pg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: Masahiro Yamada , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc: remove pre-build checks for old GCC versions Date: Mon, 27 Aug 2018 11:20:02 +0900 Message-Id: <1535336402-10632-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") bumped the minimum GCC version to 4.6 for all architectures. The GCC version checks in arch/powerpc/Makefile are obsolete now. Signed-off-by: Masahiro Yamada --- arch/powerpc/Makefile | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) -- 2.7.4 diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 11a1acb..57e7358 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -400,40 +400,8 @@ archclean: archprepare: checkbin -# Use the file '.tmp_gas_check' for binutils tests, as gas won't output -# to stdout and these checks are run even on install targets. -TOUT := .tmp_gas_check - -# Check gcc and binutils versions: -# - gcc-3.4 and binutils-2.14 are a fatal combination -# - Require gcc 4.0 or above on 64-bit -# - gcc-4.2.0 has issues compiling modules on 64-bit +# Check binutils versions: checkbin: - @if test "$(cc-name)" != "clang" \ - && test "$(cc-version)" = "0304" ; then \ - if ! /bin/echo mftb 5 | $(AS) -v -mppc -many -o $(TOUT) >/dev/null 2>&1 ; then \ - echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '; \ - echo 'correctly with gcc-3.4 and your version of binutils.'; \ - echo '*** Please upgrade your binutils or downgrade your gcc'; \ - false; \ - fi ; \ - fi - @if test "$(cc-name)" != "clang" \ - && test "$(cc-version)" -lt "0400" \ - && test "x${CONFIG_PPC64}" = "xy" ; then \ - echo -n "Sorry, GCC v4.0 or above is required to build " ; \ - echo "the 64-bit powerpc kernel." ; \ - false ; \ - fi - @if test "$(cc-name)" != "clang" \ - && test "$(cc-fullversion)" = "040200" \ - && test "x${CONFIG_MODULES}${CONFIG_PPC64}" = "xyy" ; then \ - echo -n '*** GCC-4.2.0 cannot compile the 64-bit powerpc ' ; \ - echo 'kernel with modules enabled.' ; \ - echo -n '*** Please use a different GCC version or ' ; \ - echo 'disable kernel modules' ; \ - false ; \ - fi @if test "x${CONFIG_CPU_LITTLE_ENDIAN}" = "xy" \ && $(LD) --version | head -1 | grep ' 2\.24$$' >/dev/null ; then \ echo -n '*** binutils 2.24 miscompiles weak symbols ' ; \ @@ -441,7 +409,3 @@ checkbin: echo -n '*** Please use a different binutils version.' ; \ false ; \ fi - - -CLEAN_FILES += $(TOUT) -