From: Robert Karszniewicz <avoidr@posteo.de>
To: Masahiro Yamada <masahiroy@kernel.org>
Cc: Robert Karszniewicz <r.karszniewicz@phytec.de>,
Kees Cook <keescook@chromium.org>,
Michal Marek <michal.lkml@markovi.net>,
Jonathan Corbet <corbet@lwn.net>,
Philipp Rudo <prudo@linux.ibm.com>,
linux-hardening@vger.kernel.org,
Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>,
"open list:DOCUMENTATION" <linux-doc@vger.kernel.org>
Subject: Re: [PATCH] Documentation/Kbuild: Remove references to gcc-plugin.sh
Date: Sat, 23 Jan 2021 17:40:13 +0100 [thread overview]
Message-ID: <YAxRbe4DmEbM0feC@HP> (raw)
In-Reply-To: <CAK7LNARn6yhYqA7bm_ExLH5HVvz0gsW_QonX-LXuqYP6q4SDeg@mail.gmail.com>
On Sat, Jan 23, 2021 at 10:17:59PM +0900, Masahiro Yamada wrote:
> On Sat, Jan 23, 2021 at 3:19 AM Robert Karszniewicz
> <r.karszniewicz@phytec.de> wrote:
> >
> > gcc-plugin.sh has been removed in commit
> > 1e860048c53e ("gcc-plugins: simplify GCC plugin-dev capability test").
> >
> > Signed-off-by: Robert Karszniewicz <r.karszniewicz@phytec.de>
> > ---
> > Documentation/kbuild/gcc-plugins.rst | 6 ------
> > scripts/dummy-tools/gcc | 15 ---------------
> > 2 files changed, 21 deletions(-)
> >
> > [...]
> > diff --git a/scripts/dummy-tools/gcc b/scripts/dummy-tools/gcc
> > index 33487e99d83e..a484de576e6f 100755
> > --- a/scripts/dummy-tools/gcc
> > +++ b/scripts/dummy-tools/gcc
> > @@ -74,18 +74,3 @@ if arg_contain -S "$@"; then
> > exit 0
> > fi
> > fi
> > -
> > -# For scripts/gcc-plugin.sh
> > -if arg_contain -print-file-name=plugin "$@"; then
> > - plugin_dir=$(mktemp -d)
> > -
> > - sed -n 's/.*#include "\(.*\)"/\1/p' $(dirname $0)/../gcc-plugins/gcc-common.h |
> > - while read header
> > - do
> > - mkdir -p $plugin_dir/include/$(dirname $header)
> > - touch $plugin_dir/include/$header
> > - done
> > -
> > - echo $plugin_dir
> > - exit 0
> > -fi
>
>
> Well, it is wrong to remove this hunk entirely.
> It would break the ability to enable GCC_PLUGINS.
>
> I will simplify this part.
> https://lore.kernel.org/patchwork/patch/1369968/
>
>
> I took the only change to Documentation/kbuild/gcc-plugins.rst
> from your patch but this document contains more stale info.
>
> https://lore.kernel.org/patchwork/patch/1370008/
I see, thanks for letting me know,
Robert
prev parent reply other threads:[~2021-01-23 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 18:04 [PATCH] Documentation/Kbuild: Remove references to gcc-plugin.sh Robert Karszniewicz
2021-01-22 19:23 ` Kees Cook
2021-01-23 13:17 ` Masahiro Yamada
2021-01-23 16:40 ` Robert Karszniewicz [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=YAxRbe4DmEbM0feC@HP \
--to=avoidr@posteo.de \
--cc=corbet@lwn.net \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=michal.lkml@markovi.net \
--cc=prudo@linux.ibm.com \
--cc=r.karszniewicz@phytec.de \
/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;
as well as URLs for NNTP newsgroup(s).