# 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 # 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 # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 e99332e7b4cda6e60f5b5916cf9943a79dbef902 # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x2FFFB204 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5655:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- kernel/bpf/core.o: warning: objtool: ___bpf_prog_run()+0x3419: call without frame pointer save/setup Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:04:54.781536