# 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-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 21415de8ace3b2fd8382ed37852ec457b68bafd6 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- amigaone_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x79e3d0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.11.0+ Created: Thu Feb 25 23:40:52 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3345149 Bytes = 3266.75 KiB = 3.19 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.11.0+ Created: Thu Feb 25 23:40:52 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3372792 Bytes = 3293.74 KiB = 3.22 MiB Load Address: 00800000 Entry Point: 00800144 Completed OK # rm -rf /kisskb/build/powerpc-fixes_amigaone_defconfig_powerpc-gcc5 # Build took: 0:01:05.953726