aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2024-02-26 11:03:30 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2024-02-26 22:50:54 +0000
commit5ee63cc45413954077b2b0c0546b8342585b41ba (patch)
treeb61b80c4ede8f5a34aa7a659742b7ae2eca96e12
parent85301c5e75c2d5492ea1733b33c9cf6d480023ae (diff)
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.
-rw-r--r--lang/gcc14-devel/Makefile10
-rw-r--r--lang/gcc14-devel/distinfo6
-rw-r--r--lang/gcc14-devel/files/patch-libcc1_libcc1plugin.cc19
-rw-r--r--lang/gcc14-devel/files/patch-libcc1_libcp1plugin.cc19
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;
-