Buildresult: linus/ppc64le_defconfig+NO_KVM/powerpc-gcc5 built on May 11 2020, 00:51
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 11 2020, 00:51
Duration:
0:02:52.017264
Builder:
ka2
Revision:
gcc-10: mark more functions __init to avoid section mismatch warnings (
e99332e7b4cda6e60f5b5916cf9943a79dbef902)
Target:
linus/ppc64le_defconfig+NO_KVM/powerpc-gcc5
Branch:
linus
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
ppc64le_defconfig+NO_KVM
(
download
)
Log:
Download original
Possible warnings (2)
WARNING: modpost: vmlinux.o(.text.unlikely+0x2b0): Section mismatch in reference from the function early_init_mmu() to the function .init.text:radix__early_init_mmu() WARNING: modpost: vmlinux.o(.text.unlikely+0x2bc): Section mismatch in reference from the function early_init_mmu() to the function .init.text:hash__early_init_mmu()
Full Log
# git rev-parse -q --verify e99332e7b4cda6e60f5b5916cf9943a79dbef902^{commit} e99332e7b4cda6e60f5b5916cf9943a79dbef902 already have revision, skipping fetch # git checkout -q -f -B kisskb e99332e7b4cda6e60f5b5916cf9943a79dbef902 # git clean -qxdf # < git log -1 # commit e99332e7b4cda6e60f5b5916cf9943a79dbef902 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sat May 9 17:50:03 2020 -0700 # # gcc-10: mark more functions __init to avoid section mismatch warnings # # It seems that for whatever reason, gcc-10 ends up not inlining a couple # of functions that used to be inlined before. Even if they only have one # single callsite - it looks like gcc may have decided that the code was # unlikely, and not worth inlining. # # The code generation difference is harmless, but caused a few new section # mismatch errors, since the (now no longer inlined) function wasn't in # the __init section, but called other init functions: # # Section mismatch in reference from the function kexec_free_initrd() to the function .init.text:free_initrd_mem() # Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memremap() # Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memunmap() # # So add the appropriate __init annotation to make modpost not complain. # In both cases there were trivially just a single callsite from another # __init function. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /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 e99332e7b4cda6e60f5b5916cf9943a79dbef902 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64le_defconfig # Added to kconfig CONFIG_KVM_BOOK3S_64=n # Added to kconfig CONFIG_KVM=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/linus_ppc64le_defconfig+NO_KVM_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/linus_ppc64le_defconfig+NO_KVM_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/linus_ppc64le_defconfig+NO_KVM_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- WARNING: modpost: vmlinux.o(.text.unlikely+0x2b0): Section mismatch in reference from the function early_init_mmu() to the function .init.text:radix__early_init_mmu() The function early_init_mmu() references the function __init radix__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of radix__early_init_mmu is wrong. WARNING: modpost: vmlinux.o(.text.unlikely+0x2bc): Section mismatch in reference from the function early_init_mmu() to the function .init.text:hash__early_init_mmu() The function early_init_mmu() references the function __init hash__early_init_mmu(). This is often because early_init_mmu lacks a __init annotation or the annotation of hash__early_init_mmu is wrong. Completed OK # rm -rf /kisskb/build/linus_ppc64le_defconfig+NO_KVM_powerpc-gcc5 # Build took: 0:02:52.017264
© Michael Ellerman 2006-2018.