This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/56557] [4.8 Regression] Link error about `std::fstream' or `std::stringstream' with `-flto' and `-rdynamic' options
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Mar 2013 13:58:07 +0000
- Subject: [Bug libstdc++/56557] [4.8 Regression] Link error about `std::fstream' or `std::stringstream' with `-flto' and `-rdynamic' options
- Auto-submitted: auto-generated
- References: <bug-56557-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56557
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> 2013-03-11 13:58:07 UTC ---
Yes, I agree it is GNU LD bug.
There is also GCC problem: this particular symbol should not appear in the LTO
symtab. It appears because we see the refernece, but the reference itself comes
from external var initializer and ought to be ignored. I will fix this
problem.
Honza