Hi Segher! On Wed, 2022-12-14 10:00:25 +0100, Jan-Benedict Glaw wrote: > On Tue, 2022-12-13 11:00:45 +0100, Jan-Benedict Glaw wrote: > > On Mon, 2022-12-12 18:26:13 -0600, Segher Boessenkool wrote: > > > On Mon, Dec 12, 2022 at 10:51:17PM +0100, Jan-Benedict Glaw wrote: > > > > Compiler ICEs (during GIMPLE pass: ccp) in align.c: [...] > Submitted as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108095: [...] Jakub's patch seems to work (though I cannot *verify* the kernel images on real hardware), so that will presumably fix these configations (from the ICE point of view): linux-powerpc-adder875_defconfig linux-powerpc-akebono_defconfig linux-powerpc-lite5200b_defconfig linux-powerpc-mgcoge_defconfig linux-powerpc-motionpro_defconfig linux-powerpc-mpc5200_defconfig linux-powerpc-mpc8272_ads_defconfig linux-powerpc-ppc6xx_defconfig linux-powerpc-tqm5200_defconfig linux-powerpc-tqm8xx_defconfig linux-powerpc-warp_defconfig linux-powerpc-pq2fads_defconfig linux-powerpc-ps3_defconfig linux-powerpc-mpc885_ads_defconfig linux-powerpc-ep8248e_defconfig linux-powerpc-ep88xc_defconfig linux-powerpc-iss476-smp_defconfig linux-powerpc-fsp2_defconfig linux-powerpc-currituck_defconfig So we have these remaining build issues: linux-powerpc-cell_defconfig bad asm (arch/powerpc/boot/pseries-head.S) linux-powerpc-mvme5100_defconfig bad asm (arch/powerpc/kernel/epapr_hcalls.S) linux-powerpc-asp8347_defconfig bad asm (arch/powerpc/kernel/pmc.c) linux-powerpc-ppc6xx_defconfig bad asm (arch/powerpc/kernel/pmc.c) linux-powerpc-ppc64e_defconfig bad asm (arch/powerpc/kernel/vdso/gettimeofday.S) linux-powerpc-corenet64_smp_defconfig bad asm (arch/powerpc/kernel/vdso/gettimeofday.S) I do *not* have CROSS32_COMPILE=... set for my builds. Maybe that could cure at least the issues within the ./boot and ./kernel/vdso directories? Let's try that... But I guess that won't help for the other two remaining files (arch/powerpc/kernel/{epapr_hcalls.S,pmc.c). linux-powerpc-pseries_defconfig sstep (out of array bounds) linux-powerpc-powernv_defconfig sstep linux-powerpc-ppc64_defconfig sstep linux-powerpc-pseries_le_defconfig sstep linux-powerpc-ppc64le_defconfig sstep linux-powerpc-ppc64le_guest_defconfig sstep linux-powerpc-ppc64_guest_defconfig sstep linux-powerpc-powernv_be_defconfig sstep My first guess on these is that it's a wrong warning. The union's `u8 b[2 * sizeof(double)]` seems to be large enough. linux-powerpc-akebono_defconfig ahci (BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)) linux-powerpc-xes_mpc85xx_defconfig ahci linux-powerpc-ge_imp3a_defconfig ahci linux-powerpc-mpc85xx_defconfig ahci linux-powerpc-mpc85xx_smp_defconfig ahci linux-powerpc-corenet32_smp_defconfig ahci linux-powerpc-mpc86xx_defconfig ahci linux-powerpc-mpc86xx_smp_defconfig ahci I've seen the AHCI issue on other (non-powerpc) builds as well, haven't looked into this so I won't guess about whether this is a real bug or a compiler issue. Thanks, Jan-Benedict --