[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2020-03-05 Thread dobonachea at lbl dot gov
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 Dan Bonachea changed: What|Removed |Added CC||dobonachea at lbl dot gov --- Comment

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED See Also|

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 --- Comment #7 from H.J. Lu --- get_symbols has if (!blhe) { /* The plugin is called to claim symbols in an archive element from plugin_object_p. But those symbols aren't needed to create

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-10 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 --- Comment #6 from Martin Liska --- Sorry for not precise reproducer. I was reducing that from an existing package that normally succeeds w/o LTO. So what about this: $ cat main.i int wrl; int main () { return 0; } $ cat lib.i int wrl;

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 H.J. Lu changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #5 from H.J. Lu ---

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-09 Thread zenith432 at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 --- Comment #4 from zenith432 at users dot sourceforge.net --- What difference does it make? This is undefined behavior. It doesn't link -fno-lto either. gcc -c main.i && gcc -c lib.i && ar rusc lib.a lib.o gcc main.o lib.a lib.a

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-09 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 Martin Liska changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-03 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 Martin Liska changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 H.J. Lu changed: What|Removed |Added CC|hjl at sourceware dot org | -- You are receiving this mail

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-07-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug ld/23350] multiple prevailing defs for unused variable in lto mode

2018-06-28 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=23350 Martin Liska changed: What|Removed |Added CC||hjl at sourceware dot org,