Subject: [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 16:57:34
#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
Keywords: |
------------------------------+---------------------------
This error occurs when compiling boost 32-bit libs with the 64-bit version
of Apple's gcc-5666.3 (4.2.1).
This error occurs in lib.context but olli asked me to report for
boost.build because there is a possible missing flag passed to gcc (in
this case I guess -m32 is missing)
Error:
{{{
"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
}}}
gcc-5666.3
{{{
X:\libs\boost-dev>gcc -v
Using built-in specs.
Target: x86_64-apple-darwin10
Configured with: ../../../src/gcc-5666.3/configure
--build=x86_64-build_w64-mingw32 --host=x86_64-build_w64-mingw32
--target=x86_64-apple-darwin10 --prefix=/x/libs/gcc-5666.3-x86_64-apple-
darwin10 --with-sysr
oot=/x/libs/gcc-5666.3-x86_64-apple-darwin10 --enable-languages=c,c++
--enable-shared --enable-static --enable-__cxa_atexit --disable-libmudflap
--disable-libgomp --disable-libssp --with-cloog=/mingw64 --with
-libelf=/mingw64 --with-host-libstdcxx=-static-libgcc
-Wl,-Bstatic,-lstdc++ -lm --enable-threads=posix --enable-target-optspace
--without-long-double-128 --disable-nls --enable-multilib --with-gxx-
include-dir
=./usr/include/c++/4.2.1 --with-ld=/x/libs/gcc-5666.3-x86_64-apple-
darwin10/bin/x86_64-apple-darwin10-ld.exe --with-
ar=/x/libs/gcc-5666.3-x86_64-apple-darwin10/bin/x86_64-apple-
darwin10-ar.exe --with-as=/x/li
bs/gcc-5666.3-x86_64-apple-darwin10/bin/x86_64-apple-darwin10-as.exe
--with-ranlib=/x/libs/gcc-5666.3-x86_64-apple-darwin10/bin/x86_64-apple-
darwin10-ranlib.exe --with-lipo=/x/libs/gcc-5666.3-x86_64-apple-dar
win10/bin/x86_64-apple-darwin10-lipo.exe --with-local-
prefix=/x/libs/gcc-5666.3-x86_64-apple-darwin10 --enable-c99 --disable-
debug --enable-long-long --enable-version-specific-runtime-libs --enable-
checking=r
elease --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-werror
--disable-symvers --enable-fully-dynamic-string --disable-isl-version-
check --disable-cloog-version-check --disable-rpath --enable-clo
og-backend=isl --with-dwarf2 --disable-sjlj-exceptions --with-arch-32=i686
--with-arch-64=nocona --with-tune-32=generic --with-tune-64=core2
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9786> 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