# git rev-parse -q --verify 49362029a00b1c8af81d635333806e3d0dc8fdc1^{commit} 49362029a00b1c8af81d635333806e3d0dc8fdc1 already have revision, skipping fetch # 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 49362029a00b1c8af81d635333806e3d0dc8fdc1 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_corenet64_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # < make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_corenet64_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_corenet64_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_corenet64_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x11da904) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1200000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:35:45 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7478568 Bytes = 7303.29 KiB = 7.13 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/kbuild_corenet64_smp_defconfig_powerpc-gcc4.9 # Build took: 0:03:22.546378