git: 320e9debc3c3 - main - lang/gcc>=11: Warn about LTO_BOOTSTRAP

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 22:56:23 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=320e9debc3c3b4a90292a9aa29f139be9df00f40

commit 320e9debc3c3b4a90292a9aa29f139be9df00f40
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-07-01 09:40:20 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-07-07 22:56:01 +0000

    lang/gcc>=11: Warn about LTO_BOOTSTRAP
    
    Warn users about the amount of ram and time needed to build GCC with
    LTO_BOOTSTRP enabled.
    
    PR:             264949
    Reported by:    Tomoaki AOKI <junchoon@dec.sakura.ne.jp> and others
    Reviewed by:    gerald
    Differential Revision: https://reviews.freebsd.org/D35688
---
 lang/gcc11-devel/pkg-help | 3 +++
 lang/gcc11/pkg-help       | 3 +++
 lang/gcc12-devel/pkg-help | 3 +++
 lang/gcc12/pkg-help       | 3 +++
 lang/gcc13-devel/pkg-help | 3 +++
 5 files changed, 15 insertions(+)

diff --git a/lang/gcc11-devel/pkg-help b/lang/gcc11-devel/pkg-help
new file mode 100644
index 000000000000..9030bbb28d3f
--- /dev/null
+++ b/lang/gcc11-devel/pkg-help
@@ -0,0 +1,3 @@
+Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
+memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
+(or disabling BOOTSTRAP altogether) in case that is a problem.
diff --git a/lang/gcc11/pkg-help b/lang/gcc11/pkg-help
new file mode 100644
index 000000000000..9030bbb28d3f
--- /dev/null
+++ b/lang/gcc11/pkg-help
@@ -0,0 +1,3 @@
+Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
+memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
+(or disabling BOOTSTRAP altogether) in case that is a problem.
diff --git a/lang/gcc12-devel/pkg-help b/lang/gcc12-devel/pkg-help
new file mode 100644
index 000000000000..9030bbb28d3f
--- /dev/null
+++ b/lang/gcc12-devel/pkg-help
@@ -0,0 +1,3 @@
+Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
+memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
+(or disabling BOOTSTRAP altogether) in case that is a problem.
diff --git a/lang/gcc12/pkg-help b/lang/gcc12/pkg-help
new file mode 100644
index 000000000000..9030bbb28d3f
--- /dev/null
+++ b/lang/gcc12/pkg-help
@@ -0,0 +1,3 @@
+Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
+memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
+(or disabling BOOTSTRAP altogether) in case that is a problem.
diff --git a/lang/gcc13-devel/pkg-help b/lang/gcc13-devel/pkg-help
new file mode 100644
index 000000000000..9030bbb28d3f
--- /dev/null
+++ b/lang/gcc13-devel/pkg-help
@@ -0,0 +1,3 @@
+Building this port with LTO_BOOTSTRAP enabled requires significant amounts of
+memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP
+(or disabling BOOTSTRAP altogether) in case that is a problem.