test errors with clang 8 on openbsd
Issue #76
new
One sees 2 tests failing
PASS: test_elimination
PASS: test_multiplication
PASS: test_trsm
PASS: test_ple
PASS: test_solve
PASS: test_kernel
FAIL: test_random
PASS: test_smallops
PASS: test_transpose
PASS: test_colswap
PASS: test_misc
FAIL: test_invert
PASS: test_alignment
PASS: test_djb
============================================================================
Testsuite summary for m4ri 20200125
============================================================================
# TOTAL: 14
# PASS: 12
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
=========================================
m4ri 20200125: tests/test-suite.log
=========================================
# TOTAL: 14
# PASS: 12
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test_random
=================
randomize m: 20, n: 1 FAILED
randomize m: 20, n: 2 FAILED
randomize m: 20, n: 32 FAILED
randomize m: 20, n: 50 FAILED
randomize m: 20, n: 51 FAILED
randomize m: 20, n: 52 FAILED
randomize m: 20, n: 63 FAILED
randomize m: 20, n: 64 FAILED
randomize m: 20, n: 65 FAILED
randomize m: 20, n: 65 FAILED
randomize m: 20, n: 66 FAILED
randomize m: 20, n: 96 FAILED
randomize m: 20, n: 114 FAILED
randomize m: 20, n: 115 FAILED
randomize m: 20, n: 116 FAILED
randomize m: 20, n: 127 FAILED
randomize m: 20, n: 128 FAILED
randomize m: 20, n: 129 FAILED
randomize m: 20, n: 129 FAILED
randomize m: 20, n: 130 FAILED
randomize m: 20, n: 160 FAILED
randomize m: 20, n: 178 FAILED
randomize m: 20, n: 179 FAILED
randomize m: 20, n: 180 FAILED
randomize m: 20, n: 191 FAILED
randomize m: 20, n: 192 FAILED
randomize m: 20, n: 193 FAILED
TEST FAILED!
FAIL test_random (exit status: 1)
FAIL: test_invert
=================
Segmentation fault (core dumped)
FAIL test_invert (exit status: 139)
Probably random tests errors are due to a minor quirk in OS random facilities, but segfault in test_inverse is a worry.
I can offer access to an OpenBSD host if aonyone wants to have a go in fixing this.
Comments (9)
-
repo owner -
reporter Are you sure you’re not using BSD make (I naturally used GNU make)
-
reporter $ ./config.status --config '--prefix=/home/dima' 'CC=clang' 'CFLAGS=-I/usr/local/include ' 'LDFLAGS=-L/usr/local/lib ' 'CPPFLAGS=-I/usr/local/include
and this is how I configured. Perhaps you cannot skip
--prefix
?
-
repo owner That did indeed do the trick, can you check again, I might have fixed the sigsegv.
-
reporter Yep, the sigsegv is gone for me too, only the
test_random
still fails. -
repo owner I can’t reproduce those on
OpenBSD openbsd6.localdomain 6.6 GENERIC.MP#372 amd64
-
repo owner - marked as minor
-
reporter maybe it’s because I’m running openbsd 6.6 on a VM hosted on openbsd (https://openbsd.amsterdam/), I get this error.
OpenBSD sagemath.openbsd.amsterdam 6.6 GENERIC#7 amd64
-
What’s the status?
- Log in to comment
I tried to see if I can reproduce on Debian GNU/Linux with Clang 7 but no dice:
passes. I tried running the same in an OpenBSD box but I can’t even do
make check