Regressions on riscv builds tinyconfig, allnoconfig failed with toolchains clang-20 and gcc-13 on the Linux next starting from next-20250328.
First seen on the next-20250328 Good: next-20250327 Bad: next-20250328..next-20250402
Regressions found on riscv: - build/gcc-13-tinyconfig - build/gcc-13-allnoconfig - build/clang-20-tinyconfig - build/clang-20-allnoconfig
Regression Analysis: - New regression? Yes - Reproducibility? Yes
Boot regression: riscv tlbflush.c error 'start' redeclared as different kind of symbol
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build log arch/riscv/mm/tlbflush.c: In function 'arch_tlbbatch_add_pending': arch/riscv/mm/tlbflush.c:195:23: error: 'start' redeclared as different kind of symbol 195 | unsigned long start = uaddr & PAGE_MASK; | ^~~~~ arch/riscv/mm/tlbflush.c:193:53: note: previous definition of 'start' with type 'long unsigned int' 193 | struct mm_struct *mm, unsigned long start, unsigned long end) | ~~~~~~~~~~~~~~^~~~~ arch/riscv/mm/tlbflush.c:195:31: error: 'uaddr' undeclared (first use in this function) 195 | unsigned long start = uaddr & PAGE_MASK; | ^~~~~ arch/riscv/mm/tlbflush.c:195:31: note: each undeclared identifier is reported only once for each function it appears in
## Source * Kernel version: 6.14.0 * Git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git * Git sha: fefb886b1344e222b3218f3c0165b0fd770e8b88 * Git describe: next-20250402 * Project details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/ * Architectures: riscv * Toolchains: clang-20, gcc-13 * Kconfigs: tinyconfig, lkftconfig
## Build * Build log: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/tes... * Build history: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/tes... * Build details: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/tes... * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2v9owDFW4gzrtyDZItZlO... * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2v9owDFW4gzrtyDZItZlO...
## Steps to reproduce - tuxmake --runtime podman --target-arch riscv --toolchain clang-20 --kconfig tinyconfig LLVM=1 LLVM_IAS=1
-- Linaro LKFT https://lkft.linaro.org