Re: [Boost-bugs] [Boost C++ Libraries] #9772: [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'
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-19 11:38:58


#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:
--------------------------------------+------------------------

Comment (by class101 <ad@…>):

 and gcc-5666.3 with -arch returns

 {{{
     "X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/gcc.exe" -ftemplate-
 depth-128 -O3 -finline-functions -Wno-inline -Wall -arch x86_64 -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_64
 \binary-format-mach-o\link-static\pch-off\strip-on\target-os-darwin
 \threadapi-pthread\threading-multi\unsupported.o" "libs\context\src\unsu
 pported.cpp"

 cc1plus.exe: error: unrecognized command line option "-arch"
 ...failed gcc.compile.c++ bin.v2\libs\context\build\gcc-4.2.1\release\abi-
 sysv\address-model-32_64\binary-format-mach-o\link-static\pch-off\strip-on
 \target-os-darwin\threadapi-pthread\threading-multi\unsuppor
 ted.o...
 ...skipped <pbin.v2\libs\context\build\gcc-4.2.1\release\abi-sysv\address-
 model-32_64\binary-format-mach-o\link-static\pch-off\strip-on\target-os-
 darwin\threadapi-pthread\threading-multi>libboost_context-gcc4
 2-mt-1_56.a for lack of <pbin.v2\libs\context\build\gcc-4.2.1\release\abi-
 sysv\address-model-32_64\binary-format-mach-o\link-static\pch-off\strip-on
 \target-os-darwin\threadapi-pthread\threading-multi>unsuppor
 ted.o...
 ...failed updating 1 target...
 ...skipped 1 target...
 ...updated 14 targets...
 }}}

 I think it is a specific issue to my gcc-5666.3 cross compiler because I
 have used Ray Donnely's crosstool-ng to build it and I see he made patches
 to the driverdriver.c file so maybe something went wrong with such patch.

 Will look with him if we eventually can get this fixed

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