|
Boost-Build : |
Subject: Re: [Boost-build] build Boost lib fails on Linux gcc 3.3.6
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-05-01 01:27:58
Wesley Johnson wrote:
> Boost fails to compile on platform:
> Linux 2.4.31
In general, kernel version is not important for Boost.
> gcc 3.3.6
This is a pretty old compiler, released on May 3, 2005. You
can be sure to get issues with it.
> I tried the command
> ./bjam --build-dir=bin3 toolset=gcc pch=off
>
> I do not know if this is the right way to deal with this, but at least some
> of the libraries compiled.
> I do not know what failures have pch=off is going to introduce.
pch=off is not likely to cause any failures.
> Still have 8 compiles that failed, some with an error message about too many
> initializers for the array. That is an error message that should never
> occur.
It is not unlikely that your compiler is too old to handle some code
in Boost.
> It skipped 12 compiles for mysterious reasons.
Targets are skipped when their dependencies fail to build.
> Do not see any record of what compiles failed.
> I cannot even identify the error messages from other large messages.
> Every message is 4 to 6 lines long because the path strings are so long. I
> cannot even speed read them before they scroll off the top of the screen.
Why cannot you redirect output to a file, e.g. with
bjam .... > bjam.log 2>&1
?
> What can you tell me about compiling for gcc 3.3.6 ??
> What is pch ??
pch is precompiled header. I am sure you'll find a lot information
about those.
> Is PCH necessary, is it optional, can I turn it off like that without
> something failing ??
> What else can I turn off ??
> Maybe something will help with those other 8 libraries that still bomb.
You will have to identify which libraries fail to build and create a bug
report at http://svn.boost.org (one per library). The bug report
should include specific error messages.
- 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