This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Jun 2017 16:05:03 +0000
- Subject: [Bug lto/81004] [7/8 Regression] linking failed with -flto and static libboost_program_options
- Auto-submitted: auto-generated
- References: <bug-81004-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81004
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
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.