# 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 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/kbuild_mpc85xx_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 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd4fa40) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd3f314) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6477533 Bytes = 6325.72 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475368 Bytes = 6323.60 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475501 Bytes = 6323.73 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:30 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475397 Bytes = 6323.63 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475401 Bytes = 6323.63 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6478193 Bytes = 6326.36 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6477711 Bytes = 6325.89 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6444230 Bytes = 6293.19 KiB = 6.15 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6477472 Bytes = 6325.66 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475480 Bytes = 6323.71 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475478 Bytes = 6323.71 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475399 Bytes = 6323.63 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475367 Bytes = 6323.60 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:31 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475497 Bytes = 6323.73 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:32 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475401 Bytes = 6323.63 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Image Name: Linux-5.11.0-rc4-g49362029a00b Created: Wed Feb 3 18:37:32 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6475383 Bytes = 6323.62 KiB = 6.18 MiB Load Address: 00e00000 Entry Point: 00e002a4 Completed OK # rm -rf /kisskb/build/kbuild_mpc85xx_defconfig_powerpc-gcc4.9 # Build took: 0:02:36.921472