Re: [next] riscv: Linux next-20220404 riscv defconfig builds failed.

From: Guo Ren
Date: Mon Apr 04 2022 - 06:28:50 EST


It caused by:

commit 03248addadf1a5ef0a03cbcd5ec905b49adb9658
Author: Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
Date: Wed Feb 9 12:20:45 2022 -0600

resume_user_mode: Move to resume_user_mode.h

Move set_notify_resume and tracehook_notify_resume into resume_user_mode.h.
While doing that rename tracehook_notify_resume to resume_user_mode_work.

Update all of the places that included tracehook.h for these functions to
include resume_user_mode.h instead.

Update all of the callers of tracehook_notify_resume to call
resume_user_mode_work.

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
Link: https://lkml.kernel.org/r/20220309162454.123006-12-ebiederm@xxxxxxxxxxxx
Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>

I would solve it.

On Mon, Apr 4, 2022 at 5:58 PM Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> Linux next-20220404 riscv defconfig builds failed.
>
> Regressions found on riscv:
> - riscv-riscv-clang-14-defconfig
> - riscv-riscv-gcc-10-defconfig
> - riscv-riscv-clang-13-defconfig
> - riscv-riscv-clang-12-defconfig
> - riscv-riscv-clang-11-defconfig
> - riscv-riscv-gcc-11-defconfig
> - riscv-riscv-gcc-8-defconfig
> - riscv-riscv-gcc-9-defconfig
> - riscv-riscv-clang-nightly-defconfig
>
>
> arch/riscv/kernel/compat_signal.c:7:10: fatal error:
> linux/tracehook.h: No such file or directory
> 7 | #include <linux/tracehook.h>
> | ^~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Makefile.build:289:
> arch/riscv/kernel/compat_signal.o] Error 1
>
>
> Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>
>
> metadata:
> git_describe: next-20220404
> git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
> git_sha: 696206280c5e5c028caf9fd259999cb72b1f6127
> kconfig: defconfig
> target_arch: riscv
> toolchain: gcc-11
>
> steps to reproduce:
> # To install tuxmake on your system globally:
> # sudo pip3 install -U tuxmake
> #
>
> tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
> --kconfig defconfig
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org
>
>
> [1] https://builds.tuxbuild.com/27JdBBUbSHIhFJ9Wsq3Z6ssitb6/



--
Best Regards
Guo Ren

ML: https://lore.kernel.org/linux-csky/