Re: [Boost-bugs] [Boost C++ Libraries] #7262: Boost.Context fails to build using MinGW

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7262: Boost.Context fails to build using MinGW
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-05 15:02:37


#7262: Boost.Context fails to build using MinGW
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: olli
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: context
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords: context mingw
-------------------------------+--------------------------------------------
Changes (by anonymous):

  * status: closed => reopened
  * resolution: wontfix =>

Comment:

 Replying to [comment:9 olli]:
> Replying to [comment:8 anonymous]:
> > Can't you at least try to port the MASM to GNU AS?
> no - I will support only one assembler on each platform

 This is not helpful. Fedora (and other Linux distributions) provide an
 extensive cross compilation environment for windows. We've been providing
 boost for close to 5 years without problem. Now comes boost::context which
 suddenly requires masm to build. masm is not acceptable to us, because it
 does not work in a cross compilation environment (we even had ppc
 builders), and because of its license.

 So I've ported the windows asm files to gas. It's not exactly hard, and I
 don't see a reason why they could not be added to boost. See the attached
 patch.

 I've tested the example in the manual both under 32 and 64bit windows, it
 works. (well, the manual code has bugs - it does not allocate sp2, and
 guarded_stack_allocator does not seem to exist)

 Here's the fedora mingw build with the patch:
 http://koji.fedoraproject.org/koji/buildinfo?buildID=399464

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