# git rev-parse -q --verify 19331e84c3873256537d446afec1f6c507f8c4ef^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/mirror/linux-kbuild.git for-next warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 19331e84c3873256537d446afec1f6c507f8c4ef^{commit} 19331e84c3873256537d446afec1f6c507f8c4ef # git checkout -q -f -B kisskb 19331e84c3873256537d446afec1f6c507f8c4ef # git clean -qxdf # < git log -1 # commit 19331e84c3873256537d446afec1f6c507f8c4ef # Author: Nathan Chancellor # Date: Tue Dec 13 11:35:29 2022 -0700 # # modpost: Include '.text.*' in TEXT_SECTIONS # # Commit 6c730bfc894f ("modpost: handle -ffunction-sections") added # ".text.*" to the OTHER_TEXT_SECTIONS macro to fix certain section # mismatch warnings. Unfortunately, this makes it impossible for modpost # to warn about section mismatches with LTO, which implies # '-ffunction-sections', as all functions are put in their own # '.text.' sections, which may still reference functions in # sections they are not supposed to, such as __init. # # Fix this by moving ".text.*" into TEXT_SECTIONS, so that configurations # with '-ffunction-sections' will see warnings about mismatched sections. # # Link: https://lore.kernel.org/Y39kI3MOtVI5BAnV@google.com/ # Reported-by: Vincent Donnefort # Reviewed-and-tested-by: Alexander Lobakin # Reviewed-by: Sami Tolvanen # Tested-by: Vincent Donnefort # Signed-off-by: Nathan Chancellor # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 19331e84c3873256537d446afec1f6c507f8c4ef # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 32 ARCH=x86 O=/kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86-allmodconfig_x86_64-gcc11 # Build took: 0:25:16.899967