# git gc Expanding reachable commits in commit graph: 55134 Expanding reachable commits in commit graph: 113281 Expanding reachable commits in commit graph: 172250 Expanding reachable commits in commit graph: 232360 Expanding reachable commits in commit graph: 292075 Expanding reachable commits in commit graph: 353513 Expanding reachable commits in commit graph: 415203 Expanding reachable commits in commit graph: 477321 Expanding reachable commits in commit graph: 536481 Expanding reachable commits in commit graph: 599039 Expanding reachable commits in commit graph: 661464 Expanding reachable commits in commit graph: 723631 Expanding reachable commits in commit graph: 785753 Expanding reachable commits in commit graph: 848080 Expanding reachable commits in commit graph: 910544 Expanding reachable commits in commit graph: 972815 Expanding reachable commits in commit graph: 1035072 Expanding reachable commits in commit graph: 1091719 Expanding reachable commits in commit graph: 1156560 Expanding reachable commits in commit graph: 1225102 Expanding reachable commits in commit graph: 1249291, done. Writing out commit graph in 4 passes: 56% (2808894/4997164) Writing out commit graph in 4 passes: 57% (2848384/4997164) Writing out commit graph in 4 passes: 58% (2898356/4997164) Writing out commit graph in 4 passes: 59% (2948327/4997164) Writing out commit graph in 4 passes: 60% (2998299/4997164) Writing out commit graph in 4 passes: 61% (3048271/4997164) Writing out commit graph in 4 passes: 62% (3098242/4997164) Writing out commit graph in 4 passes: 63% (3148214/4997164) Writing out commit graph in 4 passes: 64% (3198185/4997164) Writing out commit graph in 4 passes: 65% (3248157/4997164) Writing out commit graph in 4 passes: 65% (3259892/4997164) Writing out commit graph in 4 passes: 66% (3298129/4997164) Writing out commit graph in 4 passes: 67% (3348100/4997164) Writing out commit graph in 4 passes: 68% (3398072/4997164) Writing out commit graph in 4 passes: 69% (3448044/4997164) Writing out commit graph in 4 passes: 70% (3498015/4997164) Writing out commit graph in 4 passes: 71% (3547987/4997164) Writing out commit graph in 4 passes: 72% (3597959/4997164) Writing out commit graph in 4 passes: 73% (3647930/4997164) Writing out commit graph in 4 passes: 74% (3697902/4997164) Writing out commit graph in 4 passes: 74% (3735539/4997164) Writing out commit graph in 4 passes: 75% (3747873/4997164) Writing out commit graph in 4 passes: 76% (3797845/4997164) Writing out commit graph in 4 passes: 77% (3847817/4997164) Writing out commit graph in 4 passes: 78% (3897788/4997164) Writing out commit graph in 4 passes: 79% (3947760/4997164) Writing out commit graph in 4 passes: 80% (3997732/4997164) Writing out commit graph in 4 passes: 81% (4047703/4997164) Writing out commit graph in 4 passes: 82% (4097675/4997164) Writing out commit graph in 4 passes: 83% (4147647/4997164) Writing out commit graph in 4 passes: 84% (4197618/4997164) Writing out commit graph in 4 passes: 85% (4247590/4997164) Writing out commit graph in 4 passes: 86% (4297562/4997164) Writing out commit graph in 4 passes: 87% (4347533/4997164) Writing out commit graph in 4 passes: 88% (4397505/4997164) Writing out commit graph in 4 passes: 89% (4447476/4997164) Writing out commit graph in 4 passes: 90% (4497448/4997164) Writing out commit graph in 4 passes: 91% (4547420/4997164) Writing out commit graph in 4 passes: 92% (4597391/4997164) Writing out commit graph in 4 passes: 93% (4647363/4997164) Writing out commit graph in 4 passes: 94% (4697335/4997164) Writing out commit graph in 4 passes: 95% (4747306/4997164) Writing out commit graph in 4 passes: 96% (4797278/4997164) Writing out commit graph in 4 passes: 97% (4847250/4997164) Writing out commit graph in 4 passes: 98% (4897221/4997164) Writing out commit graph in 4 passes: 99% (4947193/4997164) Writing out commit graph in 4 passes: 100% (4997164/4997164) Writing out commit graph in 4 passes: 100% (4997164/4997164), done. # git rev-parse -q --verify 021533194476035883300d60fbb3136426ac8ea5^{commit} 021533194476035883300d60fbb3136426ac8ea5 already have revision, skipping fetch # git checkout -q -f -B kisskb 021533194476035883300d60fbb3136426ac8ea5 # git clean -qxdf # < git log -1 # commit 021533194476035883300d60fbb3136426ac8ea5 # Author: Linus Torvalds # Date: Thu Feb 1 14:57:17 2024 -0800 # # Kconfig: Disable -Wstringop-overflow for GCC globally # # It turns out it was never just gcc-11 that was broken. Apparently it # just happens to work on x86-64 with other gcc versions. # # On arm64, I see warnings with gcc version 13.2.1, and the kernel test # robot reports the same problem on s390 with gcc 13.2.0. # # Admittedly it seems to be just the new Xe drm driver, but this is # keeping me from doing my normal arm64 build testing. So it gets # reverted until somebody figures out what causes the problem (and why it # doesn't show on x86-64, which is what makes me suspect it was never just # about gcc-11, and more about just random happenstance). # # This also changes the Kconfig naming a bit - just make the "disable this # for GCC" conditional be one simple Kconfig entry, and we can put the gcc # version dependencies in that entry once we figure out what the correct # rules are. # # The version dependency _may_ still end up being "gcc version larger than # 11" if the issue is purely in the Xe driver, but even if that ends up # the case, let's make that all part of the "GCC_NO_STRINGOP_OVERFLOW" # logic. # # For now, we just disable it for all gcc versions while the exact cause # is unknown. # # Link: https://lore.kernel.org/all/202401161031.hjGJHMiJ-lkp@intel.com/T/ # Cc: Gustavo A. R. Silva # Cc: Kees Cook # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 021533194476035883300d60fbb3136426ac8ea5 # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_le_defconfig Using /kisskb/src/arch/powerpc/configs/ppc64_defconfig as base Merging /kisskb/src/arch/powerpc/configs/le.config Merging /kisskb/src/arch/powerpc/configs/guest.config Value of CONFIG_VIRTIO_BLK is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_BLK=m New value: CONFIG_VIRTIO_BLK=y Value of CONFIG_SCSI_VIRTIO is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_SCSI_VIRTIO=m New value: CONFIG_SCSI_VIRTIO=y Value of CONFIG_VIRTIO_NET is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_NET=m New value: CONFIG_VIRTIO_NET=y Value of CONFIG_VIRTIO_CONSOLE is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_CONSOLE=m New value: CONFIG_VIRTIO_CONSOLE=y Value of CONFIG_VIRTIO_PCI is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_PCI=m New value: CONFIG_VIRTIO_PCI=y Value of CONFIG_VIRTIO_BALLOON is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VIRTIO_BALLOON=m New value: CONFIG_VIRTIO_BALLOON=y Value of CONFIG_VHOST_NET is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_VHOST_NET=m New value: CONFIG_VHOST_NET=y Value of CONFIG_IBMVETH is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_IBMVETH=m New value: CONFIG_IBMVETH=y Value of CONFIG_IBMVNIC is redefined by fragment /kisskb/src/arch/powerpc/configs/guest.config: Previous value: CONFIG_IBMVNIC=m New value: CONFIG_IBMVNIC=y Merging /kisskb/src/arch/powerpc/configs/kvm_guest.config # # merged configuration written to .config (needs make) # # Added to kconfig CONFIG_PPC_SPLPAR=n # < make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/linus_pseries_le_defconfig+NO_SPLPAR_powerpc-gcc13 # Build took: 0:07:19.670056