Hi Matthew! On 11/02/2015 10:39 AM, John Paul Adrian Glaubitz wrote: > Please disable the JIT on sparc64 as well!
I have prepared an NMU which fixes the FTBFS of pcre3 on sparc64 by disabling the JIT there. I'm attaching the debdiff. Can I get your permission to perform this NMU? Fixing pcre3 on sparc64 is very important as many other packages depend on the package. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru pcre3-8.35/debian/changelog pcre3-8.35/debian/changelog --- pcre3-8.35/debian/changelog 2015-09-11 20:08:35.000000000 +0200 +++ pcre3-8.35/debian/changelog 2015-11-02 15:17:45.000000000 +0100 @@ -1,3 +1,12 @@ +pcre3 (2:8.35-7.3) unstable; urgency=medium + + * Non-maintainer upload. + * Add Disable_JIT_on_sparc64.patch to disable JIT on sparc64. The patch + no_jit_x32_powerpcspe.patch to disable JIT on powerpcspe was already + added in 2:8.35-6 (Closes: #765079). + + -- John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> Mon, 02 Nov 2015 15:13:16 +0100 + pcre3 (2:8.35-7.2) unstable; urgency=low * Non-maintainer upload (with maintainer's permission). diff -Nru pcre3-8.35/debian/patches/Disable_JIT_on_sparc64.patch pcre3-8.35/debian/patches/Disable_JIT_on_sparc64.patch --- pcre3-8.35/debian/patches/Disable_JIT_on_sparc64.patch 1970-01-01 01:00:00.000000000 +0100 +++ pcre3-8.35/debian/patches/Disable_JIT_on_sparc64.patch 2015-11-02 15:08:21.000000000 +0100 @@ -0,0 +1,21 @@ +Description: Disable JIT on sparc64 as it needs explicit porting + The test suite currently fails on sparc64 when the JIT is enabled + as the JIT has not been ported to sparc64 yet. Thus, disable JIT + until it has been explicitly ported to sparc64. + . + +--- pcre3-8.35.orig/sljit/sljitConfigInternal.h ++++ pcre3-8.35/sljit/sljitConfigInternal.h +@@ -125,7 +125,11 @@ + #elif defined(__mips64) + #define SLJIT_CONFIG_MIPS_64 1 + #elif defined(__sparc__) || defined(__sparc) +-#define SLJIT_CONFIG_SPARC_32 1 ++# if defined(__arch64__) ++# define SLJIT_CONFIG_PPC_32 1 ++# else ++# define SLJIT_CONFIG_SPARC_32 1 ++# endif + #elif defined(__tilegx__) + #define SLJIT_CONFIG_TILEGX 1 + #else diff -Nru pcre3-8.35/debian/patches/series pcre3-8.35/debian/patches/series --- pcre3-8.35/debian/patches/series 2015-09-11 20:08:35.000000000 +0200 +++ pcre3-8.35/debian/patches/series 2015-11-02 15:05:00.000000000 +0100 @@ -13,3 +13,4 @@ Fix-bad-compile-for-groups-like-2-0-1999.patch Fix-bad-compilation-for-patterns-like-1-1-with-forwa.patch Fix-buffer-overflow-for-named-recursive-back-referen.patch +Disable_JIT_on_sparc64.patch