Good day All.

We are now working on porting Tizen to AArch64 architecture, and package 'pcre' fails to build with folowing error:

[  762s] pcre_jit_compile.c:65:2: error: #error Unsupported architecture
[  762s]  #error Unsupported architecture

To fix this error we propose disabling JIT for AArch64.

Build results for current version can be found here:
https://build.tizen.org/package/show?package=pcre_fail&project=devel%3Aarm_toolchain%3AMobile%3Atest

Build results with disabled JIT:
https://build.tizen.org/package/show?package=pcre&project=devel%3Aarm_toolchain%3AMobile%3Atest


Patch is attached and also committed to review.tizen.org:
https://review.tizen.org/gerrit/19896

Please review and apply this patch.

--
BR,
Yury Usishchev

diff --git a/packaging/pcre.spec b/packaging/pcre.spec
index b522126..b9c0e87 100644
--- a/packaging/pcre.spec
+++ b/packaging/pcre.spec
@@ -101,6 +101,9 @@ autoreconf -fiv
 %ifarch %ix86 x86_64 %arm ppc ppc64 mips
 	    --enable-jit \
 %endif
+%ifarch aarch64
+	    --disable-jit \
+%endif
 	    --enable-static \
 	    --with-link-size=2 \
 	    --with-match-limit=10000000 \
_______________________________________________
Product-dev mailing list
[email protected]
https://lists.tizen.org/listinfo/product-dev

Reply via email to