public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Borislav Petkov <bp@suse.de>,
	Masahiro Yamada <masahiroy@kernel.org>,
	Alexei Starovoitov <alexei.starovoitov@gmail.com>,
	Nick Desaulniers <ndesaulniers@google.com>,
	Ingo Molnar <mingo@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [tools/ breakage] asm goto: eradicate CC_HAS_ASM_GOTO
Date: Mon, 22 Aug 2022 10:12:12 -0300	[thread overview]
Message-ID: <YwOArA3ZdI8WtVSU@kernel.org> (raw)

Hey,

	The cset below broke tools/perf/, please either not update
tools/ headers (tools developers will notice the difference when
building tools by means of tools/perf/check-headers.sh and see what
is needed to keep it in sync) or do a 'make tools/all'.

	Someone seems to have sent a fix, I'll take a look.

- Arnaldo

    asm goto: eradicate CC_HAS_ASM_GOTO

    GCC has supported asm goto since 4.5, and Clang has since version 9.0.0.
    The minimum supported versions of these tools for the build according to
    Documentation/process/changes.rst are 5.1 and 11.0.0 respectively.

    Remove the feature detection script, Kconfig option, and clean up some
    fallback code that is no longer supported.

    The removed script was also testing for a GCC specific bug that was
    fixed in the 4.7 release.

    Also remove workarounds for bpftrace using clang older than 9.0.0, since
    other BPF backend fixes are required at this point.

    Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/
    Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
    Acked-by: Borislav Petkov <bp@suse.de>
    Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
    Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
    Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
    Reviewed-by: Ingo Molnar <mingo@kernel.org>
    Reviewed-by: Nathan Chancellor <nathan@kernel.org>
    Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>


                 reply	other threads:[~2022-08-22 13:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=YwOArA3ZdI8WtVSU@kernel.org \
    --to=acme@kernel.org \
    --cc=alexandre.belloni@bootlin.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=bp@suse.de \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=torvalds@linux-foundation.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