Following build regressions noticed on Linux next-20230619.
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Regressions found on riscv:
- build/rv32-clang-16-lkftconfig
- build/rv32-clang-16-tinyconfig
- build/rv32-clang-nightly-defconfig
- build/rv32-clang-16-allnoconfig
- build/gcc-12-defconfig
- build/gcc-11-lkftconfig
- build/clang-16-lkftconfig
- build/rv32-clang-16-defconfig
- build/gcc-8-defconfig
- build/rv32-gcc-11-lkftconfig
- build/clang-16-defconfig
- build/rv32-clang-nightly-allnoconfig
- build/rv32-clang-nightly-tinyconfig
- build/clang-nightly-defconfig
arch/riscv/kvm/aia_imsic.c:237:9: error: call to undeclared function
'arch_atomic_long_fetch_or'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
return arch_atomic_long_fetch_or(val, (atomic_long_t *)ptr);
^
arch/riscv/kvm/aia_imsic.c:237:9: note: did you mean 'raw_atomic_long_fetch_or'?
include/linux/atomic/atomic-long.h:1087:1: note:
'raw_atomic_long_fetch_or' declared here
raw_atomic_long_fetch_or(long i, atomic_long_t *v)
^
1 error generated.
Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230619/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230619/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230619/te…
Steps to reproduce:
# To install tuxmake to your home directory at ~/.local/bin:
# pip3 install -U --user tuxmake
#
# Or install a deb/rpm depending on the running distribution
# See https://tuxmake.org/install-deb/ or
# https://tuxmake.org/install-rpm/
#
# See https://docs.tuxmake.org/ for complete documentation.
tuxmake --runtime podman --target-arch riscv --toolchain clang-16
--kconfig defconfig LLVM=1 LLVM_IAS=1
--
Linaro LKFT
https://lkft.linaro.org
Following regressions found on stable rc 5.4 while building MIPS configs,
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
MIPS: Restore Au1300 support
[ Upstream commit f2041708dee30a3425f680265c337acd28293782 ]
Build log:
======
arch/mips/kernel/cpu-probe.c: In function 'cpu_probe':
arch/mips/kernel/cpu-probe.c:2125:9: error: duplicate case value
2125 | case PRID_COMP_NETLOGIC:
| ^~~~
arch/mips/kernel/cpu-probe.c:2099:9: note: previously used here
2099 | case PRID_COMP_NETLOGIC:
| ^~~~
make[3]: *** [scripts/Makefile.build:262: arch/mips/kernel/cpu-probe.o] Error 1
Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.2…
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.4.y/build/v5.4.2…
--
Linaro LKFT
https://lkft.linaro.org