commit:     2b3a5b4caa44c5a8f9aef2ae7cf51577e86cdef4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  5 16:42:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  5 16:43:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b3a5b4c

profiles: mask llvm-runtimes/libatomic-stub except on musl+llvm

As we already do for llvm-runtimes/libgcc.

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

 profiles/default/linux/package.mask      | 6 ++++++
 profiles/features/musl/llvm/package.mask | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/profiles/default/linux/package.mask 
b/profiles/default/linux/package.mask
index 1aaaa32feea6..ebca6f1973e3 100644
--- a/profiles/default/linux/package.mask
+++ b/profiles/default/linux/package.mask
@@ -1,6 +1,12 @@
 # Copyright 2023-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-11-05)
+# A libatomic drop-in replacement, which conflicts with sys-devel/gcc,
+# therefore meant only for profiles which can work without GCC being
+# present even as a fallback.
+llvm-runtimes/libatomic-stub
+
 # Michal Rostecki <[email protected]> (2025-02-10)
 # A libgcc_s drop-in replacement, which conflicts with sys-devel/gcc,
 # therefore meant only for profiles which can work without GCC being

diff --git a/profiles/features/musl/llvm/package.mask 
b/profiles/features/musl/llvm/package.mask
index 963110bb1b35..08a42b341db0 100644
--- a/profiles/features/musl/llvm/package.mask
+++ b/profiles/features/musl/llvm/package.mask
@@ -1,6 +1,14 @@
 # Copyright 2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Sam James <[email protected]> (2025-11-05)
+# A libatomic drop-in replacement, which conflicts with sys-devel/gcc,
+# therefore meant only for profiles which can work without GCC being
+# present even as a fallback. Since glibc can't be built with clang,
+# it's possible only on musl/llvm profiles. If that ever changes, we
+# can move this unmask to all llvm profiles.
+-llvm-runtimes/libatomic-stub
+
 # Michal Rostecki <[email protected]> (2025-02-09)
 # A libgcc_s drop-in replacement, which conflicts with sys-devel/gcc,
 # therefore meant only for profiles which can work without GCC being

Reply via email to