Description of problem:
First of all, Boost 1.32.0 can be compiled correctly
in RHEL 3.0 (Update 3) on IA32 platform without any problems.
But when I tried to compile it on a quad-Itanium2
system, I ran into the following problem:
I issued the standard building command:
rpmbuild --rebuild boost-1.32.0-3.src.rpm
which supposes to compile the released version of both the static and
the dynamic, as specified by the building command in the SPEC file in
the souce RPM:
bjam "-sTOOLS=gcc" "-sBUILD=release" stage
I always ended up with the following error messages during the
In file included from
#error "Compiler threading support is not turned on. Please set the
correct command line options for threading: -pthread (Linux), -
pthreads (Solaris) or -mthreads (Mingw32)"
Since my Itanium2 runs RHEL 3.0 with the standard GCC 3.2.3, the same
version of the GCC that I used to compile Boost in RHEL 3.0 on IA32
platform, I don't understand why this error happened.
One more thing I found out is that:
It seems that all the troubles are caused by the undefined
BOOST_HAS_THREADS, which then causes the breaking down in:
I don't understand why this didn't cause a problem in RHEL GCC 3.2.3
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download boost-1.32.0-3.src.rpm from Redhat Fedora site
2. rpmbuild --rebuild boost-1.32.0-3.src.rpm
3. Compilation fails!
Boost should be compiled on IA64 without any problems as it does on
I added this patch back into the mix with boost-1.32.0-4, which is now in
updates-testing. It should be pushed out shortly for FC-3 and RHEL-4.