[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 --- Comment #7 from H.J. Lu --- (In reply to Alan Modra from comment #6) > 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

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 --- Comment #6 from Alan Modra --- 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

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 --- Comment #5 from H.J. Lu --- (In reply to Alan Modra from comment #4) > My guess is that a simple patch like that won't work when you have more > libraries > and/or a mix of lto/non-lto objects. My patch places newly discovered DT_NEEDED l

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4 f

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 --- Comment #3 from H.J. Lu --- Created attachment 12318 --> https://sourceware.org/bugzilla/attachment.cgi?id=12318&action=edit Try this -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/25499] Documentation typo in binutils.texi: debuging -> debugging

2020-02-24 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25499 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 --- Comment #2 from H.J. Lu --- (In reply to Richard Biener from comment #0) > echo 'void foo() {}' > libt.c > echo 'void foo(); int main() { foo(); }' > t.c > gcc -o libt.so -shared libt.c -Wl,-soname,libt.so -fPIC -flto > gcc -c t.c -flto >

[Bug binutils/25499] Documentation typo in binutils.texi: debuging -> debugging

2020-02-24 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25499 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=83d4d556e29da05aa7aec28ae53be7524c05bedd commit 83d4d556e29da05aa7aec28ae53

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread matz at suse dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Michael Matz changed: What|Removed |Added CC||matz at suse dot de --- Comment #1 fro

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread fab...@ritter-vogt.de
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Fabian Vogt changed: What|Removed |Added CC||fab...@ritter-vogt.de -- You are recei

[Bug ld/25593] --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Richard Biener changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug ld/25593] New: --as-needed breaks DT_NEEDED order with linker plugin

2020-02-24 Thread rguenth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25593 Bug ID: 25593 Summary: --as-needed breaks DT_NEEDED order with linker plugin Product: binutils Version: 2.33 Status: NEW Severity: normal Priority: P2 Compone

[Bug binutils/22829] objcopy/strip removes PT_GNU_RELRO from lld binaries

2020-02-24 Thread ngg at tresorit dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22829 --- Comment #13 from NGG --- (In reply to Fangrui Song from comment #12) > The lld issue was introduced by https://reviews.llvm.org/rL291523 > and was fixed by https://reviews.llvm.org/D56828 . > It affected lld [4.0,8.0). Before 8.0, lld was

[Bug ld/25591] Should /DISCARD/ : { *(.symtab) *(.strtab) } work?

2020-02-24 Thread bp at alien8 dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=25591 Borislav Petkov changed: What|Removed |Added CC||bp at alien8 dot de -- You are rec