Bug#745222: src:pcre3: FTCBFS on arm64 m68k and others: sljit detection uses build compiler

2014-04-23 Thread Mark Baker
I fully agree with your assessment. Would you like me to work on an improved patch or would you like to do it yourself? I'd like to do it myself. I'm going to add a shell script as follows: #!/bin/sh $1-gcc jit-test.c -o/dev/null If [ $? -eq 0 ]; then

Bug#745222: src:pcre3: FTCBFS on arm64 m68k and others: sljit detection uses build compiler

2014-04-22 Thread Mark Baker
On 19 Apr 2014, at 10:03, Helmut Grohne hel...@subdivi.de wrote: pcre3_8.31-4.1.debdiff Surely that's not going to work? Having used the host compiler to build the test program, it then tries to execute it on the build machine. I think what is needed is to use #error to abort the compilation

Bug#745222: src:pcre3: FTCBFS on arm64 m68k and others: sljit detection uses build compiler

2014-04-22 Thread Helmut Grohne
Control: tags -1 - patch On Tue, Apr 22, 2014 at 10:40:22PM +0100, Mark Baker wrote: Surely that's not going to work? Having used the host compiler to build the test program, it then tries to execute it on the build machine. Sorry, that shot was too quick. It does indeed work, but not for the

Bug#745222: src:pcre3: FTCBFS on arm64 m68k and others: sljit detection uses build compiler

2014-04-19 Thread Helmut Grohne
Package: src:pcre3 Version: 8.31-4 Severity: normal Tags: patch User: helm...@debian.org Usertags: rebootstrap Thanks for your improved fix for the FTBFS. While your solution does indeed work for native builds, the package still FTCBFS, because your detection applies to the build architecture