commit:     fb809aeadee57ffa24591e60cfb41aecd4823090
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 12 01:16:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 12 02:45:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb809aea

profiles/base: [QA] mask USE=pch

PCH is notoriously fragile & unstable. It often leads
to (unclear) build failures and has questionable
value in terms of performance, at least for the general
case.

Users are free to unmask it if they wish at their
own risk.

Bug: https://bugs.gentoo.org/753323
Bug: https://bugs.gentoo.org/822690
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/base/use.mask | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/profiles/base/use.mask b/profiles/base/use.mask
index eee41ca8c6f8..c6a22bb1577f 100644
--- a/profiles/base/use.mask
+++ b/profiles/base/use.mask
@@ -4,6 +4,14 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Sam James <s...@gentoo.org> (2022-01-12)
+# PCH has proven itself to be unreliable and lead to spurious build
+# failures. Masking so users aren't exposed to such failures without opting-in.
+# Failures aren't always reproducible and implementations are often fragile.
+# Please speak to <toolch...@gentoo.org> and/or <q...@gentoo.org> before 
dropping.
+# See e.g. bug #753323, bug #822690.
+pch
+
 # Hans de Graaff <gra...@gentoo.org> (2021-07-09)
 # Mask Ruby 2.5 as EOL
 ruby_targets_ruby25

Reply via email to