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-12-09 09:07:08


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

Comment (by n3v3r54y10v3@…):

 I'm so sorry that I didn't see you post since now.
 Got lots of of email addresses, and this one doesn't connect to my main
 box, I have fixed it.
 I cloned boost from github yesterday and saw your commits, this cannot
 compile correct.
 {{{
 ryan_at_T4F-MBP-13594: ~/code/boost master!
  $
 "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++"
 "-arch" "arm64" "-fvisibility=hidden" "-fvisibility-inlines-hidden"
 "-DBOOST_AC_USE_PTHREADS" "-DBOOST_SP_USE_PTHREADS" "-std=c++11"
 "-stdlib=libc++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline
 -Wall -gdwarf-2 -fexceptions -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk
 -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1
 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_CONTEXT_SOURCE
 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1
 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1
 -DNDEBUG -D_LITTLE_ENDIAN -I"." -c -o
 "/Users/ryan/Developer/boost_build_for_cocos2d-x/iphone-
 build/boost/bin.v2/libs/context/build/darwin-8.1~iphone/release/abi-aapcs
 /address-model-64/architecture-arm/link-static/macosx-version-iphone-8.1
 /target-os-iphone/threading-multi/asm/jump_arm64_aapcs_macho_gas.o"
 "libs/context/src/asm/jump_arm64_aapcs_macho_gas.S"
 libs/context/src/asm/jump_arm64_aapcs_macho_gas.S:66:7: error: unexpected
 token at start of statement
     @ save LR as PC
       ^
 libs/context/src/asm/jump_arm64_aapcs_macho_gas.S:67:11: error: vector
 register expected
     push {lr}
           ^
 libs/context/src/asm/jump_arm64_aapcs_macho_gas.S:68:7: error: unexpected
 token at start of statement
 }}}

 we can compile after replace "-arch" "arm64" to "-arch" "armv7s" or
 "-arch" "arm", but that result not arm64 version.

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