Boost C++ Libraries: Ticket #8773: Shrink Boost.Log to reasonable size https://svn.boost.org/trac10/ticket/8773 <p> Libraries of libboost_log_setup* weight too much. </p> <p> This ticket is created because of question in <a class="ext-link" href="http://boost.2283326.n4.nabble.com/Extremely-large-Visual-Studio-libboost-log-setup-binaries-td4649229.html"><span class="icon">​</span>Boost mailing lists</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8773 Trac 1.4.3 Andrey Semashev Sun, 14 Jul 2013 11:31:20 GMT <link>https://svn.boost.org/trac10/ticket/8773#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8773#comment:1</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85031" title="Extracted default formatter factory to a separate translation unit. ...">[85031]</a>) Extracted default formatter factory to a separate translation unit. Made all default factories optional, the factories can be disabled with the new config macro BOOST_LOG_WITHOUT_DEFAULT_FACTORIES. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8773" title="#8773: Bugs: Shrink Boost.Log to reasonable size (closed: fixed)">#8773</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8786" title="#8786: Bugs: Boost.Log fails to build with 64-bit MinGW (closed: fixed)">#8786</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sat, 03 Aug 2013 16:48:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8773#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8773#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85201" title="Settings parser rewritten without Boost.Spirit to reduce compiled ...">[85201]</a>) Settings parser rewritten without Boost.Spirit to reduce compiled binary size. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8773" title="#8773: Bugs: Shrink Boost.Log to reasonable size (closed: fixed)">#8773</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sat, 03 Aug 2013 18:41:55 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8773#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8773#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85202" title="Extracted Boost.Xpressive use to a separate translation unit in ...">[85202]</a>) Extracted Boost.Xpressive use to a separate translation unit in attempt to work around MinGW 64 bit compiler limitation on the number of sections in the object file. Made some changes to reduce binary size. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8786" title="#8786: Bugs: Boost.Log fails to build with 64-bit MinGW (closed: fixed)">#8786</a>, <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8773" title="#8773: Bugs: Shrink Boost.Log to reasonable size (closed: fixed)">#8773</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 11 Aug 2013 17:03:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8773#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8773#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85303" title="Formatter parser rewritten to avoid using Boost.Spirit to reduce ...">[85303]</a>) Formatter parser rewritten to avoid using Boost.Spirit to reduce compiled binary size. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8773" title="#8773: Bugs: Shrink Boost.Log to reasonable size (closed: fixed)">#8773</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 18 Aug 2013 15:10:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8773#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8773#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85391" title="Filter parser rewritten to avoid using Boost.Spirit to reduce compiled ...">[85391]</a>) Filter parser rewritten to avoid using Boost.Spirit to reduce compiled binary size. Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8773" title="#8773: Bugs: Shrink Boost.Log to reasonable size (closed: fixed)">#8773</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Sun, 18 Aug 2013 15:27:25 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8773#comment:6 https://svn.boost.org/trac10/ticket/8773#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> After all modifications the library sizes were reduced: </p> <pre class="wiki"> 22 688 304 libboost_log-vc110-mt-1_55.lib 74 525 462 libboost_log-vc110-mt-gd-1_55.lib 79 925 506 libboost_log_setup-vc110-mt-1_55.lib 208 089 566 libboost_log_setup-vc110-mt-gd-1_55.lib </pre> Ticket