Re: [Boost-bugs] [Boost C++ Libraries] #8266: context library don't compile for Mac OSX universal binary

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8266: context library don't compile for Mac OSX universal binary
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-29 19:02:59


#8266: context library don't compile for Mac OSX universal binary
-------------------------------------+-------------------------------------
  Reporter: Serguei E. Leontiev | Owner: olli
  <leo@…> | Status: closed
      Type: Bugs | Component: context
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.53.0 | Keywords: mac osx universal
Resolution: fixed | binary
-------------------------------------+-------------------------------------

Comment (by marco.serantoni@…):

 git clone https://github.com/boostorg/boost.git boost_master
 git clone https://github.com/boostorg/build.git
 git clone https://github.com/boostorg/context.git
 git clone https://github.com/boostorg/inspect.git

 As said the .o files are made only for x86_64 and not for i386
 --

 macbook:boost_master marco$ ./b2 variant=release toolset=darwin
 threading=multi address-model=32_64 link=static context -d+2
 Performing configuration checks

     - symlinks supported : yes (cached)
     - hardlinks supported : yes (cached)
     - arm : no (cached)
     - mips1 : no (cached)
     - power : no (cached)
     - sparc : no (cached)
     - x86 : yes (cached)
 darwin.compile.asm bin.v2/libs/context/build/darwin-4.2.1/release/address-
 model-32_64/link-static/threading-
 multi/asm/make_i386_x86_64_sysv_macho_gas.o

     "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall
 -gdwarf-2 -fexceptions -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE
 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/darwin-4.2.1/release
 /address-model-32_64/link-static/threading-
 multi/asm/make_i386_x86_64_sysv_macho_gas.o"
 "libs/context/src/asm/make_i386_x86_64_sysv_macho_gas.S"

 darwin.compile.asm bin.v2/libs/context/build/darwin-4.2.1/release/address-
 model-32_64/link-static/threading-
 multi/asm/jump_i386_x86_64_sysv_macho_gas.o

     "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall
 -gdwarf-2 -fexceptions -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE
 -DNDEBUG -I"." -c -o "bin.v2/libs/context/build/darwin-4.2.1/release
 /address-model-32_64/link-static/threading-
 multi/asm/jump_i386_x86_64_sysv_macho_gas.o"
 "libs/context/src/asm/jump_i386_x86_64_sysv_macho_gas.S"

 RmTemps bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64
 /link-static/threading-multi/libboost_context.a(clean)

     rm -f "bin.v2/libs/context/build/darwin-4.2.1/release/address-model-
 32_64/link-static/threading-multi/libboost_context.a"

 darwin.archive bin.v2/libs/context/build/darwin-4.2.1/release/address-
 model-32_64/link-static/threading-multi/libboost_context.a

     "/usr/bin/libtool" -static -o
 "bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64/link-
 static/threading-multi/libboost_context.a"
 "bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64/link-
 static/threading-multi/asm/make_i386_x86_64_sysv_macho_gas.o"
 "bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64/link-
 static/threading-multi/asm/jump_i386_x86_64_sysv_macho_gas.o"

 macbook:boost_master marco$ file
 ./bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64/link-
 static/threading-multi/asm/make_i386_x86_64_sysv_macho_gas.o
 ./bin.v2/libs/context/build/darwin-4.2.1/release/address-model-32_64/link-
 static/threading-multi/asm/make_i386_x86_64_sysv_macho_gas.o: Mach-O
 64-bit object x86_64

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