Message ID | 20211020173554.38122-1-keescook@chromium.org (mailing list archive) |
---|---|
Headers | show |
Series | gcc-plugins: Explicitly document purpose and deprecation schedule | expand |
On Wed, Oct 20, 2021 at 10:35 AM Kees Cook <keescook@chromium.org> wrote: > > Hi, > > GCC plugins should only exist when some compiler feature needs to be > proven but does not exist in either GCC nor Clang. For example, if a > desired feature is already in Clang, it should be added to GCC upstream. > Document this explicitly. > > I'll put this in -next unless there are objections. :) Acked-by: Nick Desaulniers <ndesaulniers@google.com> > > Thanks! > > -Kees > > > Kees Cook (2): > gcc-plugins: Explicitly document purpose and deprecation schedule > gcc-plugins: Remove cyc_complexity > > Documentation/kbuild/gcc-plugins.rst | 28 ++++++++- > scripts/Makefile.gcc-plugins | 2 - > scripts/gcc-plugins/Kconfig | 20 +----- > scripts/gcc-plugins/cyc_complexity_plugin.c | 69 --------------------- > security/Kconfig.hardening | 9 ++- > 5 files changed, 34 insertions(+), 94 deletions(-) > delete mode 100644 scripts/gcc-plugins/cyc_complexity_plugin.c > > -- > 2.30.2 >
On Wed, 20 Oct 2021 at 19:35, Kees Cook <keescook@chromium.org> wrote: > > Hi, > > GCC plugins should only exist when some compiler feature needs to be > proven but does not exist in either GCC nor Clang. For example, if a > desired feature is already in Clang, it should be added to GCC upstream. > Document this explicitly. > > I'll put this in -next unless there are objections. :) > > Thanks! > > -Kees > > > Kees Cook (2): > gcc-plugins: Explicitly document purpose and deprecation schedule > gcc-plugins: Remove cyc_complexity > Acked-by: Ard Biesheuvel <ardb@kernel.org> > Documentation/kbuild/gcc-plugins.rst | 28 ++++++++- > scripts/Makefile.gcc-plugins | 2 - > scripts/gcc-plugins/Kconfig | 20 +----- > scripts/gcc-plugins/cyc_complexity_plugin.c | 69 --------------------- > security/Kconfig.hardening | 9 ++- > 5 files changed, 34 insertions(+), 94 deletions(-) > delete mode 100644 scripts/gcc-plugins/cyc_complexity_plugin.c > > -- > 2.30.2 >