# git rev-parse -q --verify f566e1fbadb686e28f1c307e356114b2865ef588^{commit} f566e1fbadb686e28f1c307e356114b2865ef588 already have revision, skipping fetch # git checkout -q -f -B kisskb f566e1fbadb686e28f1c307e356114b2865ef588 # git clean -qxdf # < git log -1 # commit f566e1fbadb686e28f1c307e356114b2865ef588 # Author: Masahiro Yamada # Date: Wed Feb 5 15:51:52 2020 +0900 # # kbuild: make multiple directory targets work # # Currently, the single-target build does not work when two # or more sub-directories are given: # # $ make fs/ kernel/ lib/ # CALL scripts/checksyscalls.sh # CALL scripts/atomic/check-atomics.sh # DESCEND objtool # make[2]: Nothing to be done for 'kernel/'. # make[2]: Nothing to be done for 'fs/'. # make[2]: Nothing to be done for 'lib/'. # # Make it work properly. # # Reported-by: Linus Torvalds # 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 f566e1fbadb686e28f1c307e356114b2865ef588 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_ppc64le_defconfig_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x31e4): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33c8): 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. WARNING: 2 bad relocations c000000001666078 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_start c000000001666080 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_end Completed OK # rm -rf /kisskb/build/kbuild_ppc64le_defconfig_ppc64le-gcc5 # Build took: 0:03:36.813495