# git rev-parse -q --verify f9d7adc7b0d6617fe778552d1f2a893ed39b961a^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify f9d7adc7b0d6617fe778552d1f2a893ed39b961a^{commit} f9d7adc7b0d6617fe778552d1f2a893ed39b961a # git checkout -q -f -B kisskb f9d7adc7b0d6617fe778552d1f2a893ed39b961a # git clean -qxdf # < git log -1 # commit f9d7adc7b0d6617fe778552d1f2a893ed39b961a # 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. # # Instead, in-kernel Makefiles should explicitly add $(srctree)/ to # the search paths in the srctree. # # 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. # # Going forward, in-kernel Makefiles should explicitly specify # $(srctree)/ if extra search paths are needed. # # Example) ccflags-y += -I $(srctree)/foo/bar # # You do not have to change external module Makefiles because $(src) # is already an absolute path for external modules. # # Example) ccflags-y += -I $(src)/foo/bar # # [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 f9d7adc7b0d6617fe778552d1f2a893ed39b961a # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_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. Completed OK # rm -rf /kisskb/build/kbuild_powernv_defconfig_ppc64le-gcc5 # Build took: 0:03:32.081875