Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3436685yba; Tue, 7 May 2019 00:53:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxV+A/1uod692jkyvlt6uNXBw7lwfqYCEsLFOvYcxwG2AcY6JIaknfEZpsJdfFxCuyTTSSh X-Received: by 2002:a17:902:bf44:: with SMTP id u4mr37987738pls.171.1557215610865; Tue, 07 May 2019 00:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557215610; cv=none; d=google.com; s=arc-20160816; b=aQ7b8avvFc17bdnLyXDCUl2myqnbgC7lcrB3OwwT4XnnnAAZ1GmsCe8sCk8QtOoXGa X28kRf3etd3HS76PsKXiLtUEK01iqqRXVgY/+4lR9sRss7I56obutbRVhXRWzsa2K6wM WpWd40jcHc4apZGPCi+rmx977JcpdgCnYv4iDeNCx63utNTeF7rFGjufHui1W6lUMZkb LjdyaqFDH4wjeOHMRVR39UNvstIOCNXYD/XPvobRqufGv/jU18ar5sJMdvyO1D3HS9ea +gSj2yCpiRO1Mwa2BtK+d9Q4hwUfidlghtsB9pHV16gSB1NrCggqcrYqC3iy5mV2YFL3 5okQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=v6NA55NzwK+qVu67DCAtG3dejyduGQyYNpu105tIJQo=; b=nVJVGalabra1UxDtotMyVAZ72sYnA3sIjkl+DXmhRhHiSKbR6wfgev1NF02qg4g6Ya oAkSTbUOJ+e1KvwG4BtEZjBM+C+A4DSsge+mo1RTyxxtl/JAPXezGXMMvQeVTtCR6w+J 5+igkl33yuBebN3bSr0RAwTIOX6tYij031I6K3iFCMyFrXZWxV9pLfz12GfZX2DeagX2 WS70ET9H6hBxs+ZbJch5IWoMBRoKeDOxxjQ6VNZjqt0+PVzexdbra8wkkFpVj8Gy+2Pa QNlQDY3tC9L7sHFtLLXIIfp8AHbUFH9mRljHXAaRn4telIyT+/o1PSZ95kiVKn1LFqTL O8PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=uuC5O9IS; 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 11si19231888pfu.224.2019.05.07.00.53.14; Tue, 07 May 2019 00:53:30 -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=@c-s.fr header.s=mail header.b=uuC5O9IS; 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 S1727048AbfEGHwQ (ORCPT + 99 others); Tue, 7 May 2019 03:52:16 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:12217 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726563AbfEGHwQ (ORCPT ); Tue, 7 May 2019 03:52:16 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44ysJY12qBz9v0QD; Tue, 7 May 2019 09:52:13 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=uuC5O9IS; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id yFfxo6T7vyke; Tue, 7 May 2019 09:52:13 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44ysJX73Sfz9v0Pt; Tue, 7 May 2019 09:52:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1557215533; bh=v6NA55NzwK+qVu67DCAtG3dejyduGQyYNpu105tIJQo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=uuC5O9IS1ZRhjnqrSuAfc89JUVIegmtu/C20wBh5ca8SDTErkUiQ3hsd/VowB2T2+ qPrvaMLL4Me+wlu34BZGSpCmpQuubdQwQBt8GxH6b7B/JO+68JMKmYIDa6rf0eeQWv 9lR0JB9h6r66DvbMX2In1V7hbD7Zr1Fg2Khyzs/Q= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F13CF8B87B; Tue, 7 May 2019 09:52:13 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id W3R6lgpBh9Z6; Tue, 7 May 2019 09:52:13 +0200 (CEST) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 4FBE28B879; Tue, 7 May 2019 09:52:13 +0200 (CEST) Subject: Re: [PATCH AUTOSEL 4.14 65/95] powerpc: remove old GCC version checks To: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Sasha Levin , linuxppc-dev@lists.ozlabs.org, Joel Stanley , Nicholas Piggin References: <20190507053826.31622-1-sashal@kernel.org> <20190507053826.31622-65-sashal@kernel.org> From: Christophe Leroy Message-ID: Date: Tue, 7 May 2019 09:52:13 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190507053826.31622-65-sashal@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sasha, I don't think GCC 4.6 is the minimum supported for 4.14 As far as I can see, commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6") has not been applied to 4.14 and I can't see any reason such a commit should apply on a stable branch. Christophe Le 07/05/2019 à 07:37, Sasha Levin a écrit : > From: Nicholas Piggin > > [ Upstream commit f2910f0e6835339e6ce82cef22fa15718b7e3bfa ] > > GCC 4.6 is the minimum supported now. > > Signed-off-by: Nicholas Piggin > Reviewed-by: Joel Stanley > Signed-off-by: Michael Ellerman > Signed-off-by: Sasha Levin > --- > arch/powerpc/Makefile | 31 ++----------------------------- > 1 file changed, 2 insertions(+), 29 deletions(-) > > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > index 7452e50f4d1f..0f04c878113e 100644 > --- a/arch/powerpc/Makefile > +++ b/arch/powerpc/Makefile > @@ -396,36 +396,9 @@ archprepare: checkbin > # 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 toolchain versions: > +# - gcc-4.6 is the minimum kernel-wide version so nothing required. > 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 ' ; \ >