summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-20 00:42:06 +0000
committerSam James <sam@gentoo.org>2021-03-20 00:44:27 +0000
commitfd573f430b05c418f74a5700cc182568123c812a (patch)
tree1bf93403c53ea53aa1dd3bd2798ce3953502b189 /profiles/arch
parentdev-util/pkgcheck: Bump to 0.9.4 (diff)
downloadgentoo-fd573f430b05c418f74a5700cc182568123c812a.tar.gz
gentoo-fd573f430b05c418f74a5700cc182568123c812a.tar.bz2
gentoo-fd573f430b05c418f74a5700cc182568123c812a.zip
profiles/arch/sparc/64ul: mask dev-libs/libpcre[jit]
Completely broken on sparc64. Upstream don't support it, Debian force it off too, and it has unaligned accesses. Manifests as a bus error when calling 'grep -P'. Program received signal SIGBUS, Bus error. sljit_emit_jump (compiler=0xfff8000100cc6fe0, type=<optimized out>) at /usr/src/debug/dev-libs/libpcre-8.44/pcre-8.44/sljit/sljitNativeSPARC_common.c:1324 1324 set_jump(jump, compiler, type & SLJIT_REWRITABLE_JUMP); Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/sparc/64ul/package.use.mask5
1 files changed, 5 insertions, 0 deletions
diff --git a/profiles/arch/sparc/64ul/package.use.mask b/profiles/arch/sparc/64ul/package.use.mask
index 8d67239c2533..343cd157d4d4 100644
--- a/profiles/arch/sparc/64ul/package.use.mask
+++ b/profiles/arch/sparc/64ul/package.use.mask
@@ -1,6 +1,11 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+# Sam James <sam@gentoo.org> (2021-03-20)
+# jit isn't supported on sparc64 and causes a bus error
+# in for grep -P. Debian completely disable it too.
+dev-libs/libpcre jit
+
# Matt Turner <mattst88@gentoo.org> (2019-08-26)
# Upstream Git is switching to PCRE2 w/ JIT.
# This is not available on some arches, where a fallback to PCRE1 without JIT is used.