Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] darwin linker hangs when building boost.python quickstart example
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2012-04-02 09:00:31


On 04/01/2012 06:24 AM, Berg, Stuart wrote:
> Greetings,
> 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.

This is a long-standing bug, that no one's been
able to track down:

>From the ticket it appears that:
a) The python command is running
b) The python command hangs
c) If the python command is run manually it
   works correctly.

> Thanks in advance,
> Stuart
> 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)
> _______________________________________________
> Unsubscribe & other changes:

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