https://sourceware.org/bugzilla/show_bug.cgi?id=25593
--- Comment #6 from Alan Modra <amodra at gmail dot com> --- By "won't work" I mean won't preserve the original order of libraries. By the look of it, if you are linking --as-needed t.o a.so b,so c.so with a t.o that is lto and requires all three libraries, then your patch will result in dt_needed entries in the order c.so, b.so, a.so. -- You are receiving this mail because: You are on the CC list for the bug.