# git rev-parse -q --verify 13fd174be1903cc069bb73b0d53a0420b8f6d778^{commit} 13fd174be1903cc069bb73b0d53a0420b8f6d778 already have revision, skipping fetch # git checkout -q -f -B kisskb 13fd174be1903cc069bb73b0d53a0420b8f6d778 # git clean -qxdf # < git log -1 # commit 13fd174be1903cc069bb73b0d53a0420b8f6d778 # Author: Michael Ellerman # Date: Tue Dec 11 23:26:17 2018 +1100 # # powerpc/configs: Don't enable PPC_EARLY_DEBUG in defconfigs # # This reverts the remains of commit b9ef7d6b11c1 ("powerpc: Update # default configurations"). # # That commit was proceeded by a commit which added a config option to # control use of BOOTX for early debug, ie. PPC_EARLY_DEBUG_BOOTX, and # then the update of the defconfigs was intended to not change behaviour # by then enabling the new config option. # # However enabling PPC_EARLY_DEBUG had other consequences, notably # causing us to register the udbg console at the end of udbg_early_init(). # # This means on a system which doesn't have anything that BOOTX can # use (most systems), we register the udbg console very early but the # bootx code just throws everything away, meaning early boot messages # are never printed to the console. # # What we want to happen is for the udbg console to only be registered # later (from setup_arch()) once we've setup udbg_putc, and then all # early boot messages will be replayed. # # Fixes: b9ef7d6b11c1 ("powerpc: Update default configurations") # Reported-by: Torsten Duwe # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 13fd174be1903cc069bb73b0d53a0420b8f6d778 # < make -s -j 48 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 48 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 ' [-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 ' [-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:293: arch/powerpc/kernel/ptrace.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:518: arch/powerpc/kernel] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:152: sub-make] Error 2 Command 'make -s -j 48 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:16.853593