# 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_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/iss476-smp_defconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # < make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-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_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] WARNING: unmet direct dependencies detected for HOTPLUG_CPU Depends on [n]: SMP [=y] && (PPC_PSERIES [=n] || PPC_PMAC [=n] || PPC_POWERNV [=n] || FSL_SOC_BOOKE [=n]) Selected by [y]: - PM_SLEEP_SMP [=y] && SMP [=y] && (ARCH_SUSPEND_POSSIBLE [=y] || ARCH_HIBERNATION_POSSIBLE [=y]) && PM_SLEEP [=y] # make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1520:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x6da66c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6da66c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Completed OK # rm -rf /kisskb/build/kbuild_44x_iss476-smp_defconfig_powerpc-gcc4.9 # Build took: 0:01:19.812128