Re: [Boost-bugs] [Boost C++ Libraries] #7864: Boost.Context fails to build with Visual Studio

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7864: Boost.Context fails to build with Visual Studio
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-07 19:55:29


#7864: Boost.Context fails to build with Visual Studio
---------------------------+------------------------------------------------
  Reporter: marshall | Owner: olli
      Type: Bugs | Status: new
 Milestone: Boost 1.53.0 | Component: context
   Version: Boost 1.52.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by olli):

 Replying to [ticket:7864 marshall]:
> In the 1.53.0 beta1, Boost.Context fails to build:
>
> {{{
>
> C:\VC\boost_1_53_0_beta1>b2 --build-type=complete
>
> msvc.link.dll
> bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.dll
> Creating library
>
> bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.lib
> and object bin.v2\libs\context\build\msvc-11.0\
> debug\threading-multi\boost_context-vc110-mt-gd-1_53.exp
> make_i386_ms_pe_masm.obj : error LNK2019: unresolved external symbol
> __exit referenced in function _make_fcontext
> LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup_at_12
>
> bin.v2\libs\context\build\msvc-11.0\debug\threading-multi\boost_context-
 vc110-mt-gd-1_53.dll
> : fatal error LNK1120: 2 unresolved externals
> <snip>
> }}}
>
> On the boost list, Tom Kent reported:
> I'm showing the same errors for all visual studio versions I run
 (VC8, VC9,
> VC10, and VC11) with 32&64 bit complies.



 regression tests in trunk do not show errors?!

 'teeks99-1a-win7-32on64' : rev. 82379 from 7.1.2013 msvc 10.0/11.0 ->
 pass, 'teeks99-1a-win7-64on64' : rev. 82376 from 6.1.2013 msvc 11.0 ->
 pass, 'id' : rev. 82359 from 4.1.2013 msvc 9.0 -> pass, ...

 maybe some modifications in the toolchain might cause the linker error?!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7864#comment:3>
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:11 UTC