Buildresult: linus/um-allyesconfig/um-x86_64-gcc12 built on May 18, 18:14
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 18, 18:14
Duration:
0:00:13.321944
Builder:
ka4
Revision:
kprobe/ftrace: fix build error due to bad function definition (
4b377b4868ef17b040065bd468668c707d2477a5)
Target:
linus/um-allyesconfig/um-x86_64-gcc12
Branch:
linus
Compiler:
um-x86_64-gcc12
(x86_64-linux-gcc.br_real (Buildroot 2021.11-4428-g6b6741b) 12.2.0 / GNU ld (GNU Binutils) 2.39)
Config:
allyesconfig
(
download
)
Log:
Download original
Possible errors
arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: error: no previous prototype for ‘foo’ [-Werror=missing-prototypes] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:117: arch/um/kernel/asm-offsets.s] Error 1 make[2]: *** [Makefile:1197: prepare0] Error 2 make[1]: *** [Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2
Possible warnings (5)
.config:14442:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:14446:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:14448:warning: override: reassigning to symbol UML_NET_SLIP .config:14453:warning: override: reassigning to symbol UML_NET_SLIRP arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes]
Full Log
# git rev-parse -q --verify 4b377b4868ef17b040065bd468668c707d2477a5^{commit} 4b377b4868ef17b040065bd468668c707d2477a5 already have revision, skipping fetch # git checkout -q -f -B kisskb 4b377b4868ef17b040065bd468668c707d2477a5 # git clean -qxdf # < git log -1 # commit 4b377b4868ef17b040065bd468668c707d2477a5 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Fri May 17 19:17:55 2024 -0700 # # kprobe/ftrace: fix build error due to bad function definition # # Commit 1a7d0890dd4a ("kprobe/ftrace: bail out if ftrace was killed") # introduced a bad K&R function definition, which we haven't accepted in a # long long time. # # Gcc seems to let it slide, but clang notices with the appropriate error: # # kernel/kprobes.c:1140:24: error: a function declaration without a prototype is deprecated in all > # 1140 | void kprobe_ftrace_kill() # | ^ # | void # # but this commit was apparently never in linux-next before it was sent # upstream, so it didn't get the appropriate build test coverage. # # Fixes: 1a7d0890dd4a kprobe/ftrace: bail out if ftrace was killed # Cc: Stephen Brennan <stephen.s.brennan@oracle.com> # Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org> # Cc: Guo Ren <guoren@kernel.org> # Cc: Steven Rostedt (Google) <rostedt@goodmis.org> # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 4b377b4868ef17b040065bd468668c707d2477a5 # make -s -j 40 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig CONFIG_SPI_STM32_QSPI=n # < make -s -j 40 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 help # make -s -j 40 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 olddefconfig .config:14442:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY .config:14446:warning: override: reassigning to symbol UML_NET_ETHERTAP .config:14448:warning: override: reassigning to symbol UML_NET_SLIP .config:14453:warning: override: reassigning to symbol UML_NET_SLIRP # make -s -j 40 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for ‘foo’ [-Wmissing-prototypes] 17 | void foo(void) | ^~~ In file included from /kisskb/src/arch/um/kernel/asm-offsets.c:1: /kisskb/src/arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: error: no previous prototype for ‘foo’ [-Werror=missing-prototypes] 9 | void foo(void) | ^~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:117: arch/um/kernel/asm-offsets.s] Error 1 make[2]: *** [/kisskb/src/Makefile:1197: prepare0] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 40 ARCH=um O=/kisskb/build/linus_allyesconfig_um-x86_64-gcc12 CROSS_COMPILE=/opt/cross/kisskb/x86-64--glibc--bleeding-edge-2022.08-1/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allyesconfig_um-x86_64-gcc12 # Build took: 0:00:13.321944
© Michael Ellerman 2006-2018.