# git rev-parse -q --verify 3439595d5b85f0af565f5a58e495d885537fb227^{commit} 3439595d5b85f0af565f5a58e495d885537fb227 already have revision, skipping fetch # git checkout -q -f -B kisskb 3439595d5b85f0af565f5a58e495d885537fb227 # git clean -qxdf # < git log -1 # commit 3439595d5b85f0af565f5a58e495d885537fb227 # Author: Desnes A. Nunes do Rosario # Date: Thu Oct 3 18:10:10 2019 -0300 # # selftests/powerpc: Fix compile error on tlbie_test due to newer gcc # # Newer versions of GCC (>= 9) demand that the size of the string to be # copied must be explicitly smaller than the size of the destination. # Thus, the NULL char has to be taken into account on strncpy. # # This will avoid the following compiling error: # # tlbie_test.c: In function 'main': # tlbie_test.c:639:4: error: 'strncpy' specified bound 100 equals destination size # strncpy(logdir, optarg, LOGDIR_NAME_SIZE); # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # cc1: all warnings being treated as errors # # Signed-off-by: Desnes A. Nunes do Rosario # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191003211010.9711-1-desnesn@linux.ibm.com # < /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 3439595d5b85f0af565f5a58e495d885537fb227 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_NUMA=n # yes \n | make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powernv_defconfig+NO_NUMA_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: 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/powerpc-fixes_powernv_defconfig+NO_NUMA_ppc64le-gcc5 # Build took: 0:03:22.164573