Buildresult: powerpc-fixes/arm64-defconfig/arm64-gcc5 built on Feb 24 2023, 13:29
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 24 2023, 13:29
Duration:
0:03:46.998736
Builder:
alpine2
Revision:
powerpc: Avoid dead code/data elimination when using recordmcount (
aef2599afe184cb32ea592185adf7065ece0743f)
Target:
powerpc-fixes/arm64-defconfig/arm64-gcc5
Branch:
powerpc-fixes
Compiler:
arm64-gcc5
(aarch64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (2)
warning: The last gc run reported the following. Please correct the root cause warning: There are too many unreachable loose objects; run 'git prune' to remove them.
Full Log
# git rev-parse -q --verify aef2599afe184cb32ea592185adf7065ece0743f^{commit} # git fetch -q -n -f git://gitlab.ozlabs.ibm.com/linuxppc/linux.git fixes-test 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 aef2599afe184cb32ea592185adf7065ece0743f^{commit} aef2599afe184cb32ea592185adf7065ece0743f # git checkout -q -f -B kisskb aef2599afe184cb32ea592185adf7065ece0743f # git clean -qxdf # < git log -1 # commit aef2599afe184cb32ea592185adf7065ece0743f # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Wed Feb 22 00:03:31 2023 +1100 # # powerpc: Avoid dead code/data elimination when using recordmcount # # Although powerpc now has objtool mcount support, it's not enabled in all # configurations due to dependencies. # # On those configurations, with some linkers (binutils 2.37 at least), # it's still possible to hit the dreaded "recordmcount bug", eg. errors # such as: # # CC kernel/kexec_file.o # Cannot find symbol for section 10: .text.unlikely. # kernel/kexec_file.o: failed # make[1]: *** [scripts/Makefile.build:287 : kernel/kexec_file.o] Error 1 # # Those errors are much more prevalent when building with # CONFIG_LD_DEAD_CODE_DATA_ELIMINATION, because it places every function # in a separate section. # # CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is marked experimental and is not # enabled in any powerpc defconfigs or by major distros. Although it does # have at least some users on 32-bit where kernel size tends to be more # important. # # Avoid the build errors by blocking CONFIG_LD_DEAD_CODE_DATA_ELIMINATION # when the build is using recordmcount, rather than objtool. In practice # that means for 64-bit big endian builds, or 64-bit clang builds - both # because they lack CONFIG_MPROFILE_KERNEL. # # On 32-bit objtool is always used, so # CONFIG_LD_DEAD_CODE_DATA_ELIMINATION is still available there. # # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20230221130331.2714199-1-mpe@ellerman.id.au # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 aef2599afe184cb32ea592185adf7065ece0743f # < make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 # Build took: 0:03:46.998736
© Michael Ellerman 2006-2018.