# git rev-parse -q --verify 59d13b63db9d485be1efe89aea9ac114f5b227e2^{commit} 59d13b63db9d485be1efe89aea9ac114f5b227e2 already have revision, skipping fetch # git checkout -q -f -B kisskb 59d13b63db9d485be1efe89aea9ac114f5b227e2 # git clean -qxdf # < git log -1 # commit 59d13b63db9d485be1efe89aea9ac114f5b227e2 # Author: Masahiro Yamada # Date: Mon May 13 15:22:17 2019 +0900 # # kbuild: remove 'addtree' and 'flags' magic for header search paths # # The 'addtree' and 'flags' in scripts/Kbuild.include are so compilecated # and ugly. # # As I mentioned in [1], Kbuild should stop automatic prefixing of header # search path options. # # I fixed up (almost) all Makefiles in the kernel. Now 'addtree' and # 'flags' have been removed. # # Kbuild still caters to add $(srctree)/$(src) and $(objtree)/$(obj) # to the header search path for O= building, but never touches extra # compiler options from ccflags-y etc. # # [1]: https://patchwork.kernel.org/patch/9632347/ # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 59d13b63db9d485be1efe89aea9ac114f5b227e2 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_PERF_EVENTS=n # yes \n | make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_ppc64le-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 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1388:2: warning: #warning syscall open_tree not implemented [-Wcpp] :1391:2: warning: #warning syscall move_mount not implemented [-Wcpp] :1394:2: warning: #warning syscall fsopen not implemented [-Wcpp] :1397:2: warning: #warning syscall fsconfig not implemented [-Wcpp] :1400:2: warning: #warning syscall fsmount not implemented [-Wcpp] :1403:2: warning: #warning syscall fspick not implemented [-Wcpp] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ WARNING: vmlinux.o(.text+0x3128): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:early_setup() The function start_here_multiplatform() references the function __init early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of early_setup is wrong. WARNING: vmlinux.o(.text+0x3164): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. arch/powerpc/kvm/book3s_hv_rmhandlers.o: In function `kvmppc_got_guest': arch/powerpc/kvm/book3s_hv_rmhandlers.o:(.text+0x708): undefined reference to `dawr_force_enable' arch/powerpc/kvm/book3s_hv_rmhandlers.o: In function `kvmppc_h_set_dabr': (.text+0x18cc): undefined reference to `dawr_force_enable' make[1]: *** [/kisskb/src/Makefile:1052: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_ppc64le-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/kbuild_powernv_defconfig+NO_PERF_ppc64le-gcc5 # Build took: 0:03:17.177923