[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-06 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #25 from Jan Hubicka --- Author: hubicka Date: Tue Feb 6 13:27:04 2018 New Revision: 257412 URL: https://gcc.gnu.org/viewcvs?rev=257412=gcc=rev Log: PR lto/81004 * lto.c: Include builtins.h

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #24 from Matt Godbolt --- Thanks so much for looking in to this Jan!

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #23 from Jan Hubicka --- Created attachment 43340 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43340=edit Patch in am testing This patch transitions the info to merged tree and adds sanity check that we miss no resolutions.

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #22 from Jan Hubicka --- OK, the bug reproduces with tree.c changes reverted and I see what is going on. We have two files in res file we get: 2 lines.o 7 245 4d647b2020ca5815 PREVAILING_DEF_IRONLY _Z8validatev 334 4d647b2020ca5815

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #21 from Jan Hubicka --- > It's really fixed on trunk since r257023. Seems like it just went latent. I do not see how that change can fix the problem. Honza

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #20 from Martin Liška --- It's really fixed on trunk since r257023.

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #19 from Jan Hubicka --- Weird, for me I see the problem reproducing with $ ~/8-install/bin/g++ --version g++ (GCC) 8.0.1 20180124 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-02-05 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Jan Hubicka changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-01-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Richard Biener changed: What|Removed |Added Target Milestone|7.3 |7.4 --- Comment #17 from Richard

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2018-01-05 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #16 from Matt Godbolt --- I see the target milestone is 7.3, but this bug is still marked NEW. Has there been any further thought on this? I realise this is a tough one, but we've had to either disable LTO, or roll back to c++14 on

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-12-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-08-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Richard Biener changed: What|Removed |Added Target Milestone|7.2 |7.3

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Richard Biener changed: What|Removed |Added Target Milestone|7.2 |7.3 --- Comment #15 from Richard

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-08-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Richard Biener changed: What|Removed |Added Target Milestone|7.2 |7.3 --- Comment #15 from Richard

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-09 Thread matt at godbolt dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #14 from Matt Godbolt --- I've just hit this same issue too (in only one of several projects I build with 7.1 and LTO). If anyone has any thoughts at a workaround I'd be very appreciative. Thanks!

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #13 from Jonathan Wakely --- If you undo that change then you can't link C++17 programs using std::string at all, not just using LTO. That's why the change was done in the first place.

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-08 Thread a3at.mail at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #12 from Azat --- > Started with r238959. If you revert this then it fixes some of problems (even though this is a temporary solution), but there are more, and now this is *only without -flto* (i.e. -Wall "-Werror -Wunknown-pragmas

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-08 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #11 from Markus Trippelsdorf --- It goes from: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev/37 (__comp_dtor ) @0x7f9a6e65eb80 Type: function definition

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |lto --- Comment #10 from Jonathan

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #8 from Martin Liška --- Started with r238959.

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Markus Trippelsdorf changed: What|Removed |Added CC||hubicka at ucw dot cz --- Comment

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Markus Trippelsdorf changed: What|Removed |Added Attachment #41494|0 |1 is obsolete|

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #5 from Markus Trippelsdorf --- Created attachment 41494 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41494=edit crappy auto reduced testcase Here's the reduced testcase anyway: % g++ -O2 -c value_semantic.ii % g++ -w

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 --- Comment #4 from Markus Trippelsdorf --- Created attachment 41493 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41493=edit unreduced testcase Here is the unreduced testcase: g++ -w -flto -Wl,--no-demangle l.ii o.ii -O1 -std=c++1z

[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options

2017-06-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004 Markus Trippelsdorf changed: What|Removed |Added Keywords||lto