Summary: | memcheck/tests/leak_cpp_interior fails with GCC 5.1+ | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Aleksandar Rikalo <aleksandar.rikalo> |
Component: | memcheck | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ivosh, mips32r2 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Turn off CXX11_ABI |
Description
Aleksandar Rikalo
2016-11-29 10:47:39 UTC
I cannot comment anything about std::string implementation. However for your second query have a look at bug: https://bugs.kde.org/show_bug.cgi?id=345307 Created attachment 102518 [details]
Turn off CXX11_ABI
This patch forces leak_cpp_interior to be compiled using old implementation of std::string.
(In reply to Ivo Raisr from comment #1) > I cannot comment anything about std::string implementation. > However for your second query have a look at bug: > https://bugs.kde.org/show_bug.cgi?id=345307 Thank You for quick response. I've suggested patch for the first problem. (In reply to Aleksandar Rikalo from comment #2) > Created attachment 102518 [details] > Turn off CXX11_ABI > > This patch forces leak_cpp_interior to be compiled using old implementation > of std::string. This patch looks fine by me. If no one objects, I will commit it later today. (In reply to Aleksandar Rikalo from comment #2) > Created attachment 102518 [details] > Turn off CXX11_ABI > > This patch forces leak_cpp_interior to be compiled using old implementation > of std::string. Patch submitted in r16217. We should leave the bug open, as the original issue (closely related to #345307) is still valid. Closing this as (partially) fixed. For the remaining part of the problem, check https://bugs.kde.org/show_bug.cgi?id=345307. |