Boost logo

Boost-Build :

Subject: [Boost-build] [boost-build] darwin linker hangs when building boost.python quickstart example
From: Berg, Stuart (bergs_at_[hidden])
Date: 2012-04-01 09:24:39


My issue seems to be the same as in this old thread:
but that thread does not describe a solution.

I can build boost.python without errors using both the "darwin" and "clang" toolsets,
but I cannot build the second quickstart example located in
libs/python/example/quickstart/extending.cpp (using either toolset).

When I run:

$ cd libs/python/example/quickstart/
$ ../../../../b2 -a toolset=clang --verbose-test test

The first quick start example builds and runs successfully, but the second one never finishes building.
The output hangs at this line: bin/clang-darwin-4.2.1/debug/

I would be grateful for any assistance you can provide.

Thanks in advance,

PS -- I'm using python 2.7.2 (included in OSX lion). I'm using the latest version of both osx lion and Xcode.
$ python --version
Python 2.7.2
$ clang++ --version
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix
$ ld -v
@(#)PROGRAM:ld PROJECT:ld64-128.2
llvm version 3.1svn, from Apple Clang 3.1 (build 318.0.58)

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at