# 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-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3b9efa81f2b3245e14559079cef172d5f83c5d42 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # yes \n | make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, 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:334.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:334.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 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4b4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd79c80) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377547 Bytes = 6228.07 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6379680 Bytes = 6230.16 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377517 Bytes = 6228.04 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377359 Bytes = 6227.89 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377680 Bytes = 6228.20 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6342350 Bytes = 6193.70 KiB = 6.05 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377363 Bytes = 6227.89 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:51 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6380203 Bytes = 6230.67 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377520 Bytes = 6228.05 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6378973 Bytes = 6229.47 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377848 Bytes = 6228.37 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377361 Bytes = 6227.89 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377259 Bytes = 6227.79 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377687 Bytes = 6228.21 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377993 Bytes = 6228.51 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 03:00:52 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6380192 Bytes = 6230.66 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 # Build took: 0:02:55.011654