[Pkg-opencl-devel] pocl 0.14 test failures on i386
Andreas Beckmann
anbe at debian.org
Tue Nov 28 18:25:09 UTC 2017
Hi,
pocl 0.14 builds and tests fine on amd64, but I still have test failures on i386:
The following tests FAILED:
16 - kernel/test_fabs (Failed)
69 - runtime/clBuildProgram (Failed)
That one happens all the time:
63/111 Test #16: kernel/test_fabs ....................................................................***Failed Error regular expression found in output. Regex=[FAIL] 26.85 sec
Running test test_fabs...
FAIL: ldexp type=double val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double2 val=nan val2=4 res=nan good=nan
FAIL: ldexp type=double2 val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double3 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double3 val=nan val2=4 res=nan good=nan
FAIL: ldexp type=double3 val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double4 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double4 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double4 val=nan val2=4 res=nan good=nan
FAIL: ldexp type=double4 val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double8 val=-10 val2=4 res=-160 good=-160
FAIL: ldexp type=double8 val=-1000000 val2=4 res=-16000000 good=-16000000
FAIL: ldexp type=double8 val=-1000000000000 val2=4 res=-16000000000000 good=-16000000000000
FAIL: ldexp type=double8 val=-9.9999999999999998e+23 val2=4 res=-1.6e+25 good=-1.6e+25
FAIL: ldexp type=double8 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double8 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double8 val=nan val2=4 res=nan good=nan
FAIL: ldexp type=double8 val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double16 val=-0 val2=4 res=-0 good=-0
FAIL: ldexp type=double16 val=-0.10000000000000001 val2=4 res=-1.6000000000000001 good=-1.6000000000000001
FAIL: ldexp type=double16 val=-0.90000000000000002 val2=4 res=-14.4 good=-14.4
FAIL: ldexp type=double16 val=-1 val2=4 res=-16 good=-16
FAIL: ldexp type=double16 val=-1.1000000000000001 val2=4 res=-17.600000000000001 good=-17.600000000000001
FAIL: ldexp type=double16 val=-10 val2=4 res=-160 good=-160
FAIL: ldexp type=double16 val=-1000000 val2=4 res=-16000000 good=-16000000
FAIL: ldexp type=double16 val=-1000000000000 val2=4 res=-16000000000000 good=-16000000000000
FAIL: ldexp type=double16 val=-9.9999999999999998e+23 val2=4 res=-1.6e+25 good=-1.6e+25
FAIL: ldexp type=double16 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double16 val=-inf val2=4 res=-inf good=-inf
FAIL: ldexp type=double16 val=nan val2=4 res=nan good=nan
FAIL: ldexp type=double16 val=-1.7976931348623157e+308 val2=4 res=-inf good=-inf
FAIL: ldexp type=double16 val=-2.2250738585072014e-308 val2=4 res=-3.5601181736115222e-307 good=-3.5601181736115222e-307
FAIL: ldexp type=double16 val=-2.2204460492503131e-16 val2=4 res=-3.5527136788005009e-15 good=-3.5527136788005009e-15
FAIL: ldexp type=double16 val=-0 val2=4 res=-0 good=-0
OK
and that one happens at least half of the time:
*** Error in `/build/pocl-0.14/obj-i686-linux-gnu/tests/runtime/test_clBuildProgram': double free or corruption (!prev): 0x56d01918 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x698aa)[0xf760d8aa]
/lib/i386-linux-gnu/libc.so.6(+0x705f7)[0xf76145f7]
/lib/i386-linux-gnu/libc.so.6(+0x70e46)[0xf7614e46]
/build/pocl-0.14/obj-i686-linux-gnu/tests/runtime/test_clBuildProgram(main+0xd9a)[0x5659a89a]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xf75bc456]
/build/pocl-0.14/obj-i686-linux-gnu/tests/runtime/test_clBuildProgram(+0x229b)[0x5659b29b]
======= Memory map: ========
<snip>
49/111 Test #69: runtime/clBuildProgram ..............................................................***Failed Error regular expression found in output. Regex=[FAIL] 7.56 sec
CMake Error at /build/pocl-0.14/cmake/run_test.cmake:22 (message):
FAIL: Test exited with nonzero code:
/build/pocl-0.14/obj-i686-linux-gnu/tests/runtime/test_clBuildProgram
STDOUT:
STDERR:
1 warning and 2 errors generated.
preprocess failure log[0]: Invalid build option: -fnothing-to-see-here
1 warning and 1 error generated.
preprocess failure log[0]: error:
/build/pocl-0.14/debian/testsuite-tmp-home/.cache/pocl/kcache/temp_rcsAmW.cl:1:10:
expected "FILENAME" or <FILENAME>
warning:
/build/pocl-0.14/debian/testsuite-tmp-home/.cache/pocl/kcache/temp_rcsAmW.cl:1:10:
missing terminating '"' character
cl_program callback (via pfn_notify)
OK
Deprecated -cl-strict-aliasing log[0]: This build option is supported after
clang3.9: -cl-strict-aliasing
For llvm-3.9 the situation doe not improve:
The following tests FAILED:
9 - kernel/test_hadd_loopvec (Failed)
10 - kernel/test_hadd_loops (Failed)
15 - kernel/test_rotate (Failed)
16 - kernel/test_fabs (Failed)
Neither for llvm-4.0:
The following tests FAILED:
3 - kernel/test_convert_type_1 (Failed)
4 - kernel/test_convert_type_2 (Failed)
5 - kernel/test_convert_type_4 (Failed)
6 - kernel/test_convert_type_8 (Failed)
7 - kernel/test_convert_type_16 (Failed)
12 - kernel/test_length_distance (Failed)
13 - kernel/test_fmin_fmax_fma (Failed)
16 - kernel/test_fabs (Failed)
18 - kernel/test_frexp_modf (Failed)
109 - examples/scalarwave (SEGFAULT)
110 - examples/trig (SEGFAULT)
111 - EinsteinToolkit (SEGFAULT)
amd64 passes the tests in both cases (but the kernel tests seem to run much longer with 4.0)
pocl 0.14 does not support llvm-5.0
The experimental branch is up-to-date (for building with llvm-3.8).
Andreas
More information about the Pkg-opencl-devel
mailing list