Boost logo

Boost-Build :

From: Vladimir Prus (vladimir_at_[hidden])
Date: 2008-07-03 08:21:28


Phil wrote:

> Hi,
>
> Following the instructions on the website, when I try to compile Boost 1.35
> on Mac OS with, I get the following errors for numerous source files ­ any
> ideas how to fix this?
>
> Thanks,
>
> Phil
>
>
> -imac-g5:~/dev/c++/boost/boost_1_35_0 $ bjam --toolset=darwin stage
> warning: Graph library does not contain optional GraphML reader.
> note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
> note: directories containing the Expat headers and libraries, respectively.
> warning: skipping optional Message Passing Interface (MPI) library.
> note: to enable MPI support, add "using mpi ;" to user-config.jam.
> note: to suppress this message, pass "--without-mpi" to bjam.
> note: otherwise, you can safely ignore this message.
> Building Boost.Regex with the optional Unicode/ICU support disabled.
> Please refer to the Boost.Regex documentation for more information
> (don't panic: this is a strictly optional feature).
> ...patience...
> ...patience...
> ...found 3959 targets...
> ...updating 259 targets...
> darwin.compile.c++
> bin.v2/libs/serialization/build/darwin/release/macosx-version-10.4/threading
> -multi/basic_iarchive.o
> /var/tmp//cc8CBvWf.s:12265:Complex expression. Absolute segment assumed.

Either Apple gcc fails to work due to intrinsic reasons, or there's some
mismatch between gcc and assembler. Please copy-paste the failing command
line and add "-v" option and note the assembler invocation command. I'd
expect that to be "as ...", but it might include absolute path. Then,
than that assembler binary with the --version option and see if that's Apple
binary too.

Except for mismatch between gcc and as, I don't have any ideas what might
be wrong here.

- Volodya


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