From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AC7BD158088 for ; Mon, 24 Jan 2022 14:38:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 030212BC003; Mon, 24 Jan 2022 14:38:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 534342BC003 for ; Mon, 24 Jan 2022 14:38:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 79AE7342DCF for ; Mon, 24 Jan 2022 14:38:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B806626D for ; Mon, 24 Jan 2022 14:38:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1643035010.ff567fa404228cb9a302b379e88f553497ea38d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/base/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/base/package.use.mask X-VCS-Directories: profiles/base/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ff567fa404228cb9a302b379e88f553497ea38d6 X-VCS-Branch: master Date: Mon, 24 Jan 2022 14:38:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 80c95f59-f74c-4df9-95ee-03dbf045389c X-Archives-Hash: be70510f34f5bfe1630bee337213175d commit: ff567fa404228cb9a302b379e88f553497ea38d6 Author: Sam James gentoo org> AuthorDate: Mon Jan 24 14:36:50 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jan 24 14:36:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff567fa4 profiles/base: mask sys-libs/glibc[custom-cflags] It's far too dangerous and leads to both build-time failures for glibc itself and runtime crashes for other programs depending on the flags used. Mask it so people have to actually unmask it in order to footgun themselves. (USE=custom-cflags in make.conf may or may not be advisible (rather than setting it per-package in package.use), but it's generally not going to be as dangerous for most/all packages as it is for glibc, so it makes sense to make it harder to do it for just glibc.) Signed-off-by: Sam James gentoo.org> profiles/base/package.use.mask | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask index 8bb3a942ab06..67d7c4ca7ca1 100644 --- a/profiles/base/package.use.mask +++ b/profiles/base/package.use.mask @@ -6,6 +6,13 @@ # This file is only for generic masks. For arch-specific masks (i.e. # mask everywhere, unmask on arch/*) use arch/base. +# Sam James (2021-01-24) +# USE=custom-cflags is _particularly_ dangerous on sys-libs/glibc and +# can result in not just build-time failures for glibc itself, but +# runtime crashes. The effect of using USE=custom-cflags globally in make.conf +# isn't the same as it is for just glibc specifically. +sys-libs/glibc custom-cflags + # Sam James (2022-01-23) # Java bindings are broken with OpenJDK 11+ and we're not # aware of any consumers. bug #713866