Subject: [Boost-bugs] [Boost C++ Libraries] #10142: Range lib type_erased.cpp needs /bigobj option for mcvc and intel-win
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-23 11:37:00
#10142: Range lib type_erased.cpp needs /bigobj option for mcvc and intel-win
-------------------------------------------------+-------------------------
Reporter: Elmira Semenova | Owner: neilgroves
<elmira.a.semenova@â¦> | Status: new
Type: Bugs | Component: range
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.54.0 |
Keywords: |
-------------------------------------------------+-------------------------
Build of range lib on debug mode fails with msvc and icl on
type_erased.cpp file. /bigobj option should be added to Jamfile.v2
# ../../../bjam --toolset=intel address-model=364
. . .
file ..\..\..\bin.v2\libs\range\test\type_erased.test\msvc-12.0\debug
\address-model-64\link-static\threading-
multi\adaptor_test\type_erased.obj.rsp
"adaptor_test\type_erased.cpp"
-Fo"..\..\..\bin.v2\libs\range\test\type_erased.test\msvc-12.0\debug
\address-model-64\link-static\threading-
multi\adaptor_test\type_erased.obj" -TP /Z7
/Od /Ob0 /W3 /GR /MDd /Zc:forScope /Zc:wchar_t /favor:blend /wd4675 /EHs
-c
-DBOOST_ALL_NO_LIB=1
-DBOOST_TEST_NO_AUTO_LINK=1
"-I..\..\.."
compile-c-c++
..\..\..\bin.v2\libs\range\test\type_erased.test\msvc-12.0\debug\address-
model-64\link-static\threading-multi\adaptor_test\type_erased.obj
call "C:\Program Files (x86)\microsoft visual studio
12.0\vc\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo
@"..\..\..\bin.v2\libs\range\test\type_erased.test\msvc-12.0\debug
\address-model-64\link-static\threading-
multi\adaptor_test\type_erased.obj.rsp"
type_erased.cpp
C:\Users\. . .\boost_1_55_0\libs\range\test\adaptor_test\type_erased.cpp :
fatal error C1128: number of sections exceeded object file format limit :
compile with /bigobj
On Intel Windows 13.1, 14,0, 15.0:
# ../../../bjam --toolset=intel address-model=64
. . .
type_erased.cpp
..\..\..\bin.v2\libs\range\test\type_erased.test\intel-win\debug\link-
static\threading-multi\adaptor_test\type_erased.obj": catastrophic error:
too many segments in object file
compilation aborted for adaptor_test/type_erased.cpp (code 4)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10142> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC