
I just got 1.40 and tried building. I kept having some pieces fail with a complete build, sometimes I had gcc that ran until resources exausted, sometimes the compiler would segfault. Eventaully I tracked it down to the math library. After noticing the many errors from the gch (things like : error _REENTERANT not defined or used diffrent -fpic). I disabled pch for the math library (actually the boost project and the libs/math/test) and I did not have any more issues. This is how I compiled it: ./bootstrap.sh --without-icu --prefix=ID_1_40_0 ./bjam install stage --prefix=/path/to/install -j 16 --buildid=ID_1_40_0 --layout=tagged --build-type=complete --stagedir=/path/to/install The system is sles (suse enterprise) 11. It's an 8 core intel machine. gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) I did not figure out how to disable this via the command line, so I did this: *** boost_1_40_0-compiled/Jamroot 2009-08-23 12:17:37.000000000 -0400 --- boost_1_40_0-new/Jamroot 2009-09-03 13:25:05.000000000 -0400 *************** *** 177,182 **** --- 177,183 ---- # Disable auto-linking for all targets here, primarily because it caused # troubles with V2. <define>BOOST_ALL_NO_LIB=1 + <toolset>gcc:<pch>off # Used to encode variant in target name. See the 'tag' rule below. <tag>@$(__name__).tag <conditional>@handle-static-runtime *** boost_1_40_0-compiled/libs/math/test/Jamfile.v2 2009-07-23 05:45:33.000000000 -0400 --- boost_1_40_0-new/libs/math/test/Jamfile.v2 2009-09-03 13:24:40.000000000 -0400 *************** *** 23,28 **** --- 23,29 ---- <toolset>intel:<linkflags>-nologo #<toolset>intel-linux:<pch>off <toolset>intel-darwin:<pch>off + <toolset>gcc:<pch>off <toolset>msvc:<warnings>all <toolset>msvc:<asynch-exceptions>on <toolset>msvc:<cxxflags>/wd4996