# 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_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_smp_defconfig # < make -s -j 8 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_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_mpc85xx_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_mpc85xx_smp_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:10:0, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xde9748) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:01 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817630 Bytes = 6657.84 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:01 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6785089 Bytes = 6626.06 KiB = 6.47 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:01 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817609 Bytes = 6657.82 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:02 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817353 Bytes = 6657.57 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:02 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6818475 Bytes = 6658.67 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:02 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6818073 Bytes = 6658.27 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:02 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817612 Bytes = 6657.82 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:02 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817643 Bytes = 6657.85 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xdf9e74) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817794 Bytes = 6658.00 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817365 Bytes = 6657.58 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817332 Bytes = 6657.55 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:05 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817840 Bytes = 6658.05 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817429 Bytes = 6657.65 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817769 Bytes = 6657.98 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817750 Bytes = 6657.96 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-81824-g49362029 Created: Wed Feb 3 18:39:06 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6817367 Bytes = 6657.58 KiB = 6.50 MiB Load Address: 00e00000 Entry Point: 00e00314 Completed OK # rm -rf /kisskb/build/kbuild_mpc85xx_smp_defconfig_powerpc-gcc4.9 # Build took: 0:03:21.672170