on stable-rc 4.19 and stable-rc 5.4 branch MIPS cavium_octeon_defconfig and
nlm_xlp_defconfig builds failed recently.
Regressions (compared to build v4.19.167-43-g5a52ae31885b)
Regressions (compared to build v5.4.89-62-ga698e3bcad9e)
mips:
build:
* gcc-10-cavium_octeon_defconfig
* gcc-10-nlm_xlp_defconfig
* gcc-8-cavium_octeon_defconfig
* gcc-8-nlm_xlp_defconfig
* gcc-9-cavium_octeon_defconfig
* gcc-9-nlm_xlp_defconfig
Build log :
---------------
# to reproduce this build locally:
tuxmake --target-arch=mips --kconfig=cavium_octeon_defconfig
--toolchain=gcc-8 --wrapper=sccache
--environment=SCCACHE_BUCKET=sccache.tuxbuild.com --runtime=docker
--image=public.ecr.aws/tuxmake/mips_gcc-8 config kernel xipkernel
debugkernel modules dtbs dtbs-legacy
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=mips
CROSS_COMPILE=mips-linux-gnu- 'CC=sccache mips-linux-gnu-gcc'
'HOSTCC=sccache gcc' cavium_octeon_defconfig
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=mips
CROSS_COMPILE=mips-linux-gnu- 'CC=sccache mips-linux-gnu-gcc'
'HOSTCC=sccache gcc'
In file included from arch/mips/kernel/binfmt_elfn32.c:113:
arch/mips/kernel/../../../fs/binfmt_elf.c: In function 'fill_siginfo_note':
arch/mips/kernel/../../../fs/binfmt_elf.c:1599:23: error: passing
argument 1 of 'copy_siginfo_to_user' from incompatible pointer type
[-Werror=incompatible-pointer-types]
copy_siginfo_to_user((user_siginfo_t __user *) csigdata, siginfo);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/uapi/linux/elfcore.h:6,
from include/linux/elfcore.h:10,
from arch/mips/kernel/binfmt_elfn32.c:42:
include/linux/signal.h:24:49: note: expected 'struct siginfo *' but
argument is of type 'compat_siginfo_t *' {aka 'struct compat_siginfo
*'}
int copy_siginfo_to_user(struct siginfo __user *to, const struct
siginfo *from);
~~~~~~~~~~~~~~~~~~~~~~~^~
cc1: all warnings being treated as errors
build log link,
- https://builds.tuxbuild.com/1nCmFsW7GqWQp1LTwGO5BpU93fy/
- https://builds.tuxbuild.com/1nCmFl54F1ONC7hNoPkeO8kBt5o/
Best regards
Naresh Kamboju