Re: [Boost-bugs] [Boost C++ Libraries] #9772: [libs/context] make_i386_sysv_elf_gas.S:52: Error: invalid instruction suffix for `pop' (was: [FIXED] [libs/context] make_i386_sysv_elf_gas.S:52: Error: invalid instruction suffix for `pop')

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9772: [libs/context] make_i386_sysv_elf_gas.S:52: Error: invalid instruction suffix for `pop' (was: [FIXED] [libs/context] make_i386_sysv_elf_gas.S:52: Error: invalid instruction suffix for `pop')
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-17 15:48:16


#9772: [libs/context] make_i386_sysv_elf_gas.S:52: Error: invalid instruction
suffix for `pop'
--------------------------------------+------------------------
  Reporter: ad@… | Owner: olli
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: context
   Version: Boost Development Trunk | Severity: Regression
Resolution: | Keywords:
--------------------------------------+------------------------
Changes (by class101 <ad@…>):

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

Comment:

 Reopening because I caught today the same error with Apple's gcc-5666.3
 (4.2.1) It seems -m32 is not passed, because 64-bit generation works fine
 and I could work around the problem with address-model=64 and fixing -m32
 in the flags but that's a bit ugly hehe

 Issue:
 {{{
     "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
 \abi-sysv\address-model-32\binary-format-mach-o\link-static\pch-off\strip-
 on\target-os-darwin\threadapi-pthread\threading-
 multi\asm\make_i386_sysv_macho_gas.o"
 "libs\context\src\asm\make_i386_sysv_macho_gas.S
 "

 libs\context\src\asm\make_i386_sysv_macho_gas.S:51:suffix or operands
 invalid for `pop'
 ...failed darwin.compile.asm
 bin.v2\libs\context\build\darwin-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\asm\m
 ake_i386_sysv_macho_gas.o...
 ...failed updating 1 target...
 ...updated 82 targets...
 }}}

 Command used:
 {{{
 b2 -j1 -d2 -q toolset=darwin 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
 -lstdc++" --without-python --without-mpi
 }}}

 Configuration used:
 {{{
 import option ;

 using gcc :
 : "X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/g++.exe"
 : <archiver>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/ar.exe
   <ranlib>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/ranlib.exe
   <rc>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/as.exe
   <linker-type>darwin
 ;

 option.set keep-going : false ;
 }}}

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