[Boost-bugs] [Boost C++ Libraries] #10757: Building boost with MSVC and SAFESEH

Subject: [Boost-bugs] [Boost C++ Libraries] #10757: Building boost with MSVC and SAFESEH
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-06 07:06:24


#10757: Building boost with MSVC and SAFESEH
------------------------------+----------------------------
 Reporter: tobias.loew | Owner:
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 Hi,

 when building boost on MSVC with SAFESEH (which is implicit on x64-builds)
 I get linking problems, since the MASM-compiler does not have the
 "safeseh" option on its command line. There is also a thread on boost/dev
 about this issue

 http://boost.2283326.n4.nabble.com/context-msvc-SAFESEH-td4652245.html

 I could solve it by adding safeseh in the two files mentioned here:

 in boost_1_56_0\libs\context\build\Jamfile.v2:

 actions masm
 {
      ml /safeseh /c /Fo"$(<)" "$(>)"
 }

 in boost_1_56_0\tools\build\src\tools\msvc.jam:

         local default-assembler-i386 = "ml -coff -safeseh" ;


 Could someone please add a boost-build-option to control the safeseh-
 setting.

 Thanks

 Tobias

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