Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp212541pxf; Wed, 10 Mar 2021 04:45:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJy1KJ6UAmO0dkBI3pnMaN6y+Njd+Jx7PtTcOdgfSx7UolJsXKkDitAkFuk6GNiU9AxioZKP X-Received: by 2002:aa7:cd0e:: with SMTP id b14mr3089770edw.354.1615380325082; Wed, 10 Mar 2021 04:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615380325; cv=none; d=google.com; s=arc-20160816; b=tl2BbXONl3OUPu8Yy6+PkapdnvVHckEUA+SjxRLqJcg3a7ImYZESfWVKd3Rsu2yMmG dl/2GKbW1GHMz84fm2mZlLcG+sS23bP45Mi9aVwfyiHSlYXkUUlUTQDyhtuO5dqNd+lm CtebnPxeKtIIAspGPPJ8k4QNef59Nl5pa9V1BUrOYxbNiDl9zbXX5n8j2yQi7v9oC8Ho ktC9cJ5DQmwsqZFYjhrTDXUacINrVPVbP/IcdtnGMC0CXB3Ub5dcSIe1vBDouKjq7KWn PDcDIcKcyhIfLAQig6Yf1f5f9yeb7jqhBqDAjGraufgc7rwxjxI83mCtbWLZ+QMKfQhK Hwjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=fx7iNCaT6xz3PWhvu4MCZdxoA0wXNfOLkmTIUfc/KWA=; b=bMKuFbCb7LBBdUe1ny/UznXSEtpHfS98SL5bL6qJyuL49oa/kYknnyclhxgJdPn9Xd XWmEK/938G0Mt6HCHCiQY5nOugqQ3PItfSHOpktcN6cDr5WdkVvv4dfy3/vXaUK7l8OU hj/Jybw6BJgUdWINQDkopt+kZwe4ZFbq5gHgV8yvnMlqt3/EFkrMZVkZ4SxoXV1N2+Ft W4i2ByW/lFiwhw3CQtkMJfeaJo8ILl+lrfmhop9qocoPCkPqymfeRieYPWBJOkp26g/Z Uh41JEDE++c9eXzt9pGxxID6ULIrS71sfEKGmLpy+SS77R2wGvx9W0SPr1r0Id+roc+Y O8SQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n11si11523889ejg.99.2021.03.10.04.45.01; Wed, 10 Mar 2021 04:45:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230122AbhCJMnc (ORCPT + 99 others); Wed, 10 Mar 2021 07:43:32 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:30392 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232088AbhCJMnO (ORCPT ); Wed, 10 Mar 2021 07:43:14 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4DwWvh0jCFz9ty2j; Wed, 10 Mar 2021 13:43:12 +0100 (CET) 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 ny2_IcOITQLa; Wed, 10 Mar 2021 13:43:12 +0100 (CET) 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 4DwWvg3vRPz9twyk; Wed, 10 Mar 2021 13:43:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D519D8B78A; Wed, 10 Mar 2021 13:43:12 +0100 (CET) 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 xnzGXWZ5-qOx; Wed, 10 Mar 2021 13:43:12 +0100 (CET) Received: from po16121vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A21CF8B77E; Wed, 10 Mar 2021 13:43:12 +0100 (CET) Received: by po16121vm.idsi0.si.c-s.fr (Postfix, from userid 0) id C63B867560; Wed, 10 Mar 2021 12:43:12 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH] powerpc/Makefile: Remove workaround for gcc versions below 4.9 To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 10 Mar 2021 12:43:12 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 6ec4476ac825 ("Raise gcc version requirement to 4.9") made it impossible to build with gcc 4.8 and under. Remove related workaround. Signed-off-by: Christophe Leroy --- arch/powerpc/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 5f8544cf724a..32dd693b4e42 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -181,12 +181,6 @@ CC_FLAGS_FTRACE := -pg ifdef CONFIG_MPROFILE_KERNEL CC_FLAGS_FTRACE += -mprofile-kernel endif -# Work around gcc code-gen bugs with -pg / -fno-omit-frame-pointer in gcc <= 4.8 -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44199 -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52828 -ifndef CONFIG_CC_IS_CLANG -CC_FLAGS_FTRACE += $(call cc-ifversion, -lt, 0409, -mno-sched-epilog) -endif endif CFLAGS-$(CONFIG_TARGET_CPU_BOOL) += $(call cc-option,-mcpu=$(CONFIG_TARGET_CPU)) -- 2.25.0