Buildresult: powerpc-fixes/arm64-defconfig/arm64-gcc5 built on Mar 1 2023, 23:20
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 1 2023, 23:20
Duration:
0:03:53.804509
Builder:
alpine2
Revision:
powerpc: Avoid dead code/data elimination when using recordmcount (
f8b2336f15f3bc30e37ce5c052cde5b6319bb6df)
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 (4)
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. fs/btrfs/send.c:1909:13: warning: 'right_gen' may be used uninitialized in this function [-Wmaybe-uninitialized] cc1: warning: unrecognized command line option '-Wno-shift-negative-value'
Full Log
# git rev-parse -q --verify f8b2336f15f3bc30e37ce5c052cde5b6319bb6df^{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 f8b2336f15f3bc30e37ce5c052cde5b6319bb6df^{commit} f8b2336f15f3bc30e37ce5c052cde5b6319bb6df # git checkout -q -f -B kisskb f8b2336f15f3bc30e37ce5c052cde5b6319bb6df # git clean -qxdf # < git log -1 # commit f8b2336f15f3bc30e37ce5c052cde5b6319bb6df # 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 f8b2336f15f3bc30e37ce5c052cde5b6319bb6df # < 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- /kisskb/src/fs/btrfs/send.c: In function 'get_cur_inode_state': /kisskb/src/fs/btrfs/send.c:1909:13: warning: 'right_gen' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (right_gen == gen) { ^ /kisskb/src/fs/btrfs/send.c: At top level: cc1: warning: unrecognized command line option '-Wno-shift-negative-value' Completed OK # rm -rf /kisskb/build/powerpc-fixes_arm64-defconfig_arm64-gcc5 # Build took: 0:03:53.804509
© Michael Ellerman 2006-2018.