From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: Masahiro Yamada <masahiroy@kernel.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
linuxppc-dev@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc: remove old workaround for GCC < 4.9
Date: Thu, 8 Apr 2021 06:39:00 +0200 [thread overview]
Message-ID: <c1252dda-42e8-d920-c46f-1fd8250870ab@csgroup.eu> (raw)
In-Reply-To: <20210408030534.196347-1-masahiroy@kernel.org>
Le 08/04/2021 à 05:05, Masahiro Yamada a écrit :
> According to Documentation/process/changes.rst, the minimum supported
> GCC version is 4.9.
>
> This workaround is dead code.
This workaround is already on the way out, see
https://github.com/linuxppc/linux/commit/802b5560393423166e436c7914b565f3cda9e6b9
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
>
> 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))
>
prev parent reply other threads:[~2021-04-08 4:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-08 3:05 [PATCH] powerpc: remove old workaround for GCC < 4.9 Masahiro Yamada
2021-04-08 4:39 ` Christophe Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c1252dda-42e8-d920-c46f-1fd8250870ab@csgroup.eu \
--to=christophe.leroy@csgroup.eu \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=masahiroy@kernel.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox