git: 5ee63cc45413 - main - lang/gcc14-devel: Update to 14.0.1.s20240225
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 Feb 2024 22:51:17 UTC
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=5ee63cc45413954077b2b0c0546b8342585b41ba commit 5ee63cc45413954077b2b0c0546b8342585b41ba Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2024-02-26 11:03:30 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2024-02-26 22:50:54 +0000 lang/gcc14-devel: Update to 14.0.1.s20240225 Also require to choose a BOOSTRAP option: building GCC with bootstrap disabled is intended to be possible only when GCC is built with some pre-installed GCC, however Clang is the default compiler on FreeBSD. Indeed, bugs have already been encountered when trying to build GCC with Clang without bootstrap on FreBSD. See for example commit a4831f4933d006071d96a861506ff0db44d1d3ac. --- lang/gcc14-devel/Makefile | 10 ++++------ lang/gcc14-devel/distinfo | 6 +++--- lang/gcc14-devel/files/patch-libcc1_libcc1plugin.cc | 19 ------------------- lang/gcc14-devel/files/patch-libcc1_libcp1plugin.cc | 19 ------------------- 4 files changed, 7 insertions(+), 47 deletions(-) diff --git a/lang/gcc14-devel/Makefile b/lang/gcc14-devel/Makefile index fa7e603e72e0..8a9dcc71df00 100644 --- a/lang/gcc14-devel/Makefile +++ b/lang/gcc14-devel/Makefile @@ -1,5 +1,5 @@ PORTNAME= gcc -PORTVERSION= 14.0.1.s20240218 +PORTVERSION= 14.0.1.s20240225 PORTEPOCH= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} @@ -48,8 +48,8 @@ OPTIONS_DEFAULT_i386= STANDARD_BOOTSTRAP OPTIONS_DEFAULT_powerpc=LTO_BOOTSTRAP OPTIONS_DEFAULT_powerpc64=LTO_BOOTSTRAP OPTIONS_DEFAULT_powerpc64le=LTO_BOOTSTRAP -OPTIONS_RADIO= BOOTSTRAP -OPTIONS_RADIO_BOOTSTRAP= LTO_BOOTSTRAP STANDARD_BOOTSTRAP +OPTIONS_SINGLE= BOOTSTRAP +OPTIONS_SINGLE_BOOTSTRAP= LTO_BOOTSTRAP STANDARD_BOOTSTRAP LTO_BOOTSTRAP_DESC= Build using a full LTO bootstrap STANDARD_BOOTSTRAP_DESC= Build using a full bootstrap without LTO GRAPHITE_DESC= Support for Graphite loop optimizations @@ -90,9 +90,7 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_OUTSOURCE= yes -.if empty(PORT_OPTIONS:M*BOOTSTRAP) -CONFIGURE_ARGS+=--disable-bootstrap -.elif ${PORT_OPTIONS:MLTO_BOOTSTRAP} +.if ${PORT_OPTIONS:MLTO_BOOTSTRAP} CONFIGURE_ARGS+=--with-build-config=bootstrap-lto-noplugin ALL_TARGET= bootstrap-lean PIE_UNSAFE= yes diff --git a/lang/gcc14-devel/distinfo b/lang/gcc14-devel/distinfo index c405f619faa7..8b89ff930303 100644 --- a/lang/gcc14-devel/distinfo +++ b/lang/gcc14-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1708850380 -SHA256 (gcc-14-20240218.tar.xz) = 8816d90e500ff99bfd54ffbb2b3082d37adc7a69977cf28c6f67be9a3d181c7e -SIZE (gcc-14-20240218.tar.xz) = 87636252 +TIMESTAMP = 1708945384 +SHA256 (gcc-14-20240225.tar.xz) = 9e3be533dfd6c15784bdc7bbc0431c7bf98671fab18df354e31b0920cf1669ef +SIZE (gcc-14-20240225.tar.xz) = 87651536 diff --git a/lang/gcc14-devel/files/patch-libcc1_libcc1plugin.cc b/lang/gcc14-devel/files/patch-libcc1_libcc1plugin.cc deleted file mode 100644 index d54adddb021b..000000000000 --- a/lang/gcc14-devel/files/patch-libcc1_libcc1plugin.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- libcc1/libcc1plugin.cc.orig 2023-07-27 08:13:07 UTC -+++ libcc1/libcc1plugin.cc -@@ -32,6 +32,7 @@ - #undef PACKAGE_VERSION - - #define INCLUDE_MEMORY -+#define INCLUDE_VECTOR - #include "gcc-plugin.h" - #include "system.h" - #include "coretypes.h" -@@ -68,8 +69,6 @@ - #include "rpc.hh" - #include "gcc-c-interface.h" - #include "context.hh" -- --#include <vector> - - using namespace cc1_plugin; - diff --git a/lang/gcc14-devel/files/patch-libcc1_libcp1plugin.cc b/lang/gcc14-devel/files/patch-libcc1_libcp1plugin.cc deleted file mode 100644 index 0f3d2d161404..000000000000 --- a/lang/gcc14-devel/files/patch-libcc1_libcp1plugin.cc +++ /dev/null @@ -1,19 +0,0 @@ ---- libcc1/libcp1plugin.cc.orig 2023-07-27 08:13:07 UTC -+++ libcc1/libcp1plugin.cc -@@ -33,6 +33,7 @@ - #undef PACKAGE_VERSION - - #define INCLUDE_MEMORY -+#define INCLUDE_VECTOR - #include "gcc-plugin.h" - #include "system.h" - #include "coretypes.h" -@@ -70,8 +71,6 @@ - #include "marshall-cp.hh" - #include "rpc.hh" - #include "context.hh" -- --#include <vector> - - using namespace cc1_plugin; -