commit: 1c6df0bc56429a3eb644c38cce882e5d4548ee6c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 9 06:10:25 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 9 06:11:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c6df0bc
profiles/prefix/darwin/macos/arch/arm64: mask dev-libs/gmp[asm] for now
Known broken. From gmplib.org:
```
Issues with GMP 6.2.1:
While we added support for Apple's new Arm based computers, our support
has a problem.
The problem is that Apple reserves CPU register x18, but GMP's
mpn/arm64 assembly code uses that register.
While GMP runs fine in our tests, we expect things to go awry in some
execution situation.
(Apple has not been kind enough to specify how they use x18. Therefore,
we don't know what the consequences of using x18 might be.)
```
Signed-off-by: Sam James <sam <AT> gentoo.org>
profiles/prefix/darwin/macos/arch/arm64/package.use.mask | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/profiles/prefix/darwin/macos/arch/arm64/package.use.mask
b/profiles/prefix/darwin/macos/arch/arm64/package.use.mask
new file mode 100644
index 00000000000..6cc70f2fb18
--- /dev/null
+++ b/profiles/prefix/darwin/macos/arch/arm64/package.use.mask
@@ -0,0 +1,8 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Sam James <[email protected]> (2021-11-09)
+# Older GMP releases have a bug in their arm64 Darwin ASM
+# 6.2.2 isn't released but this will catch any releases we know are broken
+# like 6.2.1, and it's already fixed in git upstream.
+<dev-libs/gmp-6.2.2 asm