# git rev-parse -q --verify 89abbf6426992cb4e73bcaf4af0b756d454264a6^{commit} 89abbf6426992cb4e73bcaf4af0b756d454264a6 already have revision, skipping fetch # git checkout -q -f -B kisskb 89abbf6426992cb4e73bcaf4af0b756d454264a6 # git clean -qxdf # < git log -1 # commit 89abbf6426992cb4e73bcaf4af0b756d454264a6 # Author: Ariel Marcovitch # Date: Sun Aug 22 22:22:03 2021 +0300 # # checkkconfigsymbols.py: Forbid passing 'HEAD' to --commit # # As opposed to the --diff option, --commit can get ref names instead of # commit hashes. # # When using the --commit option, the script resets the working directory # to the commit before the given ref, by adding '~' to the end of the ref. # # However, the 'HEAD' ref is relative, and so when the working directory # is reset to 'HEAD~', 'HEAD' points to what was 'HEAD~'. Then when the # script resets to 'HEAD' it actually stays in the same commit. In this # case, the script won't report any cases because there is no diff between # the cases of the two refs. # # Prevent the user from using HEAD refs. # # A better solution might be to resolve the refs before doing the # reset, but for now just disallow such refs. # # Signed-off-by: Ariel Marcovitch # 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 89abbf6426992cb4e73bcaf4af0b756d454264a6 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4198:warning: override: reassigning to symbol SMP # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/scsi/Makefile:196: FORCE prerequisite is missing Completed OK # rm -rf /kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:02:06.043632