Buildresult: gustavoars/versatile_defconfig/arm-gcc4.9 built on Aug 19 2021, 21:24
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 19 2021, 21:24
Duration:
0:00:32.420897
Builder:
ka7
Revision:
Makefile: Enable -Wimplicit-fallthrough for Clang (
7bc04ce6b914a06d5823509d1de237787c58e649)
Target:
gustavoars/versatile_defconfig/arm-gcc4.9
Branch:
gustavoars
Compiler:
arm-gcc4.9
(arm-linux-gnueabi-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
versatile_defconfig
(
download
)
Log:
Download original
Possible warnings (2)
net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces]
Full Log
# git rev-parse -q --verify 7bc04ce6b914a06d5823509d1de237787c58e649^{commit} 7bc04ce6b914a06d5823509d1de237787c58e649 already have revision, skipping fetch # git checkout -q -f -B kisskb 7bc04ce6b914a06d5823509d1de237787c58e649 # git clean -qxdf # < git log -1 # commit 7bc04ce6b914a06d5823509d1de237787c58e649 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Tue Aug 17 15:33:33 2021 -0500 # # Makefile: Enable -Wimplicit-fallthrough for Clang # # With the recent fixes for fallthrough warnings, it is now possible to # enable -Wimplicit-fallthrough for Clang. # # Special thanks to Nathan Chancellor who fixed the Clang bug[1][2] # that put the application of this patch to a halt, temporarily. This # bugfix only appears in Clang 14.0.0, so older versions still contain # the bug and -Wimplicit-fallthrough won't be enabled for them, for # now. # # As Masahiro noted, the "ifeq" conditional "will break when Clang # version 100.0.0 is released. But, before that, we will raise the # minimum supported clang version, and this conditional will go away."[3] # # This concludes a long journey and now we are finally getting rid # of the unintentional fallthrough bug-class in the kernel, entirely. # # [1] https://github.com/llvm/llvm-project/commit/9ed4a94d6451046a51ef393cd62f00710820a7e8 # [2] https://bugs.llvm.org/show_bug.cgi?id=51094 # [3] https://lore.kernel.org/lkml/CAK7LNAQFgYgavTP2ZG9Y16XBVdPuJ98J_Ty1OrQy1GXHq6JjQQ@mail.gmail.com/ # # Link: https://github.com/KSPP/linux/issues/115 # Link: https://github.com/ClangBuiltLinux/linux/issues/236 # ["firstword" and "sort" was idea of Masahiro] # Suggested-by: Masahiro Yamada <masahiroy@kernel.org> # [The conditional "ifeq" was idea of Nathan] # Suggested-by: Nathan Chancellor <nathan@kernel.org> # Reviewed-by: Nathan Chancellor <nathan@kernel.org> # Tested-by: Nathan Chancellor <nathan@kernel.org> # Co-developed-by: Kees Cook <keescook@chromium.org> # Signed-off-by: Kees Cook <keescook@chromium.org> # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-ld --version # < git log --format=%s --max-count=1 7bc04ce6b914a06d5823509d1de237787c58e649 # < make -s -j 32 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- versatile_defconfig # < make -s -j 32 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- help # make -s -j 32 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- olddefconfig # make -s -j 32 ARCH=arm O=/kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi- /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] Completed OK # rm -rf /kisskb/build/gustavoars_versatile_defconfig_arm-gcc4.9 # Build took: 0:00:32.420897
© Michael Ellerman 2006-2018.