# 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 48 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_PERF_EVENTS=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: modpost: vmlinux.o(.text+0x2fc8): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/kbuild_powernv_defconfig+NO_PERF_powerpc-gcc5 # Build took: 0:03:07.788038