diff options
author | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2023-06-21 15:46:16 +0000 |
---|---|---|
committer | Lorenzo Salvadore <salvadore@FreeBSD.org> | 2023-07-04 15:47:51 +0000 |
commit | f6eac14aeb7e404a243fe6ca2c1442caeb4e291f (patch) | |
tree | 3ac18adf99fbd60aa853aa60c3a56ad140cba47d | |
parent | 90c2a38cb0ba103acb863ab0b633cdacd97fd7ca (diff) | |
download | doc-f6eac14aeb7e404a243fe6ca2c1442caeb4e291f.tar.gz doc-f6eac14aeb7e404a243fe6ca2c1442caeb4e291f.zip |
Status/2023Q2/gcc.adoc: Add report
Reviewed by: status (Pau Amma <pauamma@gundo.com)
Approved by: dbaio (mentor)
-rw-r--r-- | website/content/en/status/report-2023-04-2023-06/gcc.adoc | 45 |
1 files changed, 45 insertions, 0 deletions
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. |