Re: [Boost-bugs] [Boost C++ Libraries] #10742: context library don't compile for iOS ARM

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10742: context library don't compile for iOS ARM
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-04 11:21:19


#10742: context library don't compile for iOS ARM
-------------------------------+---------------------
  Reporter: n3v3r54y10v3@… | Owner: olli
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: context
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------

Comment (by anonymous):

 Sure.
 {{{
  $ ./bjam -j16 --build-dir=iphone-build
 -sBOOST_BUILD_USER_CONFIG=/Users/ryan/Developer/build/src/boost_1_57_0/tools/build/example
 /user-config.jam --stagedir=iphone-build/stage
 --prefix=/Users/ryan/Developer/build/ios/prefix abi=aapcs binary-
 format=mach-o address-model=32 toolset=darwin architecture=arm target-
 os=iphone macosx-version=iphone-8.1 define=_LITTLE_ENDIAN link=static
 stage
 OS = MACOSX
 }}}

 I specify address-model=32 because I see that
 [http://www.boost.org/doc/libs/1_57_0/libs/context/doc/html/context/requirements.html
 boost::context Requirements] says for cross-compiling I should specify
 target-os, abi, binary-format, architecture and address-model.
 Within or without address-model=32. The error will be same"

 {{{
 libs/context/src/asm/jump_arm_aapcs_macho_gas.S:94:11: error: invalid
 operand for instruction
     pop v1
           ^
 }}}

 But if I ignore abi , binary-formant and address-model. Only architecture
 specified. Error will be 'platform not supported'

 {{{
  $ ./bjam -j16 --build-dir=iphone-build
 -sBOOST_BUILD_USER_CONFIG=/Users/ryan/Developer/build/src/boost_1_57_0/tools/build/example
 /user-config.jam --stagedir=iphone-build/stage
 --prefix=/Users/ryan/Developer/build/ios/prefix toolset=darwin
 architecture=arm target-os=iphone macosx-version=iphone-8.1
 define=_LITTLE_ENDIAN link=static stage
 OS = MACOSX
 Performing configuration checks

     - 32-bit : yes (cached)
     - lockfree boost::atomic_flag : no (cached)
     - has_icu builds : no (cached)

 ...some thing ignore....

 libs/context/src/unsupported.cpp:7:2: error: "platform not supported"
 #error "platform not supported"
  ^
 1 error generated.
 }}}

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