All the clang-nightly issues seem like bugs in clang. I would say only the build error on S390 is a kernel issue.
regards, dan carpenter
On Wed, Apr 30, 2025 at 04:09:18PM +0530, Naresh Kamboju wrote:
On Tue, 29 Apr 2025 at 23:31, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 6.1.136 release. There are 167 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu, 01 May 2025 16:10:15 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at: https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.136-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y and the diffstat can be found below.
thanks,
greg k-h
There are three build regressions and two build warnings.
Regressions on x86_64 with defconfig builds with clang-nightly toolchain on the stable-rc 6.1.136-rc1.
- x86_64, build
- clang-nightly-lkftconfig
- clang-nightly-x86_64_defconfig
Regression Analysis:
- New regression? Yes
- Reproducibility? Yes
Build regression: x86_64 clang-nightly net ip.h error default initialization of an object of type 'typeof (rt->dst.expires)'
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build error x86_64 include/net/ip.h:462:14: error: default initialization of an object of type 'typeof (rt->dst.expires)' (aka 'const unsigned long') leaves the object uninitialized and is incompatible with C++ [-Werror,-Wdefault-const-init-unsafe] 462 | if (mtu && time_before(jiffies, rt->dst.expires)) | ^
## Build x86_64
- Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build history:
https://qa-reports.linaro.org/lkft/linux-stale-rc-linux-6.1.y/build/v6.1.134...
- Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfmTxuT4qMCUSSj4Zw...
- Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfmTxuT4qMCUSSj4Zw...
- Toolchain: Debian clang version 21.0.0
(++20250428112741+e086d7b1464a-1~exp1~20250428112923.1416)
Regressions on s390 with defconfig builds with gcc-13, gcc-8 and clang-20 and clang-nightly toolchains on the stable-rc 6.1.136-rc1.
- s390, build
- clang-20-defconfig
- clang-nightly-defconfig
- gcc-13-allmodconfig
- gcc-13-defconfig
- gcc-8-defconfig-fe40093d
Regression Analysis:
- New regression? Yes
- Reproducibility? Yes
Build regression: s390 pci_report.c fatal error linux sprintf.h No such file or directory
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build error S390 arch/s390/pci/pci_report.c:14:10: fatal error: linux/sprintf.h: No such file or directory 14 | #include <linux/sprintf.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. arch/s390/pci/pci_fixup.c: In function 'zpci_ism_bar_no_mmap': arch/s390/pci/pci_fixup.c:19:13: error: 'struct pci_dev' has no member named 'non_mappable_bars' 19 | pdev->non_mappable_bars = 1; | ^~ drivers/s390/virtio/virtio_ccw.c:88:9: error: unknown type name 'dma64_t' 88 | dma64_t queue; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c:95:9: error: unknown type name 'dma64_t' 95 | dma64_t desc; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c:99:9: error: unknown type name 'dma64_t' 99 | dma64_t avail; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c:100:9: error: unknown type name 'dma64_t' 100 | dma64_t used; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c:109:9: error: unknown type name 'dma64_t' 109 | dma64_t summary_indicator; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c:110:9: error: unknown type name 'dma64_t' 110 | dma64_t indicator; | ^~~~~~~ drivers/s390/virtio/virtio_ccw.c: In function 'virtio_ccw_drop_indicator': drivers/s390/virtio/virtio_ccw.c:370:25: error: implicit declaration of function 'virt_to_dma64'; did you mean 'virt_to_page'? [-Werror=implicit-function-declaration] 370 | virt_to_dma64(get_summary_indicator(airq_info)); | ^~~~~~~~~~~~~ | virt_to_page drivers/s390/virtio/virtio_ccw.c:374:28: error: implicit declaration of function 'virt_to_dma32'; did you mean 'virt_to_page'? [-Werror=implicit-function-declaration] 374 | ccw->cda = virt_to_dma32(thinint_area); | ^~~~~~~~~~~~~ | virt_to_page drivers/s390/virtio/virtio_ccw.c: In function 'virtio_ccw_setup_vq': drivers/s390/virtio/virtio_ccw.c:552:45: error: implicit declaration of function 'u64_to_dma64' [-Werror=implicit-function-declaration] 552 | info->info_block->l.queue = u64_to_dma64(queue); | ^~~~~~~~~~~~ drivers/s390/virtio/virtio_ccw.c: In function 'virtio_ccw_find_vqs': drivers/s390/virtio/virtio_ccw.c:654:9: error: unknown type name 'dma64_t' 654 | dma64_t *indicatorp = NULL; | ^~~~~~~ cc1: some warnings being treated as errors
## Build s390
- Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfcqRiiDhTc38knEJ0...
- Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfcqRiiDhTc38knEJ0...
- Toolchain: Debian clang version 21.0.0
(++20250428112741+e086d7b1464a-1~exp1~20250428112923.1416)
Regressions on mips with defconfig builds with clang-nightly toolchains on the stable-rc 6.1.136-rc1.
- mips, build
- clang-nightly-allnoconfig
- clang-nightly-defconfig
- clang-nightly-tinyconfig
Regression Analysis:
- New regression? Yes
- Reproducibility? Yes
Build regression: mips kernel branch.c error default initialization of an object of type union
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
## Build error mips arch/mips/kernel/branch.c:35:6: error: default initialization of an object of type 'union (unnamed union at arch/mips/kernel/branch.c:35:6)' with const member leaves the object uninitialized and is incompatible with C++ [-Werror,-Wdefault-const-init-unsafe] 35 | if (__get_user(inst, (u16 __user *) msk_isa16_mode(epc))) { | ^
## Build mips
- Build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
- Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfMHLLGL9OjZrjKvW9...
- Kernel config:
https://storage.tuxsuite.com/public/linaro/lkft/builds/2wPjfMHLLGL9OjZrjKvW9...
## Build warnings
a) Build warnings on x86_64 builds. io_uring/timeout.c:410:31: warning: default initialization of an object of type 'typeof ((sqe->addr2))' (aka 'const unsigned long long') leaves the object uninitialized and is incompatible with C++ [-Wdefault-const-init-unsafe] 410 | if (get_timespec64(&tr->ts, u64_to_user_ptr(sqe->addr2))) | ^
Links:
b) Build warnings on arm with clang-nightly with tinyconfig.
clang: warning: argument unused during compilation: '-march=armv7-m' [-Wunused-command-line-argument] kernel/params.c:367:22: warning: default initialization of an object of type 'struct kernel_param' with const member leaves the object uninitialized and is incompatible with C++ [-Wdefault-const-init-unsafe] 367 | struct kernel_param dummy; | ^ include/linux/moduleparam.h:73:12: note: member 'perm' declared 'const' here 73 | const u16 perm; | ^ kernel/params.c:423:22: warning: default initialization of an object of type 'struct kernel_param' with const member leaves the object uninitialized and is incompatible with C++ [-Wdefault-const-init-unsafe] 423 | struct kernel_param kp; | ^ include/linux/moduleparam.h:73:12: note: member 'perm' declared 'const' here 73 | const u16 perm; | ^ 2 warnings generated.
Links:
## Build
- kernel: 6.1.136-rc1
- git: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
- git commit: 961a5173f29d2aa1f2c87ff9612b029c46086972
- git describe: v6.1.134-461-g961a5173f29d
- test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.13...
## Test Regressions (compared to v6.1.134-292-gb8b5da130779)
i386, build
- clang-nightly-defconfig
- clang-nightly-lkftconfig
mips, build
- clang-nightly-allnoconfig
- clang-nightly-defconfig
- clang-nightly-tinyconfig
s390, build
- clang-20-defconfig
- clang-nightly-defconfig
- gcc-13-allmodconfig
- gcc-13-defconfig
- gcc-8-defconfig-fe40093d
x86_64, build
- clang-nightly-lkftconfig
- clang-nightly-x86_64_defconfig
## Metric Regressions (compared to v6.1.134-292-gb8b5da130779)
## Test Fixes (compared to v6.1.134-292-gb8b5da130779)
## Metric Fixes (compared to v6.1.134-292-gb8b5da130779)
## Test result summary total: 96862, pass: 76665, fail: 4435, skip: 15439, xfail: 323
## Build Summary
- arc: 5 total, 5 passed, 0 failed
- arm: 135 total, 135 passed, 0 failed
- arm64: 43 total, 43 passed, 0 failed
- i386: 27 total, 20 passed, 7 failed
- mips: 26 total, 22 passed, 4 failed
- parisc: 4 total, 4 passed, 0 failed
- powerpc: 32 total, 31 passed, 1 failed
- riscv: 11 total, 9 passed, 2 failed
- s390: 14 total, 8 passed, 6 failed
- sh: 10 total, 10 passed, 0 failed
- sparc: 7 total, 7 passed, 0 failed
- x86_64: 35 total, 32 passed, 3 failed
## Test suites summary
- boot
- commands
- kselftest-arm64
- kselftest-breakpoints
- kselftest-capabilities
- kselftest-cgroup
- kselftest-clone3
- kselftest-core
- kselftest-cpu-hotplug
- kselftest-cpufreq
- kselftest-efivarfs
- kselftest-exec
- kselftest-fpu
- kselftest-ftrace
- kselftest-futex
- kselftest-gpio
- kselftest-intel_pstate
- kselftest-ipc
- kselftest-kcmp
- kselftest-kvm
- kselftest-livepatch
- kselftest-membarrier
- kselftest-memfd
- kselftest-mincore
- kselftest-mqueue
- kselftest-net
- kselftest-net-mptcp
- kselftest-openat2
- kselftest-ptrace
- kselftest-rseq
- kselftest-rtc
- kselftest-seccomp
- kselftest-sigaltstack
- kselftest-size
- kselftest-tc-testing
- kselftest-timers
- kselftest-tmpfs
- kselftest-tpm2
- kselftest-user_events
- kselftest-vDSO
- kselftest-x86
- kunit
- kvm-unit-tests
- lava
- libgpiod
- libhugetlbfs
- log-parser-boot
- log-parser-build-clang
- log-parser-build-gcc
- log-parser-test
- ltp-capability
- ltp-commands
- ltp-containers
- ltp-controllers
- ltp-cpuhotplug
- ltp-crypto
- ltp-cve
- ltp-dio
- ltp-fcntl-locktests
- ltp-fs
- ltp-fs_bind
- ltp-fs_perms_simple
- ltp-hugetlb
- ltp-ipc
- ltp-math
- ltp-mm
- ltp-nptl
- ltp-pty
- ltp-sched
- ltp-smoke
- ltp-syscalls
- ltp-tracing
- perf
- rcutorture
-- Linaro LKFT https://lkft.linaro.org