# git rev-parse -q --verify ccb2d173b983984bfa35398abed3f8a76c75f788^{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 ccb2d173b983984bfa35398abed3f8a76c75f788^{commit} ccb2d173b983984bfa35398abed3f8a76c75f788 # git checkout -q -f -B kisskb ccb2d173b983984bfa35398abed3f8a76c75f788 # git clean -qxdf # < git log -1 # commit ccb2d173b983984bfa35398abed3f8a76c75f788 # Author: Fangrui Song # Date: Tue Apr 11 20:09:44 2023 +0000 # # Makefile: use -z pack-relative-relocs # # Commit 27f2a4db76e8 ("Makefile: fix GDB warning with CONFIG_RELR") # added --use-android-relr-tags to fix a GDB warning # # BFD: /android0/linux-next/vmlinux: unknown type [0x13] section `.relr.dyn' # # The GDB warning has been fixed in version 11.2. # # The DT_ANDROID_RELR tag was deprecated since DT_RELR was standardized. # Thus, --use-android-relr-tags should be removed. While making the # change, try -z pack-relative-relocs, which is supported since LLD 15. # Keep supporting --pack-dyn-relocs=relr as well for older LLD versions. # There is no indication of obsolescence for --pack-dyn-relocs=relr. # # As of today, GNU ld supports the latter option for x86 and powerpc64 # ports and has no intention to support --pack-dyn-relocs=relr. In the # absence of the glibc symbol version GLIBC_ABI_DT_RELR, # --pack-dyn-relocs=relr and -z pack-relative-relocs are identical in # ld.lld. # # GNU ld and newer versions of LLD report warnings (instead of errors) for # unknown -z options. Only errors lead to non-zero exit codes. Therefore, # we should test --pack-dyn-relocs=relr before testing # -z pack-relative-relocs. # # Link: https://github.com/ClangBuiltLinux/linux/issues/1057 # Link: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=a619b58721f0a03fd91c27670d3e4c2fb0d88f1e # Signed-off-by: Fangrui Song # Reviewed-by: Nick Desaulniers # Acked-by: Will Deacon # Signed-off-by: Masahiro Yamada # < /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 ccb2d173b983984bfa35398abed3f8a76c75f788 # < make -s -j 160 ARCH=m68k O=/kisskb/build/kbuild_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/kbuild_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/kbuild_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/kbuild_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:2621:34: note: 'seed_devices' was declared here 2621 | struct btrfs_fs_devices *seed_devices; | ^~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/kbuild_m68k-defconfig_m68k-gcc11 # Build took: 0:01:46.275224