Opened 10 years ago

Closed 10 years ago

#7110 closed Bugs (fixed)

Boost.Context fails to compile on 32 bit Mac OS

Reported by: anonymous Owned by: olli
Milestone: To Be Determined Component: context
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:

Description

Hi,

I'm using the latest Boost.Context version from the boost SVN: http://svn.boost.org/svn/boost/trunk/libs/context/src/asm/

It compiles and runs for Mac OS 64 bit, Linux 32 & 64 Bit, but it fails to compile on a 32 bit Mac OS:

/opt/local/bin/c++  (...) -c src/asm/fcontext_i386_sysv_macho_gas.S
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:87:Missing operand value assumed absolute 0.
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:87:junk `[.-1b]' after expression
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:88:junk `@PLT' after expression
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:113:Missing operand value assumed absolute 0.
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:113:junk `[.-3b]' after expression
/Users/pknotz/workspace/libcppa/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.S:117:junk `@PLT' after expression
make[2]: *** [CMakeFiles/libcppa.dir/third_party/boost_context/src/asm/fcontext_i386_sysv_macho_gas.o] Error 1
make[1]: *** [CMakeFiles/libcppa.dir/all] Error 2
make: *** [all] Error 2

Change History (5)

comment:1 by anonymous, 10 years ago

The system in use is: MacOS 10.5.8 on an Intel Core 2 Duo and gcc 4.7.1 (from MacPorts).

comment:2 by anonymous, 10 years ago

This is quite a major issue. Can we get an ETA on a fix? boost is now unusable on OS X.

comment:3 by anonymous, 10 years ago

boost 1.52 does not suffer from this issue.

comment:4 by viboes, 10 years ago

Component: Building Boostcontext
Owner: set to olli

comment:5 by olli, 10 years ago

Resolution: fixed
Status: newclosed

seams to work in boost-1.52 (see comment 3)

Note: See TracTickets for help on using tickets.