Boost C++ Libraries: Ticket #8819: Boost log too many sections compile error with Mingw w64 https://svn.boost.org/trac10/ticket/8819 <p> Trying to compile Boost log with Mingw w64 for x64 Windows, I get the following error output: </p> <pre class="wiki">c:/programs/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/as.exe: ..\build\boost\bin.v2\libs\log\build\gcc-mingw-4.8.1\debug\address-model-64\threading-multi\default_filter_factory.o: too many sections (45089) C:\..\Local\Temp\cckTCQuv.s: Assembler messages: C:\..\Local\Temp\cckTCQuv.s: Fatal error: can't write ..\build\boost\bin.v2\libs\log\build\gcc-mingw-4.8.1\debug\address-model-64\threading-multi\default_filter_factory.o: File too big c:/programs/mingw/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/as.exe: ..\build\boost\bin.v2\libs\log\build\gcc-mingw-4.8.1\debug\address-model-64\threading-multi\default_filter_factory.o: too many sections (45089) C:\..\Local\Temp\cckTCQuv.s: Fatal error: can't close ..\build\boost\bin.v2\libs\log\build\gcc-mingw-4.8.1\debug\address-model-64\threading-multi\default_filter_factory.o: File too big "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads -m64 -fno-strict-aliasing -ftemplate-depth-1024 -std=c++11 -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_DATE_TIME_DYN_LINK=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_BUILDING_THE_LIB=1 -DBOOST_LOG_SETUP_DLL -DBOOST_LOG_USE_AVX2 -DBOOST_LOG_USE_SSSE3 -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_USE_DLL=1 -DDATE_TIME_INLINE -I"." -c -o "..\build\boost\bin.v2\libs\log\build\gcc-mingw-4.8.1\debug\address-model-64\threading-multi\default_filter_factory.o" "libs\log\src\default_filter_factory.cpp" </pre><p> This bug exists in 1.54.0 as well. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8819 Trac 1.4.3 Andrey Semashev Sat, 13 Jul 2013 23:13:20 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8819#comment:1 https://svn.boost.org/trac10/ticket/8819#comment:1 <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">duplicate</span> </li> </ul> <p> Duplicates <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> Ticket