Wireless Daemon for Linux
 help / color / mirror / Atom feed
From: Andreas Radke <andyrtr@archlinux.org>
To: iwd@lists.linux.dev
Subject: test failure with LTO still present
Date: Mon, 22 Jan 2024 10:45:41 +0100	[thread overview]
Message-ID: <20240122104541.74f1a697@workstation64.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]

When building the Arch Linux package with lto enabled we are still
getting this old failure here:

PASS: unit/test-eap-sim
  CC       unit/test-sae.o
  CCLD     unit/test-sae
/usr/bin/ld: /tmp/cc7oo1S0.ltrans0.ltrans.o: in function `sae_choose_next_group':
/usr/src/debug/iwd/iwd-2.13/src/sae.c:153:(.text+0xb9b): undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/cc7oo1S0.ltrans0.ltrans.o: in function `sae_rx_authenticate':
/usr/src/debug/iwd/iwd-2.13/src/sae.c:197:(.text+0x2e21): undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/cc7oo1S0.ltrans0.ltrans.o: in function `handshake_state_free':
/usr/src/debug/iwd/iwd-2.13/src/handshake.c:49:(.text+0x3455): undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/cc7oo1S0.ltrans0.ltrans.o:/usr/src/debug/iwd/iwd-2.13/src/handshake.c:49:(.text+0x3491): undefined reference to `__wrap_l_ecc_supported_ike_groups'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2279: unit/test-sae] Error 1
make[2]: *** [Makefile:3016: check-TESTS] Error 2
make[1]: *** [Makefile:3366: check-am] Error 2
make: *** [Makefile:3368: check] Error 2


This seems to be the same error reported to the iwd list here:
https://lore.kernel.org/iwd/c4b50311-84ab-236a-e3cd-49371a9d7eb4@gmail.com/T/#mbe4525effbbcde51a291ece026da1a25ecbfcbc4

and also Debian and Gentoo seems to be affected as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015432
https://bugs.gentoo.org/877755

Is there any way to solve this other than to disable lto?

-Andy
Arch Linux

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2024-01-22  9:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22  9:45 Andreas Radke [this message]
2024-01-22 15:10 ` test failure with LTO still present Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240122104541.74f1a697@workstation64.local \
    --to=andyrtr@archlinux.org \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox