# git rev-parse -q --verify 49362029a00b1c8af81d635333806e3d0dc8fdc1^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next # git rev-parse -q --verify 49362029a00b1c8af81d635333806e3d0dc8fdc1^{commit} 49362029a00b1c8af81d635333806e3d0dc8fdc1 # git checkout -q -f -B kisskb 49362029a00b1c8af81d635333806e3d0dc8fdc1 # git clean -qxdf # < git log -1 # commit 49362029a00b1c8af81d635333806e3d0dc8fdc1 # Author: Masahiro Yamada # Date: Sun Dec 13 01:54:30 2020 +0900 # # kbuild: LD_VERSION redenomination # # Commit ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion # macros") introduced scripts/ld-version.sh for GCC LTO. # # At that time, this script handled 5 version fields because GCC LTO # needed the downstream binutils. (https://lkml.org/lkml/2014/4/8/272) # # The code snippet from the submitted patch was as follows: # # # We need HJ Lu's Linux binutils because mainline binutils does not # # support mixing assembler and LTO code in the same ld -r object. # # XXX check if the gcc plugin ld is the expected one too # # XXX some Fedora binutils should also support it. How to check for that? # ifeq ($(call ld-ifversion,-ge,22710001,y),y) # ... # # However, GCC LTO was not merged into the mainline after all. # (https://lkml.org/lkml/2014/4/8/272) # # So, the 4th and 5th fields were never used, and finally removed by # commit 0d61ed17dd30 ("ld-version: Drop the 4th and 5th version # components"). # # Since then, the last 4-digits returned by this script is always zeros. # # Remove the meaningless last 4-digits. This makes the version format # consistent with GCC_VERSION, CLANG_VERSION, LLD_VERSION. # # Signed-off-by: Masahiro Yamada # Acked-by: Will Deacon # Acked-by: Thomas Bogendoerfer # < /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 49362029a00b1c8af81d635333806e3d0dc8fdc1 # < 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:4145: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- INFO: Uncompressed kernel (size 0xad7a84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Completed OK # rm -rf /kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:02:09.917282