|
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
AMDG
On 04/01/2012 06:24 AM, Berg, Stuart wrote:
> Greetings,
>
> My issue seems to be the same as in this old thread: http://lists.boost.org/boost-build/2008/02/18486.php
> 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 boost.build output hangs at this line:
>
> clang-darwin.link.dll bin/clang-darwin-4.2.1/debug/extending.so
>
> 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:
https://svn.boost.org/trac/boost/ticket/2185
>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: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk