# git rev-parse -q --verify 48fcb0885649fe675ae6fbf320c17cb26132192c^{commit} 48fcb0885649fe675ae6fbf320c17cb26132192c already have revision, skipping fetch # git checkout -q -f -B kisskb 48fcb0885649fe675ae6fbf320c17cb26132192c # git clean -qxdf # < git log -1 # commit 48fcb0885649fe675ae6fbf320c17cb26132192c # Author: Scott Wood # Date: Tue Nov 6 19:49:34 2018 -0600 # # KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE # # TRACE_INCLUDE_PATH and TRACE_INCLUDE_FILE are used by # , so like that #include, they should # be outside #ifdef protection. # # They also need to be #undefed before defining, in case multiple trace # headers are included by the same C file. This became the case on # book3e after commit cf4a6085151a ("powerpc/mm: Add missing tracepoint for # tlbie"), leading to the following build error: # # CC arch/powerpc/kvm/powerpc.o # In file included from arch/powerpc/kvm/powerpc.c:51:0: # arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined # [-Werror] # #define TRACE_INCLUDE_PATH . # ^ # In file included from arch/powerpc/kvm/../mm/mmu_decl.h:25:0, # from arch/powerpc/kvm/powerpc.c:48: # ./arch/powerpc/include/asm/trace.h:224:0: note: this is the location of # the previous definition # #define TRACE_INCLUDE_PATH asm # ^ # cc1: all warnings being treated as errors # # Reported-by: Christian Zigotzky # Signed-off-by: Scott Wood # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 48fcb0885649fe675ae6fbf320c17cb26132192c # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xC6A71EB3 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:67:0: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:20:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:26:9: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("%.8x", insn); ^ /kisskb/src/arch/powerpc/mm/slice.c: In function 'slice_get_unmapped_area': /kisskb/src/arch/powerpc/mm/slice.c:687:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ In file included from /kisskb/src/include/linux/wait.h:9:0, from /kisskb/src/include/linux/wait_bit.h:8, from /kisskb/src/include/linux/fs.h:6, from /kisskb/src/include/linux/seq_file.h:11, from /kisskb/src/kernel/sched/psi.c:128: /kisskb/src/kernel/sched/psi.c: In function 'cgroup_move_task': /kisskb/src/include/linux/spinlock.h:273:32: warning: 'rq' may be used uninitialized in this function [-Wmaybe-uninitialized] #define raw_spin_unlock(lock) _raw_spin_unlock(lock) ^ /kisskb/src/kernel/sched/psi.c:639:13: note: 'rq' was declared here struct rq *rq; ^ /kisskb/src/net/core/rtnetlink.c: In function 'rtnl_newlink': /kisskb/src/net/core/rtnetlink.c:3224:1: warning: the frame size of 1248 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./usr/include/linux/v4l2-controls.h:1105: found __[us]{8,16,32,64} type without #include Completed OK # rm -rf /kisskb/build/powerpc-fixes_powerpc-randconfig_powerpc-gcc5 # Build took: 0:01:02.680545