Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8221: libs/context/src/asm/make_i386_sysv_macho_gas.S fails to compile under OSX
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-09 13:34:46
#8221: libs/context/src/asm/make_i386_sysv_macho_gas.S fails to compile under OSX
--------------------------------------+-------------------------------------
Reporter: cowwoc@⦠| Owner: olli
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: context
Version: Boost 1.53.0 | Severity: Showstopper
Resolution: worksforme | Keywords:
--------------------------------------+-------------------------------------
Comment (by Serguei E. Leontiev <leo@â¦>):
Replying to [comment:1 olli]:
> Are you shure your env is correct? I got the info from other develoeprs
that the code is working on 32bit Mac OS X.
>
> 'jmp *%edx' and 'popl %ecx' is legal assembler on 32bit i386 Mac OS X.
Yes, but command line `"g++" -x assembler-with-cpp -O0 -fno-inline -Wall
-g -dynamic -gdwarf-2 -fexceptions -fPIC -DBOOST_ALL_NO_LIB=1
-DBOOST_CONTEXT_DYN_LINK=1 -I"." -c -o...' compile for default
architecture, i.e. x86_64 architecture on modern 64bit Mac.
Replying to [comment:3 Gili <cowwoc@â¦>]:
> bjam address-model=32 --stagedir=. --without-python --without-mpi
--layout=system variant=debug link=shared threading=multi runtime-
link=shared stage -j 2 --hash
> on Mountain Lion. So, I'm building Boost 32-bit under a 64-bit OS.
Probably, that not right, for example:
{{{
leom-3:boost-trunk leo$ uname -a
Darwin leom-3.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25
00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
leom-3:boost-trunk leo$ ./bjam address-model=32 --stagedir=xyz --without-
python --without-mpi --layout=system variant=debug link=shared
threading=multi runtime-link=shared stage -j 2 --hash
...
leom-3:boost-trunk leo$ file xyz/lib/*
xyz/lib/libboost_atomic.dylib: Mach-O 64-bit x86_64 dynamically linked
shared library
xyz/lib/libboost_chrono.dylib: Mach-O 64-bit x86_64 dynamically linked
shared library
...
}}}
IMHO, this bug - bug in "tools/build/v2/tools/darwin.jam"
Sorry for my best English
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8221#comment:4> 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:12 UTC