Rather than hard-coding a list of architectures in the build script, I have
included this very simple program:
#define SLJIT_CONFIG_AUTO
#include "../sljit/sljitConfigInternal.h"
#include <stdio.h>
int main(void)
{
#ifndef SLJIT_CONFIG_UNDEFINED
printf("--enable-jit");
#endif
return 0;
}
so it uses the macros that are in sljit to decide whether it is supported, and
outputs --enable-jit accordingly.
However I haven't yet tested it on any architecture that doesn't support JIT,
so please re-open this bug if necessary.
On 18 Apr 2014, at 06:36, Helmut Grohne <[email protected]> wrote:
> Package: src:pcre3
> Version: 1:8.31-3
> Severity: important
> Tags: patch
> User: [email protected]
> Usertags: rebootstrap
>
> Since you added --enable-jit, pcre3 startes to FTBFS on various
> architectures:
>
> http://buildd.debian-ports.org/status/package.php?p=pcre3
>
> For architectures such as arm64 or m68k, the jit simply is not
> implemented and the CPU detection in sljit fails. I suggest that you
> disable the jit for architectures where it is not supported.
>
> I attach a patch for arm64 and m68k, but this likely affects others as
> well.
>
> Helmut
> <pcre3_disable_jit.debdiff>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]