# git rev-parse -q --verify edd4d23d290772d75891f7cf35eb6bb66f2e4fe5^{commit} edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 already have revision, skipping fetch # git checkout -q -f -B kisskb edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # git clean -qxdf # < git log -1 # commit edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # Author: Luc Van Oostenryck # Date: Sat Nov 9 13:12:16 2019 +0100 # # kbuild: tell sparse about the $ARCH # # Sparse uses the same executable for all archs and uses flags # like -m64, -mbig-endian or -D__arm__ for arch-specific parameters. # But Sparse also uses value from the host machine used to build # Sparse as default value for the target machine. # # This works, of course, well for native build but can create # problems when cross-compiling, like defining both '__i386__' # and '__arm__' when cross-compiling for arm on a x86-64 machine. # # Fix this by explicitely telling sparse the target architecture. # # Reported-by: Ben Dooks # Signed-off-by: Luc Van Oostenryck # 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 edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # < 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- WARNING: vmlinux.o(.text+0x2fc8): 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+NO_PERF_ppc64le-gcc5 # Build took: 0:03:32.176233