Modify

Opened 4 years ago

Closed 4 years ago

#8819 closed Bugs (duplicate)

Boost log too many sections compile error with Mingw w64

Reported by: Andrew Ho <helloworld922@…> Owned by: Andrey Semashev
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 (0)

Change History (1)

comment:1 Changed 4 years ago by Andrey Semashev

Resolution: duplicate
Status: newclosed

Duplicates #8786.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andrey Semashev.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.