lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYug_77HoqyonvsnJiya2q+0-hf9k4Yjk_dDn7P91Sq+3A@mail.gmail.com>
Date: Wed, 2 Apr 2025 18:50:23 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: linux-riscv <linux-riscv@...ts.infradead.org>, 
	open list <linux-kernel@...r.kernel.org>, lkft-triage@...ts.linaro.org, 
	Linux Regressions <regressions@...ts.linux.dev>
Cc: Anders Roxell <anders.roxell@...aro.org>, Arnd Bergmann <arnd@...db.de>, 
	Dan Carpenter <dan.carpenter@...aro.org>, Paul Walmsley <paul.walmsley@...ive.com>, 
	Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>
Subject: next-20250402: riscv/mm/tlbflush.c:195:23: error: 'start' redeclared
 as different kind of symbol

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@...aro.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/testrun/27859100/suite/build/test/gcc-13-tinyconfig/log
* Build history:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/testrun/27859100/suite/build/test/gcc-13-tinyconfig/history/
* Build details:
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20250402/testrun/27859100/suite/build/test/gcc-13-tinyconfig/details/
* Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2v9owDFW4gzrtyDZItZlOSzN7Zd/
* Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2v9owDFW4gzrtyDZItZlOSzN7Zd/config

## 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ