# git rev-parse -q --verify e3261611feee896a7c8f95b72017867d2e5b55a7^{commit} e3261611feee896a7c8f95b72017867d2e5b55a7 already have revision, skipping fetch # git checkout -q -f -B kisskb e3261611feee896a7c8f95b72017867d2e5b55a7 # git clean -qxdf # < git log -1 # commit e3261611feee896a7c8f95b72017867d2e5b55a7 # Author: Michael Ellerman # Date: Fri Oct 26 20:29:35 2018 +1100 # # selftests/powerpc/cache_shape: Fix out-of-tree build # # Use TEST_GEN_PROGS and don't redefine all, this makes the out-of-tree # build work. We need to move the extra dependencies below the include # of lib.mk, because it adds the $(OUTPUT) prefix if it's defined. # # We can also drop the clean rule, lib.mk does it for us. # # 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 e3261611feee896a7c8f95b72017867d2e5b55a7 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_MPIC=y # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_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/kvm/powerpc.c:51:0: /kisskb/src/arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined [-Werror] #define TRACE_INCLUDE_PATH . ^ In file included from /kisskb/src/arch/powerpc/kvm/../mm/mmu_decl.h:25:0, from /kisskb/src/arch/powerpc/kvm/powerpc.c:48: /kisskb/src/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 make[3]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/kvm/powerpc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:546: arch/powerpc/kvm] 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:146: sub-make] Error 2 Command 'make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_corenet64_smp_defconfig+KVM_powerpc-gcc5 # Build took: 0:01:17.735643