[Bug lto/82172] Destruction of basic_string in basic_stringbuf::overflow with _GLIBCXX_USE_CXX11_ABI=0, -flto, and C++17 mode results in invalid delete
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 29 07:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |INVALID
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Gubbins from comment #21)
> (In reply to Martin Liška from comment #20)
> > Your failure happens even w/o LTO, am I right?
> > But yes, the problem looks very similar to what happens for ld.bfd.
>
> You are right.
>
> Does anyone know how I would raise this with someone who can fix it on the
> Darwin side? Or could it be worked around by gcc?
Linker should provide precise information to GCC.
The bug is fixed in binutils, I'm closing this.
More information about the Gcc-bugs
mailing list