[<prev] [next>] [day] [month] [year] [list]
Message-ID: <YwOArA3ZdI8WtVSU@kernel.org>
Date: Mon, 22 Aug 2022 10:12:12 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Borislav Petkov <bp@...e.de>,
Masahiro Yamada <masahiroy@...nel.org>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Ingo Molnar <mingo@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [tools/ breakage] asm goto: eradicate CC_HAS_ASM_GOTO
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@...e.de>
Suggested-by: Masahiro Yamada <masahiroy@...nel.org>
Suggested-by: Alexei Starovoitov <alexei.starovoitov@...il.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
Reviewed-by: Ingo Molnar <mingo@...nel.org>
Reviewed-by: Nathan Chancellor <nathan@...nel.org>
Reviewed-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
Powered by blists - more mailing lists