# 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_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:223:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xb018dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xaf11c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xaf11c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5288000 Bytes = 5164.06 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287147 Bytes = 5163.23 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287498 Bytes = 5163.57 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00894 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287142 Bytes = 5163.22 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287717 Bytes = 5163.79 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5288077 Bytes = 5164.14 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5257214 Bytes = 5134.00 KiB = 5.01 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287656 Bytes = 5163.73 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00894 Image Name: Linux-5.2.0-rc2+ Created: Thu Jul 4 01:51:56 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5287895 Bytes = 5163.96 KiB = 5.04 MiB Load Address: 00c00000 Entry Point: 00c00294 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:03:17.965766