Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-02-07 Thread Punit Agrawal
Control: forwarded -1 https://github.com/pocl/pocl/issues/610 Control: forwarded -1 https://github.com/pocl/pocl/issues/612 On Tue, Feb 6, 2018 at 3:22 PM, Andreas Beckmann wrote: > > Thanks. Do you want to report the bugs to upstream? Since you analyzed > them you can probably

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-02-06 Thread Andreas Beckmann
On 2018-02-05 21:31, Punit Agrawal wrote: > On Mon, Feb 5, 2018 at 4:15 PM, Andreas Beckmann wrote: > >> But could you first try, whether the exact same problem occurs if you >> build pocl from the pristine upstream tarball with the default >> configuration options and run the

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-02-05 Thread Punit Agrawal
On Mon, Feb 5, 2018 at 4:15 PM, Andreas Beckmann wrote: > But could you first try, whether the exact same problem occurs if you > build pocl from the pristine upstream tarball with the default > configuration options and run the tests there? Just to make sure it is > not

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-02-05 Thread Andreas Beckmann
On 2018-02-05 16:52, Punit Agrawal wrote: > I couldn't find any definition of FP_ILOGB* macro in sleef (which > seems to be the vector library used by pocl) so it seems to be picking > up that value from system defines or compiler builtins. One way to fix > it would be for pocl to match

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-02-05 Thread Punit Agrawal
I had a chance to investigate the "test_fabs" failure test_fabs checks for correctness for a number of math related functions. Of the ones tested "ilogb" and "ldexp" fail on arm64. ilogb -- ilogb(x) returns FP_ILOGB0 when x = 0, and FP_ILOGBNAN when x = NaN; According to OpenCL 1.2, the

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-01-31 Thread Punit Agrawal
On Wed, Jan 31, 2018 at 12:46 AM, Andreas Beckmann wrote: > On 2018-01-31 01:16, Punit Agrawal wrote: >>> 7/121 Test #22: kernel/test_shuffle_char >>> ***Failed >>> Required regular expression found.Regex=[OK > >>

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char,...,float} fail

2018-01-30 Thread Aaron M. Ucko
Punit Agrawal writes: > There are two issues causing the test failure. I have a patch which > fixes one of the issues. More below... Great, thanks! FTR, this patch works for me too on the porter box amdahl.debian.org. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu,

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char, ..., float} fail

2018-01-30 Thread Andreas Beckmann
On 2018-01-31 01:16, Punit Agrawal wrote: >> 7/121 Test #22: kernel/test_shuffle_char >> ***Failed >> Required regular expression found.Regex=[OK > The attached patch (on top of the package repository) fixes it for me. Thanks. >

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char,...,float} fail

2018-01-30 Thread Punit Agrawal
Hi Aaron, On Tue, Jan 23, 2018 at 1:26 AM, Aaron M. Ucko wrote: > Source: pocl > Version: 0.14-5 > Severity: important > Tags: upstream > Justification: fails to build from source > User: debian-...@lists.debian.org > Usertags: arm64 > > Builds of pocl for arm64 have been

Bug#888062: pocl: FTBFS on arm64: test_fabs and test_shuffle_{char,...,float} fail

2018-01-22 Thread Aaron M. Ucko
Source: pocl Version: 0.14-5 Severity: important Tags: upstream Justification: fails to build from source User: debian-...@lists.debian.org Usertags: arm64 Builds of pocl for arm64 have been failing, per the below excerpts from