Modify

Ticket #8819 (closed Bugs: duplicate)

Opened 9 months ago

Last modified 9 months ago

Boost log too many sections compile error with Mingw w64

Reported by: Andrew Ho <helloworld922@…> Owned by: andysem
Milestone: To Be Determined Component: log
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Trying to compile Boost log with Mingw w64 for x64 Windows, I get the following error output:

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"

This bug exists in 1.54.0 as well.

Attachments

Change History

comment:1 Changed 9 months ago by andysem

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicates #8786.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.