Project

General

Profile

Bug #988

Audacious cannot be built with -flto

Added by Artem S. Tashkinov 15 days ago. Updated 14 days ago.

Status:
Rejected
Priority:
Minor
Assignee:
-
Category:
-
Target version:
-
Start date:
May 17, 2020
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

Steps to reproduce:

export CFLAGS="-O2 -flto=`nproc`" 
export CXXFLAGS="$CFLAGS" 
export LDFLAGS="-flto=`nproc`" 

./configure --enable-gtk --disable-qt && make -j`nproc`
..
/usr/bin/ar: dfa.o: plugin needed to handle lto object
/usr/bin/ranlib: libguess.a(dfa.o): plugin needed to handle lto object
..
/usr/bin/ar: aud-dbus.o: plugin needed to handle lto object
/usr/bin/ranlib: aud-dbus.a(aud-dbus.o): plugin needed to handle lto object
..
/usr/bin/ld: /tmp/audtool.yuTAq3.ltrans0.ltrans.o: in function `playback_playing':
<artificial>:(.text+0xad): undefined reference to `obj_audacious_call_playing_sync'
/usr/bin/ld: /tmp/audtool.yuTAq3.ltrans0.ltrans.o: in function `playback_paused':
<artificial>:(.text+0xed): undefined reference to `obj_audacious_call_paused_sync'
..
collect2: error: ld returned 1 exit status
Failed to link audtool!
..

History

#1 Updated by John Lindgren 14 days ago

  • Status changed from New to Rejected

This is a toolchain issue, Google could have told you that.

https://bugzilla.redhat.com/show_bug.cgi?id=1678826

Also available in: Atom PDF