[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED See Also|

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-25 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 Martin Liška changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Martin Liška

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #4 from H.J. Lu --- I

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 Martin Liška changed: What|Removed |Added CC||matz at gcc dot gnu.org,

[Bug lto/90229] Interaction among -Wl,--as-needed and LTO results in an undefined symbol

2019-04-24 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90229 --- Comment #1 from Martin Liška --- $ cat 1.ii extern int FLAGS_verbose; extern "C" void pthread_create(); void a(const char *b...) { if (FLAGS_verbose) { __builtin_va_list ap; __builtin_va_start(ap, b); } } void a() {