vlm / asn1c

The ASN.1 Compiler
http://lionet.info/asn1c/
BSD 2-Clause "Simplified" License
1.04k stars 555 forks source link

make check fails #277

Open ronMilne opened 6 years ago

ronMilne commented 6 years ago

I get the following errors when running check (platform Raspberry Pi B+)

make[4]: Entering directory '/home/pi/Avanade/Workshop/Tools/asn1c/tests/tests-skeletons' FAIL: check-ber_tlv_tag FAIL: check-length FAIL: check-bits FAIL: check-OIDs FAIL: check-GeneralizedTime FAIL: check-OCTET_STRING FAIL: check-UTF8String FAIL: check-UTCTime FAIL: check-INTEGER FAIL: check-REAL FAIL: check-XER FAIL: check-OER-support FAIL: check-OER-INTEGER FAIL: check-OER-NativeEnumerated FAIL: check-PER-support FAIL: check-PER-UniversalString FAIL: check-PER-INTEGER

Testsuite summary for asn1c 0.9.29

TOTAL: 17

PASS: 0

SKIP: 0

XFAIL: 0

FAIL: 17

XPASS: 0

ERROR: 0

Any ideas? Ron.

velichkov commented 6 years ago

Hi @ronMilne,

Any ideas?

It's hard to say without the full log. Have a look in tests/tests-skeletons/test-suite.log, upload it somewhere and provide a link here.

ronMilne commented 6 years ago

For all of them they have the following entry

FAIL: check-ber_tlv_tag

==21121==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. FAIL check-ber_tlv_tag (exit status: 1)

velichkov commented 6 years ago

Hi @ronMilne,

ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

Check that you have libasan and libubsan installed on your system or try to build with disabled sanitizers.

make clean
./configure  --disable-test-ubsan --disable-test-asan
make V=1
make test

If it still fails upload the full log somewhere and provide a link