commit: fd573f430b05c418f74a5700cc182568123c812a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 20 00:42:06 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 20 00:44:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd573f43
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 <AT> gentoo.org> profiles/arch/sparc/64ul/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/arch/sparc/64ul/package.use.mask b/profiles/arch/sparc/64ul/package.use.mask index 8d67239c253..343cd157d4d 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 <[email protected]> (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 <[email protected]> (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.
