bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/24873] gcc -flto objects result in --start-group … --end-group f


From: dilyan.palauzov at aegee dot org
Subject: [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries
Date: Sat, 03 Aug 2019 15:03:25 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24873

--- Comment #3 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee 
dot org> ---
Yes, LTO is involved, but the compiler does not get an explict -flto, so one of
the linked libraries, compiled in the past and not contained in the tarball of
libinput, uses LTO and the linker uses then LTO plugins.

I confirm, that keeping the second -lm and removing the first -lm does link
properly.

For me is surprizing that the order within --start-group…--end-group does
matter.  I cannot derive this from the documantation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]