# git rev-parse -q --verify 3a9d970f17e05a7b26f782beb8f7f2118d1741ea^{commit} 3a9d970f17e05a7b26f782beb8f7f2118d1741ea already have revision, skipping fetch # git checkout -q -f -B kisskb 3a9d970f17e05a7b26f782beb8f7f2118d1741ea # git clean -qxdf # < git log -1 # commit 3a9d970f17e05a7b26f782beb8f7f2118d1741ea # Author: Sebastian Andrzej Siewior # Date: Thu Dec 19 16:16:02 2019 +0100 # # powerpc/85xx: Get twr_p102x to compile again # # With CONFIG_QUICC_ENGINE enabled and CONFIG_UCC_GETH + CONFIG_SERIAL_QE # disabled we have an unused variable (np). The code won't compile with # -Werror. # # Move the np variable to the block where it is actually used. # # Signed-off-by: Sebastian Andrzej Siewior # Acked-by: Scott Wood # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20191219151602.1908411-1-bigeasy@linutronix.de # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 3a9d970f17e05a7b26f782beb8f7f2118d1741ea # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: vmlinux.o(.text+0x31e4): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x33c8): 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. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. WARNING: 2 bad relocations c000000001687270 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_start c000000001687278 R_PPC64_ADDR64 _binary__btf_vmlinux_bin_end Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64le_defconfig_powerpc-gcc8 # Build took: 0:03:27.839395