diff options
| author | Nathan Chancellor <nathan@kernel.org> | 2026-05-17 13:05:17 -1000 |
|---|---|---|
| committer | Nathan Chancellor <nathan@kernel.org> | 2026-05-27 15:20:06 -0700 |
| commit | f3de78cb19d1236169c3f24a5caaf7739c0886a1 (patch) | |
| tree | 0d432f63e04944ddd0a96e3a52d46a731a6d3c7a /init | |
| parent | 4e7af20d0d1043d9eb10a422c64d91de973384c1 (diff) | |
| download | linux-f3de78cb19d1236169c3f24a5caaf7739c0886a1.tar.gz linux-f3de78cb19d1236169c3f24a5caaf7739c0886a1.zip | |
kbuild: Remove check for broken scoping with clang < 17 in CC_HAS_ASM_GOTO_OUTPUT
Now that the minimum supported version of LLVM for building the kernel
has been raised to 17.0.1, the check added to CC_HAS_ASM_GOTO_OUTPUT by
commit e2ffa15b9baa ("kbuild: Disable CC_HAS_ASM_GOTO_OUTPUT on clang <
17") can be removed, as the issue it detects is guaranteed to be fixed.
Acked-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20260517-bump-minimum-supported-llvm-version-to-17-v2-14-b3b8cda46bdd@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'init')
| -rw-r--r-- | init/Kconfig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig index 2937c4d308ae..6da6cf019d1a 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -118,10 +118,7 @@ config GCC_ASM_GOTO_OUTPUT_BROKEN config CC_HAS_ASM_GOTO_OUTPUT def_bool y depends on !GCC_ASM_GOTO_OUTPUT_BROKEN - # Detect basic support depends on $(success,echo 'int foo(int x) { asm goto ("": "=r"(x) ::: bar); return x; bar: return 0; }' | $(CC) -x c - -c -o /dev/null) - # Detect clang (< v17) scoped label issues - depends on $(success,echo 'void b(void **);void* c(void);int f(void){{asm goto(""::::l0);return 0;l0:return 1;}void *x __attribute__((cleanup(b)))=c();{asm goto(""::::l1);return 2;l1:return 3;}}' | $(CC) -x c - -c -o /dev/null) config CC_HAS_ASM_GOTO_TIED_OUTPUT depends on CC_HAS_ASM_GOTO_OUTPUT |
