# git rev-parse -q --verify 21415de8ace3b2fd8382ed37852ec457b68bafd6^{commit} 21415de8ace3b2fd8382ed37852ec457b68bafd6 already have revision, skipping fetch # git checkout -q -f -B kisskb 21415de8ace3b2fd8382ed37852ec457b68bafd6 # git clean -qxdf # < git log -1 # commit 21415de8ace3b2fd8382ed37852ec457b68bafd6 # Author: Christophe Leroy # Date: Wed Feb 24 06:34:22 2021 +0000 # # powerpc/syscall: Force inlining of __prep_irq_for_enabled_exit() # # As reported by kernel test robot, a randconfig with high amount of # debuging options can lead to build failure for undefined reference # to replay_soft_interrupts() on ppc32. # # This is due to gcc not seeing that __prep_irq_for_enabled_exit() # always returns true on ppc32 because it doesn't inline it for # some reason. # # Force inlining of __prep_irq_for_enabled_exit() to fix the build. # # Fixes: 344bb20b159d ("powerpc/syscall: Make interrupt.c buildable on PPC32") # Reported-by: kernel test robot # Signed-off-by: Christophe Leroy # Acked-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/53f3a1f719441761000c41154602bf097d4350b5.1614148356.git.christophe.leroy@csgroup.eu # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 21415de8ace3b2fd8382ed37852ec457b68bafd6 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # Added to kconfig CONFIG_SMP=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xc6edfc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.11.0-g21415de8ace3 Created: Fri Feb 26 00:52:32 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5029576 Bytes = 4911.70 KiB = 4.80 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64e_defconfig+UP_powerpc-gcc4.9 # Build took: 0:02:20.005384