# git rev-parse -q --verify 7aec8604693cb387400565e7ef7c8ff8a6bfb791^{commit} 7aec8604693cb387400565e7ef7c8ff8a6bfb791 already have revision, skipping fetch # git checkout -q -f -B kisskb 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # git clean -qxdf # < git log -1 # commit 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # Author: Mathieu Malaterre # Date: Wed Dec 5 18:53:55 2018 +0100 # # powerpc/32: Move the old 6xx -mcpu logic before the TARGET_CPU logic # # The code: # # ifdef CONFIG_6xx # KBUILD_CFLAGS += -mcpu=powerpc # endif # # was added in 2006 in commit f48b8296b315 ("[PATCH] powerpc32: Set cpu # explicitly in kernel compiles"). This change was acceptable since the # TARGET_CPU logic was 64-bit only. # # Since commit 0e00a8c9fd92 ("powerpc: Allow CPU selection # also on PPC32") this logic is no longer acceptable after the TARGET_CPU # specific. It currently appends -mcpu=powerpc at the end of the command # line, after any TARGET_CPU specific: # # gcc -Wp,-MD,init/.do_mounts.o.d ... # -mcpu=powerpc -mbig-endian -m32 ... # -mcpu=e300c2 ... # -mcpu=powerpc ... # ../init/do_mounts.c # # Fixes: 0e00a8c9fd92 ("powerpc: Allow CPU selection also on PPC32") # Signed-off-by: Mathieu Malaterre # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 7aec8604693cb387400565e7ef7c8ff8a6bfb791 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5bf778) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cfe90) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2911777 Bytes = 2843.53 KiB = 2.78 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952716 Bytes = 2883.51 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015b8 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952847 Bytes = 2883.64 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015b8 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2953033 Bytes = 2883.82 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006000d0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2953060 Bytes = 2883.85 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 00601598 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952826 Bytes = 2883.62 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015c8 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952908 Bytes = 2883.70 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015b0 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2953046 Bytes = 2883.83 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015b8 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952796 Bytes = 2883.59 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006015a8 Image Name: Linux-4.20.0-rc2-g7aec8604693c Created: Sat Dec 8 06:47:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2952749 Bytes = 2883.54 KiB = 2.82 MiB Load Address: 00600000 Entry Point: 006001c4 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 # Build took: 0:00:33.645433