mm/slub.c:1163:17: error: implicit declaration of function '__memset'; did you mean '__memset64'? [-Werror=implicit-function-declaration]

From: Naresh Kamboju
Date: Tue Jun 18 2024 - 07:36:08 EST


The Following build failures have been noticed on Powerpc, mips and arc on the
Linux next-20240617 tag.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Regressions found on mips:
- gcc-12-bcm47xx_defconfig
- gcc-12-cavium_octeon_defconfig
- gcc-8-malta_defconfig
- gcc-12-malta_defconfig
- gcc-12-allnoconfig
- gcc-8-bcm47xx_defconfig
- gcc-8-allnoconfig
- gcc-8-cavium_octeon_defconfig
- clang-18-allnoconfig
- clang-nightly-allnoconfig


Regressions found on arc:
- gcc-9-allnoconfig
- gcc-9-defconfig

Regressions found on powerpc:
- clang-18-maple_defconfig
- gcc-13-ppc6xx_defconfig
- clang-18-allnoconfig
- clang-18-defconfig
- clang-18-ppc64e_defconfig
- gcc-13-defconfig

Build log:
--------
mm/slub.c: In function 'init_object':
mm/slub.c:1163:17: error: implicit declaration of function '__memset';
did you mean '__memset64'? [-Werror=implicit-function-declaration]
1163 | __memset(p - s->red_left_pad, val, s->red_left_pad);
| ^~~~~~~~
| __memset64

The commit id:
ad5dde7da5f9 kmsan: support SLAB_POISON

metadata:
git_describe: next-20240617
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 76db4c64526c5e8ba0f56ad3d890dce8f9b00bbc

Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/ -
next-20240617/testrun/24380474/suite/ -
test/gcc-13-ppc64e_defconfig/log
- https://qa-reports.linaro.org/lkft/linux-next-master/ -
next-20240617/testrun/24380474/suite/ -
test/gcc-13-ppc64e_defconfig/details/


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