# 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/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-gcc --version # < /opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux-ld --version # < git log --format=%s --max-count=1 edd4d23d290772d75891f7cf35eb6bb66f2e4fe5 # < make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- defconfig # make -s -j 32 ARCH=sparc64 O=/kisskb/build/kbuild_sparc64-defconfig_sparc64 CROSS_COMPILE=/opt/cross/kisskb/br-sparc64-full-2016.08-613-ge98b4dd/bin/sparc64-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. kernel: arch/sparc/boot/image is ready kernel: arch/sparc/boot/zImage is ready Completed OK # rm -rf /kisskb/build/kbuild_sparc64-defconfig_sparc64 # Build took: 0:01:24.882973