Buildresult: kbuild/pseries_le_defconfig/powerpc-gcc5 built on Aug 30 2019, 02:19
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Aug 30 2019, 02:19
Duration:
0:02:46.832897
Builder:
blade46
Revision:
kbuild: Do not enable -Wimplicit-fallthrough for clang for now (
92387f33009308fd6d74a80a3573d7a0d2401905)
Target:
kbuild/pseries_le_defconfig/powerpc-gcc5
Branch:
kbuild
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
pseries_le_defconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/kernel/prom_init_check.sh: 36: arch/powerpc/kernel/prom_init_check.sh: Syntax error: "(" unexpected make[3]: *** [arch/powerpc/kernel/Makefile:196: prom_init_check] Error 2 make[2]: *** [scripts/Makefile.build:509: arch/powerpc/kernel] Error 2 make[1]: *** [Makefile:1665: arch/powerpc] Error 2 make: *** [Makefile:179: sub-make] Error 2
Possible warnings (1)
kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify 92387f33009308fd6d74a80a3573d7a0d2401905^{commit} 92387f33009308fd6d74a80a3573d7a0d2401905 already have revision, skipping fetch # git checkout -q -f -B kisskb 92387f33009308fd6d74a80a3573d7a0d2401905 # git clean -qxdf # < git log -1 # commit 92387f33009308fd6d74a80a3573d7a0d2401905 # Author: Nathan Chancellor <natechancellor@gmail.com> # Date: Mon Aug 26 17:41:55 2019 -0700 # # kbuild: Do not enable -Wimplicit-fallthrough for clang for now # # This functionally reverts commit bfd77145f35c ("Makefile: Convert # -Wimplicit-fallthrough=3 to just -Wimplicit-fallthrough for clang"). # # clang enabled support for -Wimplicit-fallthrough in C in r369414 [1], # which causes a lot of warnings when building the kernel for two reasons: # # 1. Clang does not support the /* fall through */ comments. There seems # to be a general consensus in the LLVM community that this is not # something they want to support. Joe Perches wrote a script to convert # all of the comments to a "fallthrough" keyword that will be added to # compiler_attributes.h [2] [3], which catches the vast majority of the # comments. There doesn't appear to be any consensus in the kernel # community when to do this conversion. # # 2. Clang and GCC disagree about falling through to final case statements # with no content or cases that simply break: # # https://godbolt.org/z/c8csDu # # This difference contributes at least 50 warnings in an allyesconfig # build for x86, not considering other architectures. This difference # will need to be discussed to see which compiler is right [4] [5]. # # [1]: https://github.com/llvm/llvm-project/commit/1e0affb6e564b7361b0aadb38805f26deff4ecfc # [2]: https://lore.kernel.org/lkml/61ddbb86d5e68a15e24ccb06d9b399bbf5ce2da7.camel@perches.com/ # [3]: https://lore.kernel.org/lkml/1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com/ # [4]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91432 # [5]: https://github.com/ClangBuiltLinux/linux/issues/636 # # Given these two problems need discussion and coordination, do not enable # -Wimplicit-fallthrough with clang right now. Add a comment to explain # what is going on as well. This commit should be reverted once these two # issues are fully flushed out and resolved. # # Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com> # Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> # Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> # Acked-by: Nick Desaulniers <ndesaulniers@google.com> # Acked-by: Gustavo A. R. Silva <gustavo@embeddedor.com> # Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 92387f33009308fd6d74a80a3573d7a0d2401905 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/prom_init_check.sh: 36: /kisskb/src/arch/powerpc/kernel/prom_init_check.sh: Syntax error: "(" unexpected make[3]: *** [/kisskb/src/arch/powerpc/kernel/Makefile:196: prom_init_check] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:509: arch/powerpc/kernel] Error 2 make[1]: *** [/kisskb/src/Makefile:1665: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here int oldval, ret; ^ make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pseries_le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_pseries_le_defconfig_ppc64le-gcc5 # Build took: 0:02:46.832897
© Michael Ellerman 2006-2018.