jedisct1 / libsodium

A modern, portable, easy to use crypto library.
https://libsodium.org
Other
12.18k stars 1.73k forks source link

Failing tests at master branch and gcc 7.4.0 #954

Closed Avatat closed 4 years ago

Avatat commented 4 years ago

I would like to report failing tests:

./../build-aux/test-driver: line 107: 28547 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: core_ed25519
../../build-aux/test-driver: line 107: 28567 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: core_ed25519_h2c
../../build-aux/test-driver: line 107: 28587 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: core_ristretto255
PASS: kdf_hkdf
PASS: pwhash_scrypt
PASS: pwhash_scrypt_ll
PASS: scalarmult_ed25519
../../build-aux/test-driver: line 107: 28683 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: scalarmult_ristretto255
PASS: siphashx24
PASS: xchacha20
============================================================================
Testsuite summary for libsodium 1.0.18
============================================================================
# TOTAL: 80
# PASS:  76
# SKIP:  0
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0

Tests fail after building from master branch, using gcc 7.4.0 on Ubuntu 18.04 (TravisCI env). There are no failing tests when using clang 7.0.0 (Ubuntu 18.04, TravisCI) and gcc 9.3.0 (Ubuntu 20.04).

Avatat commented 4 years ago

Tests works fine before commit 4967aa8f23e1b6ea268acc11f936430fbc2d2a87.

jedisct1 commented 4 years ago

This is weird. The Travis tests on Xenial seems to be passing https://travis-ci.com/github/jedisct1/libsodium