Forgot add iwd@
Resending reply to the list as well
---------- Forwarded message ---------
From: Tomasz Kłoczko <kloczko.tomasz(a)gmail.com>
Date: Mon, 23 Aug 2021 at 17:42
Subject: Re: iwd 1.17 test suite is failing
To: Denis Kenzior <denkenz(a)gmail.com>
On Mon, 23 Aug 2021 at 14:58, Denis Kenzior <denkenz(a)gmail.com> wrote:
[..]
This would have shown up earliest at iwd 1.16. However, I'm not
sure what
this
is about? We use
unit_test_sae_LDFLAGS = -Wl,-wrap,l_ecc_supported_ike_groups
Perhaps LTO somehow interferes with that? ell has a unit test that uses
the
same mechanism for quite some time..
I should check that am file before I wrote that email :/
Yes, it is a known that gcc issue that LTO is not working with -Wl,-wrap :/
I've been trying to use kind of workaround by add on top typical set of LTO
options passed in $CLAGS, $LDFLAGS, $CC, RANLIB, $NAM by add to CFLAGS
-ffat-lto-objects
and run 'make check unit_test_sae_LDFLAGS="-Wl,-wrap,l_ecc_supported_ike_groups
-fno-lto"` but it still fails
[tkloczko@barrel iwd-1.17]$ make check unit_test_sae_LDFLAGS="-fno-lto
-Wl,-wrap,l_ecc_supported_ike_groups"
make --no-print-directory check-am
make --no-print-directory check-TESTS
PASS: unit/test-cmac-aes
PASS: unit/test-hmac-md5
PASS: unit/test-hmac-sha1
PASS: unit/test-hmac-sha256
PASS: unit/test-prf-sha1
PASS: unit/test-kdf-sha256
PASS: unit/test-crypto
./build-aux/test-driver: line 107: 741643 Aborted (core
dumped) "$@" > $log_file 2>&1
FAIL: unit/test-eapol
PASS: unit/test-mpdu
PASS: unit/test-ie
PASS: unit/test-util
PASS: unit/test-ssid-security
PASS: unit/test-arc4
PASS: unit/test-wsc
PASS: unit/test-eap-mschapv2
PASS: unit/test-eap-sim
PASS: unit/test-sae
PASS: unit/test-p2p
PASS: unit/test-band
PASS: unit/test-client
============================================================================
Testsuite summary for iwd 1.17
============================================================================
# TOTAL: 20
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[3]: *** [Makefile:2661: test-suite.log] Error 1
make[2]: *** [Makefile:2769: check-TESTS] Error 2
make[1]: *** [Makefile:3113: check-am] Error 2
make: *** [Makefile:3115: check] Error 2
[tkloczko@barrel iwd-1.17]$ cat ./test-suite.log
================================
iwd 1.17: ./test-suite.log
================================
# TOTAL: 20
# PASS: 19
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: unit/test-eapol
=====================
test-eapol: unit/test-eapol.c:3625: test_ap_sta_hs_event: Assertion `event
!= HANDSHAKE_EVENT_FAILED' failed.
FAIL unit/test-eapol (exit status: 134)
So with that work around it at least it does not end with SIGSEV :)
Nevertheless it is only a workaround and I would not recommend apply any
changes for that in iwd automake files.
Simple this is a gcc bug.
BTW is it possible to organize iwd/eel mirrors on github/gitlab to
be
able
> submit such an issue without being forced to subscribe to yet another
mailing
> list or put in README files details how to submit the issue?
>
We'll look into it.
Thx in advance :)
kloczek
--
Tomasz Kłoczko | LinkedIn:
http://lnkd.in/FXPWxH