git: f6eac14aeb - main - Status/2023Q2/gcc.adoc: Add report
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 15:49:15 UTC
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=f6eac14aeb7e404a243fe6ca2c1442caeb4e291f commit f6eac14aeb7e404a243fe6ca2c1442caeb4e291f Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-06-21 15:46:16 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-07-04 15:47:51 +0000 Status/2023Q2/gcc.adoc: Add report Reviewed by: status (Pau Amma <pauamma@gundo.com) Approved by: dbaio (mentor) --- .../en/status/report-2023-04-2023-06/gcc.adoc | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/gcc.adoc b/website/content/en/status/report-2023-04-2023-06/gcc.adoc new file mode 100644 index 0000000000..5203a70ada --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/gcc.adoc @@ -0,0 +1,45 @@ +=== GCC on FreeBSD + +Links: + +link:https://gcc.gnu.org[GCC Project] URL: link:https://gcc.gnu.org[] + +link:https://gcc.gnu.org/gcc-10/[GCC 10 release series] URL: link:https://gcc.gnu.org/gcc-10/[] + +link:https://gcc.gnu.org/gcc-11/[GCC 11 release series] URL: link:https://gcc.gnu.org/gcc-11/[] + +link:https://gcc.gnu.org/gcc-12/[GCC 12 release series] URL: link:https://gcc.gnu.org/gcc-12/[] + +link:https://gcc.gnu.org/gcc-13/[GCC 13 release series] URL: link:https://gcc.gnu.org/gcc-13/[] + +Contact: Lorenzo Salvadore <salvadore@FreeBSD.org> + +Upstream has released link:https://gcc.gnu.org/gcc-13[GCC 13]. +As announced in the past status report, I plan to attempt an update of GCC_DEFAULT right from the first GCC 13 release, thus much of this quarter work has been in preparation of this. + +With the release of GCC 13.1 (first GCC 13 release: I remind that GCC counts minor version releases starting from 1), two new ports have been created in the ports tree: + +* package:lang/gcc13[], tracking GCC 13 releases; +* package:lang/gcc14-devel[], tracking snapshots from the new GCC 14 upstream branch. + +==== The *-devel ports + +A few significant changes have been made on the *-devel ports, which will be forwarded to the production ports together with more changes (see below): + +* enable support for .init_array and .fini_array, which FreeBSD supports since commit gitref:83aa9cc00c2d83d05a0efe7a1496d8aab4a153bb[repository=src]; + +* switch back to STANDARD_BOOTSTRAP on i386, amd64 and aarch64 as default option instead of LTO_BOOTSTRAP: LTO bootstrap produces too many failures on the package builders for those architectures. +Users wanting to use LTO_BOOTSTRAP can still enable the option manually. + +==== The production ports + +Upstream has released GCC 13, for which the new port package:lang/gcc13[] has been created. +GCC 11 and GCC 12 have been updated upstream and a new release of GCC 10 is planned. +All corresponding ports now need to be updated. + +To ease the work of both ports maintainers and users, I plan to test and update together all the following changes: + +* updates of package:lang/gcc10[], package:lang/gcc11[], package:lang/gcc12[]; +* update of GCC_DEFAULT to 13; +* enabling of .init_array and .fini_array on the production ports; +* switching back from LTO_BOOTSTRAP to STANDARD_BOOTSTRAP on the production ports. + +This will provide the following advantages: + +* more testing with less exp-runs; +* fewer builds for ports users.