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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils