# git rev-parse -q --verify e9341150f0f181365a55cc7c6b61393486ae563d^{commit} e9341150f0f181365a55cc7c6b61393486ae563d already have revision, skipping fetch # git checkout -q -f -B kisskb e9341150f0f181365a55cc7c6b61393486ae563d # git clean -qxdf # < git log -1 # commit e9341150f0f181365a55cc7c6b61393486ae563d # Author: Masahiro Yamada # Date: Sat Apr 4 06:24:59 2020 +0900 # # kbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h # # scripts/mkcompile_h uses $(CC) only for getting the version string. # # I suspected there was a specific reason why the additional flags were # needed, and dug the commit history. This code dates back to at least # 2002 [1], but I could not get any more clue. # # Just get rid of it. # # [1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=29f3df7eba8ddf91a55183f9967f76fbcc3ab742 # # Signed-off-by: Masahiro Yamada # < /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 e9341150f0f181365a55cc7c6b61393486ae563d # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4074:warning: override: reassigning to symbol SMP # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_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:12:0, from /kisskb/src/sound/ppc/awacs.c:16: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:218: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:873:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ ERROR: modpost: "sysrq_mask" [drivers/tty/serial/serial_core.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:94: __modpost] Error 1 make[1]: *** [/kisskb/src/Makefile:1302: modules] Error 2 make[1]: *** Waiting for unfinished jobs.... INFO: Uncompressed kernel (size 0x955274) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:01:53.932648