Buildresult: gustavoars/sparc64-allmodconfig/sparc64-gcc5 built on Sep 17 2021, 07:48
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Sep 17 2021, 07:48
Duration:
0:08:09.087977
Builder:
ka4
Revision:
Makefile: Enable -Wimplicit-fallthrough for Clang (
8881af30b4211dbbe141d6e0ee2251d45c538dc7)
Target:
gustavoars/sparc64-allmodconfig/sparc64-gcc5
Branch:
gustavoars
Compiler:
sparc64-gcc5
(sparc64-linux-gcc.br_real (Buildroot 2016.11-git-00613-ge98b4dd) 5.4.0 / GNU ld (GNU Binutils) 2.26.1)
Config:
allmodconfig
(
download
)
Log:
Download original
Possible errors
include/linux/minmax.h:20:28: error: comparison of distinct pointer types lacks a cast [-Werror] cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:277: drivers/gpu/drm/ttm/ttm_pool.o] Error 1 make[4]: *** [scripts/Makefile.build:540: drivers/gpu/drm/ttm] Error 2 make[3]: *** [scripts/Makefile.build:540: drivers/gpu/drm] Error 2 make[2]: *** [scripts/Makefile.build:540: drivers/gpu] Error 2 make[1]: *** [Makefile:1882: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2
Possible warnings (1)
<stdin>:1515:2: warning: #warning syscall clone3 not implemented [-Wcpp]
Full Log
# git rev-parse -q --verify 8881af30b4211dbbe141d6e0ee2251d45c538dc7^{commit} 8881af30b4211dbbe141d6e0ee2251d45c538dc7 already have revision, skipping fetch # git checkout -q -f -B kisskb 8881af30b4211dbbe141d6e0ee2251d45c538dc7 # git clean -qxdf # < git log -1 # commit 8881af30b4211dbbe141d6e0ee2251d45c538dc7 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Mon Sep 13 16:45:28 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. # # 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 # # Link: https://github.com/KSPP/linux/issues/115 # Link: https://github.com/ClangBuiltLinux/linux/issues/236 # [The conditional "ifneq" 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 8881af30b4211dbbe141d6e0ee2251d45c538dc7 # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_HAVE_FTRACE_MCOUNT_RECORD=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- help # make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- olddefconfig # make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- <stdin>:1515:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/include/linux/kernel.h:16:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/gpu/drm/ttm/ttm_pool.c:34: /kisskb/src/drivers/gpu/drm/ttm/ttm_pool.c: In function 'ttm_pool_alloc': /kisskb/src/include/linux/minmax.h:20:28: error: comparison of distinct pointer types lacks a cast [-Werror] (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ /kisskb/src/include/linux/minmax.h:26:4: note: in expansion of macro '__typecheck' (__typecheck(x, y) && __no_side_effects(x, y)) ^ /kisskb/src/include/linux/minmax.h:36:24: note: in expansion of macro '__safe_cmp' __builtin_choose_expr(__safe_cmp(x, y), \ ^ /kisskb/src/include/linux/minmax.h:45:19: note: in expansion of macro '__careful_cmp' #define min(x, y) __careful_cmp(x, y, <) ^ /kisskb/src/drivers/gpu/drm/ttm/ttm_pool.c:386:15: note: in expansion of macro 'min' for (order = min(MAX_ORDER - 1UL, __fls(num_pages)); num_pages; ^ cc1: all warnings being treated as errors make[5]: *** [/kisskb/src/scripts/Makefile.build:277: drivers/gpu/drm/ttm/ttm_pool.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm/ttm] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu/drm] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:540: drivers/gpu] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1882: drivers] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 120 ARCH=sparc64 O=/kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_sparc64-allmodconfig_sparc64 # Build took: 0:08:09.087977
© Michael Ellerman 2006-2018.