Buildresult: gustavoars/ia64-defconfig/ia64-gcc4.9 built on Aug 25 2020, 15:48
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Aug 25 2020, 15:48
Duration:
0:03:28.995470
Builder:
ka2
Revision:
lib: Revert use of fallthrough pseudo-keyword (
308f765116e9176bf508c10b72ca80ad594e3119)
Target:
gustavoars/ia64-defconfig/ia64-gcc4.9
Branch:
gustavoars
Compiler:
ia64-gcc4.9
(ia64-linux-gcc (GCC) 4.9.4 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (3)
<stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value]
Full Log
# git rev-parse -q --verify 308f765116e9176bf508c10b72ca80ad594e3119^{commit} 308f765116e9176bf508c10b72ca80ad594e3119 already have revision, skipping fetch # git checkout -q -f -B kisskb 308f765116e9176bf508c10b72ca80ad594e3119 # git clean -qxdf # < git log -1 # commit 308f765116e9176bf508c10b72ca80ad594e3119 # Author: Gustavo A. R. Silva <gustavoars@kernel.org> # Date: Mon Aug 24 15:20:04 2020 -0500 # # lib: Revert use of fallthrough pseudo-keyword # # The following build error was reported by Nathan Chancellor: # # "$ scripts/config --file arch/powerpc/configs/powernv_defconfig -e KERNEL_XZ # # $ make -skj"$(nproc)" ARCH=powerpc CROSS_COMPILE=powerpc64le-linux- distclean powernv_defconfig zImage # ... # In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:234, # from arch/powerpc/boot/decompress.c:38: # arch/powerpc/boot/../../../lib/xz/xz_dec_stream.c: In function 'dec_main': # arch/powerpc/boot/../../../lib/xz/xz_dec_stream.c:586:4: error: 'fallthrough' undeclared (first use in this function) # 586 | fallthrough; # | ^~~~~~~~~~~ # arch/powerpc/boot/../../../lib/xz/xz_dec_stream.c:586:4: note: each undeclared identifier is reported only once for each function it appears in # In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:235, # from arch/powerpc/boot/decompress.c:38: # arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c: In function 'xz_dec_lzma2_run': # arch/powerpc/boot/../../../lib/xz/xz_dec_lzma2.c:1046:4: error: 'fallthrough' undeclared (first use in this function) # 1046 | fallthrough; # | ^~~~~~~~~~~ # make[2]: *** [arch/powerpc/boot/Makefile:215: arch/powerpc/boot/decompress.o] Error 1 # make[2]: Target 'arch/powerpc/boot/zImage' not remade because of errors. # make[1]: *** [arch/powerpc/Makefile:295: zImage] Error 2 # make: *** [Makefile:335: __build_one_by_one] Error 2 # make: Target 'distclean' not remade because of errors. # make: Target 'powernv_defconfig' not remade because of errors. # make: Target 'zImage' not remade because of errors. # # This will end up affecting distribution configurations such as Debian # and OpenSUSE according to my testing. I am not sure what the solution # is, the PowerPC wrapper does not set -D__KERNEL__ so I am not sure that # compiler_attributes.h can be safely included." # # In order to avoid these sort of problems, it seems that the best # solution is to use /* fall through */ comments instead of the # fallthrough pseudo-keyword macro in lib/, for now. # # Reported-by: Nathan Chancellor <natechancellor@gmail.com> # Fixes: df561f6688fe ("treewide: Use fallthrough pseudo-keyword") # Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux-ld --version # < git log --format=%s --max-count=1 308f765116e9176bf508c10b72ca80ad594e3119 # < make -s -j 8 ARCH=ia64 O=/kisskb/build/gustavoars_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- defconfig # < make -s -j 8 ARCH=ia64 O=/kisskb/build/gustavoars_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- help # make -s -j 8 ARCH=ia64 O=/kisskb/build/gustavoars_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- olddefconfig # make -s -j 8 ARCH=ia64 O=/kisskb/build/gustavoars_ia64-defconfig_ia64-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/ia64-linux/bin/ia64-linux- <stdin>:1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/ia64/include/uapi/asm/intrinsics.h:22:0, from /kisskb/src/arch/ia64/include/asm/intrinsics.h:11, from /kisskb/src/arch/ia64/include/asm/timex.h:14, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, from /kisskb/src/fs/nfs/read.c:11: /kisskb/src/fs/nfs/read.c: In function 'nfs_read_completion': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:196:5: note: in expansion of macro 'xchg' xchg(&nfs_req_openctx(req)->error, error); ^ /kisskb/src/fs/nfs/read.c: In function 'nfs_readpage': /kisskb/src/arch/ia64/include/uapi/asm/cmpxchg.h:57:2: warning: value computed is not used [-Wunused-value] ((__typeof__(*(ptr))) __xchg((unsigned long) (x), (ptr), sizeof(*(ptr)))) ^ /kisskb/src/fs/nfs/read.c:355:2: note: in expansion of macro 'xchg' xchg(&ctx->error, 0); ^ No errors detected in 22424 functions. Completed OK # rm -rf /kisskb/build/gustavoars_ia64-defconfig_ia64-gcc4.9 # Build took: 0:03:28.995470
© Michael Ellerman 2006-2018.