Skip to content

Commit

Permalink
pcre: disable jit on powerpc64
Browse files Browse the repository at this point in the history
It appears that both using gcc and clang something gets misoptimised
around pcre's jit. So disable jit for now.
  • Loading branch information
victorjulien committed Jun 7, 2017
1 parent 4a0e4cb commit 6c04e05
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -552,10 +552,19 @@
[ pcre_jit_available=yes ], [ pcre_jit_available=no ]
)

# bug 1693, libpcre 8.35 is broken and debian jessie is still using that
if test "$libpcre_buggy_found" = "yes"; then
pcre_jit_available="no, libpcre 8.35 blacklisted"
fi
case $host in
*powerpc64*)
# on powerpc64, both gcc and clang lead to SIGILL in
# unittests when jit is enabled.
pcre_jit_available="no, pcre jit disabled for powerpc64"
;;
*)
# bug 1693, libpcre 8.35 is broken and debian jessie is still using that
if test "$libpcre_buggy_found" = "yes"; then
pcre_jit_available="no, libpcre 8.35 blacklisted"
fi
;;
esac

if test "x$pcre_jit_available" = "xyes"; then
AC_MSG_RESULT(yes)
Expand Down

0 comments on commit 6c04e05

Please sign in to comment.