Re: [Boost-bugs] [Boost C++ Libraries] #9786: make_i386_sysv_macho_gas.S:51:suffix or operands invalid for `pop'

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9786: make_i386_sysv_macho_gas.S:51:suffix or operands invalid for `pop'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-17 20:14:55


#9786: make_i386_sysv_macho_gas.S:51:suffix or operands invalid for `pop'
-------------------------------+---------------------------
  Reporter: class101 <ad@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+---------------------------

Comment (by class101 <ad@…>):

 Not sure but I think I'm using the wrong toolset because just after adding
 to the command line

 {{{
 architecture=x86
 }}}

 I get

 {{{
 cc1plus.exe: error: unrecognized command line option "-arch"
 libs\atomic\src\lockpool.cpp:1: error: CPU you selected does not support
 x86-64 instruction set
 ...failed darwin.compile.c++ bin.v2\libs\atomic\build\darwin-4.2.1\release
 \abi-sysv\address-mod
 }}}

 so I guess because toolset=darwin using -arch is not compatible with
 gcc-5666.3, I must use toolset=gcc instead with target-os=darwin but in
 this case I get another error, trying to check what's happening, I get a

 {{{
 gcc.compile.c++ bin.v2\libs\context\build\gcc-4.2.1\release\abi-sysv
 \address-model-32\binary-format-mach-o\link-static\pch-off\strip-on
 \target-os-darwin\threadapi-pthread\threading-multi\unsupported.o

     "X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/g++.exe" -ftemplate-
 depth-128 -O3 -finline-functions -Wno-inline -Wall -m32 -w
 -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_SOURCE -DNDEBUG -I"." -c -o
 "bin.v2\libs
 \context\build\gcc-4.2.1\release\abi-sysv\address-model-32\binary-format-
 mach-o\link-static\pch-off\strip-on\target-os-darwin\threadapi-pthread
 \threading-multi\unsupported.o" "libs\context\src\unsupported.cpp
 "

 libs\context\src\unsupported.cpp:7:2: error: #error "platform not
 supported"
 ...failed gcc.compile.c++ bin.v2\libs\context\build\gcc-4.2.1\release\abi-
 sysv\address-model-32\binary-format-mach-o\link-static\pch-off\strip-on
 \target-os-darwin\threadapi-pthread\threading-multi\unsupported
 .o...
 ...skipped <pbin.v2\libs\context\build\gcc-4.2.1\release\abi-sysv\address-
 model-32\binary-format-mach-o\link-static\pch-off\strip-on\target-os-
 darwin\threadapi-pthread\threading-multi>libboost_context-gcc42-m
 t-1_56.a for lack of <pbin.v2\libs\context\build\gcc-4.2.1\release\abi-
 sysv\address-model-32\binary-format-mach-o\link-static\pch-off\strip-on
 \target-os-darwin\threadapi-pthread\threading-multi>unsupported.o.
 ..
 ...failed updating 1 target...
 ...skipped 1 target...
 ...updated 9 targets...
 }}}

 with both 32-bit and 64-bit build commands

 {{{
 b2 -j1 -d2 -q --debug-configuration toolset=gcc variant=release abi=sysv
 address-model=64 binary-format=mach-o link=static,shared pch=off strip=on
 target-os=darwin threading=multi threadapi=pthread cxxflags="-w -m64"
 linkflags="-w -m64 -lstdc++" --without-python --without-mpi
 }}}

 {{{
 b2 -j1 -d2 -q --debug-configuration toolset=gcc variant=release abi=sysv
 address-model=32 binary-format=mach-o link=static,shared pch=off strip=on
 target-os=darwin threading=multi threadapi=pthread cxxflags="-w -m32"
 linkflags="-w -m32" --without-python --without-mpi
 }}}

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