Created attachment 236018 [details] Patch to update GCC default version from 11 to 12 GCC 12.2 has just been released. Now that GCC 12 is at its second minor version, it is a good time to see if we can update our GCC default version.
Some new failure logs on 12.3 i386: http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/cvc-1.1.3.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/raknet-3.9.2_10,1.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/openmsx-18.0.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/opencoarrays-2.9.0.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/fenics-basix-0.5.0.p0.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/ised-2.7.1_7.log http://pb2.nyi.freebsd.org/data/123i386-default-foo/2022-08-30_08h46m26s/logs/errors/xf86-video-vmware-13.3.0_7.log
New failure logs on 12.3 amd64: http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/cvc-1.1.3.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/raknet-3.9.2_10,1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/openmsx-18.0.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/opencoarrays-2.9.0.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/fenics-basix-0.5.0.p0.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/ised-2.7.1_7.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/octopus-11.4.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-bhyve-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-fvp-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-qemu-i386-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-qemu-x64-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-rpi3-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-rpi4-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-xen-x64-g202202_1.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-08-30_18h10m18s/logs/errors/edk2-macchiatobin-g202202_1.log
Thank you very much Antoine. I have prepared all the bug reports needed to address the failures.
Add dependency on bug #257060: the last few missing bugs could probably be fixed by enforcing the use of GCC 11, but then it important to solve the conflict between GCC 11 and GCC 12 ports reported in bug #257060.
Enabling D lang compiler is needed to bootstap lang/ldc. GDC has just been enabled for GCC_DEFAULT, which is still GCC 11. It should be unsured that GDC is still available when GCC_DEFAULT is switched to GCC 12, so add bug #266825 to the dependencies.
Remove dependency on bug #266825: the patch for lang/ldc already enforces using GCC 11 and enabling D on GCC 12 is hard due to bootstraping issue, so we can deal with this problem later and focus on the other issues for now.
All known bugs have been fixed at least as much as needed for the update. Time for another exp-run. Antoine, can you deal with it please? Thanks in advance.
It seems that there are 2 new failures: http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-11-12_19h30m16s/logs/cvc-1.1.3.log http://package18.nyi.freebsd.org/data/123amd64-default-foo/2022-11-12_19h30m16s/logs/octopus-11.4_2.log
Thanks Antoine, I have re-opened the relevant bug reports.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=68552883830e2267970941f532e512c444366835 commit 68552883830e2267970941f532e512c444366835 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-08-19 19:23:23 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-12-03 14:28:13 +0000 Mk/bsd.default-versions.mk: Switch default GCC from 11 to 12 PR: 265948 Tested by: antoine (exp-runs) Mk/bsd.default-versions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
GCC default version has finally been updated. Thanks to everyone who helped in the process.
Very well done, Lorenzo! And congratulations!