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+G9fYuxkL=naKEvQtGtgLq9aemoO5i4q=D3snaDtnQMnbFj8w@mail.gmail.com>
Date: Mon, 4 Mar 2024 13:59:40 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: clang-built-linux <llvm@...ts.linux.dev>, open list <linux-kernel@...r.kernel.org>, 
	lkft-triage@...ts.linaro.org
Cc: Nathan Chancellor <nathan@...nel.org>, Nick Desaulniers <ndesaulniers@...gle.com>, 
	Arnd Bergmann <arnd@...db.de>
Subject: include/linux/vmstat.h:508:43: error: arithmetic between different
 enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Werror,-Wenum-enum-conversion]

The x86 clang nightly defconfig builds failed on today's Linux next
tag next-20240304.

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Build log:
---------
In file included from include/linux/mm.h:2208:
include/linux/vmstat.h:508:43: error: arithmetic between different
enumeration types ('enum zone_stat_item' and 'enum numa_stat_item')
[-Werror,-Wenum-enum-conversion]
  508 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
      |                            ~~~~~~~~~~~~~~~~~~~~~ ^
  509 |                            item];
      |                            ~~~~                    ^~

Steps to reproduce:
 # tuxmake --runtime podman --target-arch x86_64 --toolchain
clang-nightly --kconfig x86_64_defconfig LLVM=1 LLVM_IAS=1
  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2dDE2PIbgOKyvV21FDe74HgYh8l/tuxmake_reproducer.sh


Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240304/testrun/22918589/suite/build/test/clang-nightly-x86_64_defconfig/details/
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240304/testrun/22918589/suite/build/test/clang-nightly-x86_64_defconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240304/testrun/22918589/suite/build/test/clang-nightly-x86_64_defconfig/history/


--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ