Buildresult: powerpc-fixes/m68k-defconfig/m68k-gcc11 built on Mar 1 2023, 23:19
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 1 2023, 23:19
Duration:
0:01:52.659628
Builder:
alpine1
Revision:
powerpc: Avoid dead code/data elimination when using recordmcount (
f8b2336f15f3bc30e37ce5c052cde5b6319bb6df)
Target:
powerpc-fixes/m68k-defconfig/m68k-gcc11
Branch:
powerpc-fixes
Compiler:
m68k-gcc11
(m68k-linux-gcc (GCC) 11.3.0 / GNU ld (GNU Binutils) 2.38)
Config:
defconfig
(
download
)
Log:
Download original
Possible warnings (3)
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. include/linux/list.h:74:19: warning: 'seed_devices' may be used uninitialized in this function [-Wmaybe-uninitialized]
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-11.3.0-nolibc/m68k-linux/bin/m68k-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux-ld --version # < git log --format=%s --max-count=1 f8b2336f15f3bc30e37ce5c052cde5b6319bb6df # < make -s -j 160 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- defconfig # < make -s -j 160 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- help # make -s -j 160 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- olddefconfig # make -s -j 160 ARCH=m68k O=/kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/m68k-linux/bin/m68k-linux- In file included from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/fs/btrfs/volumes.c:6: /kisskb/src/fs/btrfs/volumes.c: In function 'btrfs_init_new_device': /kisskb/src/include/linux/list.h:74:19: warning: 'seed_devices' may be used uninitialized in this function [-Wmaybe-uninitialized] 74 | new->prev = prev; | ~~~~~~~~~~^~~~~~ /kisskb/src/fs/btrfs/volumes.c:2612:34: note: 'seed_devices' was declared here 2612 | struct btrfs_fs_devices *seed_devices; | ^~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-fixes_m68k-defconfig_m68k-gcc11 # Build took: 0:01:52.659628
© Michael Ellerman 2006-2018.