Boost C++ Libraries: Ticket #4589: <runtime-debugging>on does nothing for libstdc++... https://svn.boost.org/trac10/ticket/4589 <p> ...but should at least &lt;define&gt;_GLIBCXX_DEBUG to enable libstdc++ debug mode. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4589 Trac 1.4.3 Steven Watanabe Mon, 30 Aug 2010 00:48:40 GMT component changed; owner set https://svn.boost.org/trac10/ticket/4589#comment:1 https://svn.boost.org/trac10/ticket/4589#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">build</span> </li> </ul> Ticket Kohei Takahashi <flast@…> Thu, 09 Aug 2012 06:22:40 GMT cc set https://svn.boost.org/trac10/ticket/4589#comment:2 https://svn.boost.org/trac10/ticket/4589#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">flast@…</span> added </li> </ul> Ticket anonymous Thu, 09 Aug 2012 09:09:49 GMT attachment set https://svn.boost.org/trac10/ticket/4589 https://svn.boost.org/trac10/ticket/4589 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-libstdc++-runtime-debugging.patch</span> </li> </ul> <p> an old patch that fixes this issue. </p> Ticket Kohei Takahashi <flast@…> Thu, 09 Aug 2012 13:20:57 GMT <link>https://svn.boost.org/trac10/ticket/4589#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4589#comment:3</guid> <description> <p> I think that should use toolset.flags in gcc.jam like followings. </p> <pre class="wiki">--- tools/build/v2/tools/gcc.jam +++ tools/build/v2/tools/gcc.jam @@ -490,6 +490,7 @@ toolset.flags gcc.compile DEFINES &lt;define&gt; ; toolset.flags gcc.compile INCLUDES &lt;include&gt; ; toolset.flags gcc.compile.c++ TEMPLATE_DEPTH &lt;c++-template-depth&gt; ; toolset.flags gcc.compile.fortran USER_OPTIONS &lt;fflags&gt; ; +toolset.flags gcc.compile.c++ DEFINES &lt;runtime-debugging&gt;on : _GLIBCXX_DEBUG ; rule compile.c++.pch ( targets * : sources * : properties * ) { </pre><p> I tested under x86_64-linux-gnu / GCC 4.7.2 and works fine. </p> </description> <category>Ticket</category> </item> </channel> </rss>