[Boost-bugs] [Boost C++ Libraries] #9776: polygon gtl_boost_unit_test.cpp needs /bigobj option

Subject: [Boost-bugs] [Boost C++ Libraries] #9776: polygon gtl_boost_unit_test.cpp needs /bigobj option
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-14 13:00:24


#9776: polygon gtl_boost_unit_test.cpp needs /bigobj option
---------------------------------+----------------------
 Reporter: elmira.a.semenova@… | Owner: ljsimons
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: polygon
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
---------------------------------+----------------------
 Boost 1.55.0 polygon lib debug build fails on gtl_boost_unit_test.cpp to
 compile with MSVC2012:

 gtl_boost_unit_test.cpp : fatal error C1128: number of sections exceeded
 object file format limit : compile with /bigobj

 or icl :

 icl -TP /Z7 /Od /Ob0 /W0 /GR /MDd /Zc:forScope /Zc:wchar_t /Qwn5 /Qwd985
 -Qoption,c,--arg_dep_lookup -D_SECURE_SCL=0 -Qoption,cpp,--arg_dep_lookup
 -Qpchi- /wd4675 /EHs –c -DBOOST_ALL_NO_LIB=1 "-I." "-I.." "-I../../.."
 "gtl_ boost_unit_test.cpp"
 gtl_boost_unit_test.cpp
 gtl_boost_unit_test.obj": catastrophic error: too many segments in object
 file

 compilation aborted for gtl_boost_unit_test.cpp (code 4)

 This can be fixed easily by adding /bigobj option to
 boost_1_55_0/libs/polygon/test/Jamfile.v2

 # diff boost_1_55_0/libs/polygon/test/Jamfile.v2.old
 boost_1_55_0/libs/polygon/test/Jamfile.v2
 24c24
 < [ run gtl_boost_unit_test.cpp ]
 ---
> [ run gtl_boost_unit_test.cpp : : : <toolset>intel-
 win:<cxxflags>/bigobj <toolset>msvc:<cxxflags>/bigobj ]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9776>
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:15 UTC