[Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries

2019-08-03 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24873 --- Comment #4 from Alan Modra --- > For me is surprizing that the order within --start-group…--end-group does > matter. Yes, that is a bug. In suggesting that just having the second -lm present might work, I was merely trying to characteri

[Bug ld/24574] extern symbols in dlls are misleading under debugger

2019-08-03 Thread martin at martin dot st
https://sourceware.org/bugzilla/show_bug.cgi?id=24574 --- Comment #9 from Martin Storsjö --- I went ahead and dug into this a little bit more. First off, props for the great testcase, it was great to even have the gdb test routine automated. I haven't dug into the gdb sources to figure out exact

[Bug ld/24873] gcc -flto objects result in --start-group … --end-group failure to include --as-needed libraries

2019-08-03 Thread dilyan.palauzov at aegee dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=24873 --- Comment #3 from 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