iwd FTBFS with LTO enabled

Bug #1956950 reported by Graham Inggs
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
iwd (Debian)
New
Unknown
iwd (Ubuntu)
Fix Released
Low
Unassigned
lto-disabled-list (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Excerpt from the build log:

/bin/bash ./libtool --tag=CC --mode=link gcc -fvisibility=hidden -DUNITDIR=\""./unit/"\" -DCERTDIR=\""./unit/"\" -DJSMN_PARENT_LINKS -DJSMN_STRICT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro -Wl,-z,now -o unit/test-ssid-security unit/test-ssid-security.o src/ie.o src/common.o -lell
libtool: link: gcc -fvisibility=hidden -DUNITDIR=\"./unit/\" -DCERTDIR=\"./unit/\" -DJSMN_PARENT_LINKS -DJSMN_STRICT -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z -Wl,relro -Wl,-z -Wl,now -o unit/test-ssid-security unit/test-ssid-security.o src/ie.o src/common.o -lell
/usr/bin/ld: /tmp/ccjo7giz.ltrans0.ltrans.o: in function `sae_choose_next_group':
./src/sae.c:141: undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/ccjo7giz.ltrans0.ltrans.o: in function `sae_rx_authenticate':
./src/sae.c:183: undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/ccjo7giz.ltrans0.ltrans.o: in function `handshake_state_free':
./src/handshake.c:49: undefined reference to `__wrap_l_ecc_supported_ike_groups'
/usr/bin/ld: /tmp/ccjo7giz.ltrans0.ltrans.o:./src/handshake.c:49: undefined reference to `__wrap_l_ecc_supported_ike_groups'
collect2: error: ld returned 1 exit status

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in iwd (Ubuntu):
status: New → Confirmed
Changed in iwd (Ubuntu):
importance: Undecided → Low
Revision history for this message
Graham Inggs (ginggs) wrote :

I should have marked lto-disabled-list as also being affected before uploading. Doing so now.

lto-disabled-list (18) jammy; urgency=medium

  * Add the following packages:
    - bart (LP: #1956945)
    - bart-cuda (LP: #1956947)
    - gcc-or1k-elf (LP: #1956948)
    - iwd (LP: #1956950)
    - libkcapi (LP: #1956951)
    - librandomx (LP: #1956952)
    - libspectrum (LP: #1956953)
    - rhonabwy (LP: #1956955)

 -- Graham Inggs <email address hidden> Mon, 10 Jan 2022 12:39:10 +0000

Changed in lto-disabled-list (Ubuntu):
status: New → Fix Released
Changed in iwd (Debian):
status: Unknown → New
Revision history for this message
Simon Chopin (schopin) wrote :
Changed in iwd (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.