Buildresult: powerpc-next/ppc6xx_defconfig/powerpc-gcc8 built on Jan 31 2019, 22:31
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
Jan 31 2019, 22:31
Duration:
0:02:21.633248
Builder:
ka3
Revision:
powerpc/livepatch: return -ERRNO values in save_stack_trace_tsk_reliable() (
3de27dcf8121c2a710ab93dce23e0f5901c29783)
Target:
powerpc-next/ppc6xx_defconfig/powerpc-gcc8
Branch:
powerpc-next
Compiler:
powerpc-gcc8
(powerpc64-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
ppc6xx_defconfig
(
download
)
Log:
Download original
Possible errors
include/linux/regset.h:295:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' [-Werror=array-bounds] include/linux/regset.h:270:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' [-Werror=array-bounds] cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:276: arch/powerpc/kernel/ptrace.o] Error 1 make[2]: *** [scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 make[1]: *** [Makefile:1042: arch/powerpc] Error 2 make: *** [Makefile:152: sub-make] Error 2
No warnings found in log.
Full Log
# git rev-parse -q --verify 3de27dcf8121c2a710ab93dce23e0f5901c29783^{commit} 3de27dcf8121c2a710ab93dce23e0f5901c29783 already have revision, skipping fetch # git checkout -q -f -B kisskb 3de27dcf8121c2a710ab93dce23e0f5901c29783 # git clean -qxdf # < git log -1 # commit 3de27dcf8121c2a710ab93dce23e0f5901c29783 # Author: Joe Lawrence <joe.lawrence@redhat.com> # Date: Tue Jan 22 10:57:24 2019 -0500 # # powerpc/livepatch: return -ERRNO values in save_stack_trace_tsk_reliable() # # To match its x86 counterpart, save_stack_trace_tsk_reliable() should # return -EINVAL in cases that it is currently returning 1. No caller is # currently differentiating non-zero error codes, but let's keep the # arch-specific implementations consistent. # # Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3de27dcf8121c2a710ab93dce23e0f5901c29783 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/kernel/ptrace.c:24: In function 'user_regset_copyin', inlined from 'vr_set' at /kisskb/src/arch/powerpc/kernel/ptrace.c:619:9: /kisskb/src/include/linux/regset.h:295:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' [-Werror=array-bounds] memcpy(data, *kbuf, copy); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/ptrace.c: In function 'vr_set': /kisskb/src/arch/powerpc/kernel/ptrace.c:614:5: note: 'vrsave' declared here } vrsave; ^~~~~~ In file included from /kisskb/src/arch/powerpc/kernel/ptrace.c:24: In function 'user_regset_copyout', inlined from 'vr_get' at /kisskb/src/arch/powerpc/kernel/ptrace.c:572:9: /kisskb/src/include/linux/regset.h:270:4: error: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union <anonymous>' [-Werror=array-bounds] memcpy(*kbuf, data, copy); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kernel/ptrace.c: In function 'vr_get': /kisskb/src/arch/powerpc/kernel/ptrace.c:567:5: note: 'vrsave' declared here } vrsave; ^~~~~~ cc1: all warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:276: arch/powerpc/kernel/ptrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:492: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1042: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc8 # Build took: 0:02:21.633248
© Michael Ellerman 2006-2018.