sys-devel/gcc-14.1.1_p20240518 fails to build on a default/linux/amd64/23.0/split-usr/musl/llvm system. Compilation fails on the stage 2 / stage 3 comparison step with the following message: > make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.1.1_p20240518/work/build' > Comparing stages 2 and 3 > Bootstrap comparison failure! > gcc/lto-section-out.o differs > [...] Reproducible: Always Steps to Reproduce: 1. emerge =sys-devel/gcc-14.1.1_p20240518 Actual Results: Compilation fails Expected Results: COmpilation succeeds My actual profile is a merge of both > gentoo:default/linux/amd64/23.0/split-usr/musl/llvm > gentoo:targets/desktop/plasma as described in https://wiki.gentoo.org/wiki/Profile_(Portage)#Combining_profiles
Created attachment 894431 [details] emerge --info
Created attachment 894432 [details] build log
Please upload a sample of differing files from the stage2 and stage3 dirs (in pairs, obviously).
I no longer have the build directory for sys-devel/gcc-14.1.1_p20240518, and the ebuild is no longer in the portage tree. The same bug is observed with sys-devel/gcc-14.1.1_p20240622 though. I've attached the build log for sys-devel/gcc-14.1.1_p20240622 and a sample of stage 2 / stage 3 object files, as requested. I can put the whole build directory somewhere online, but it will take some time as I only have a DSL Internet access. Feel free to ask for more samples if needed.
Created attachment 897991 [details] gcc stage2 and stage3 object files samples
Created attachment 897992 [details] gcc-14.1.1_p20240622 build logs
Sorry, I'd lost track of this. Can you still hit it?
No problem, I run this gentoo mostly for tests. I just emerged sys-devel/gcc-13.3.1_p20241115 successfully, I no longer hit the stage2/stage3 error.
Thanks!