[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.
- [Bug ld/24873] New: ld.bfd fails if -lm is included only once within --start-group … --end-group, dilyan.palauzov at aegee dot org, 2019/08/02
- [Bug ld/24873] ld.bfd fails if -lm is included only once within --start-group … --end-group, dilyan.palauzov at aegee dot org, 2019/08/02
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/02
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries,
dilyan.palauzov at aegee dot org <=
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/04
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/04
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/05
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, dilyan.palauzov at aegee dot org, 2019/08/05
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, dilyan.palauzov at aegee dot org, 2019/08/05
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/06
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/06
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, amodra at gmail dot com, 2019/08/06
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, cvs-commit at gcc dot gnu.org, 2019/08/06
- [Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries, cvs-commit at gcc dot gnu.org, 2019/08/06