# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 3b9efa81f2b3245e14559079cef172d5f83c5d42 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:331:21: note: 'pdeo' was declared here /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1465:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2589:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1850:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /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) /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) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc733cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc62bcc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041238 Bytes = 5899.65 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040424 Bytes = 5898.85 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6042101 Bytes = 5900.49 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041271 Bytes = 5899.68 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040914 Bytes = 5899.33 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041325 Bytes = 5899.73 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041788 Bytes = 5900.18 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041306 Bytes = 5899.71 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041441 Bytes = 5899.84 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040843 Bytes = 5899.26 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041271 Bytes = 5899.68 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040892 Bytes = 5899.31 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040891 Bytes = 5899.31 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6041973 Bytes = 5900.36 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6009828 Bytes = 5868.97 KiB = 5.73 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g3b9efa81f2b3 Created: Thu Jul 4 01:19:29 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6040754 Bytes = 5899.17 KiB = 5.76 MiB Load Address: 00d00000 Entry Point: 00d002e8 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_smp_defconfig_powerpc-gcc4.6 # Build took: 0:01:07.080092