# git rev-parse -q --verify 3b9efa81f2b3245e14559079cef172d5f83c5d42^{commit} 3b9efa81f2b3245e14559079cef172d5f83c5d42 already have revision, skipping fetch # git checkout -q -f -B kisskb 3b9efa81f2b3245e14559079cef172d5f83c5d42 # git clean -qxdf # < git log -1 # commit 3b9efa81f2b3245e14559079cef172d5f83c5d42 # Author: Masahiro Yamada # Date: Mon May 13 23:16:04 2019 +0900 # # powerpc/boot: pass CONFIG options in a simpler and more robust way # # Commit 5e9dcb6188a4 ("powerpc/boot: Expose Kconfig symbols to wrapper") # was wrong, but commit e41b93a6be57 ("powerpc/boot: Fix build failures # with -j 1") was also wrong. # # The correct dependency is: # # $(obj)/serial.o: $(obj)/autoconf.h # # However, I do not see the reason why we need to copy autoconf.h to # arch/power/boot/. Nor do I see consistency in the way of passing # CONFIG options. # # decompress.c references CONFIG_KERNEL_GZIP and CONFIG_KERNEL_XZ, which # are passed via the command line. # # serial.c includes autoconf.h to reference a couple of CONFIG options, # but this is fragile because we often forget to include "autoconf.h" # from source files. # # In fact, it is already broken. # # ppc_asm.h references CONFIG_PPC_8xx, but utils.S is not given any way # to access CONFIG options. So, CONFIG_PPC_8xx is never defined here. # # Pass $(LINUXINCLUDE) to make sure CONFIG options are accessible from # all .c and .S files in arch/powerpc/boot/. # # Signed-off-by: Masahiro Yamada # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3b9efa81f2b3245e14559079cef172d5f83c5d42 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: 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 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x545280) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x555998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2719498 Bytes = 2655.76 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750620 Bytes = 2686.15 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750327 Bytes = 2685.87 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750512 Bytes = 2686.05 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601544 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750643 Bytes = 2686.17 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601514 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750629 Bytes = 2686.16 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 0060152c Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750603 Bytes = 2686.14 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750608 Bytes = 2686.14 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601524 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750404 Bytes = 2685.94 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:48:01 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2750530 Bytes = 2686.06 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601534 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:50.399388