[Bug c++/12991] New: boost 's thread library fails compiling

francis dot meyvis at pandora dot be gcc-bugzilla@gcc.gnu.org
Mon Nov 10 09:38:00 GMT 2003


Got boost builder tool build-jam from sourceforge (version 3.1.7.1)
Installed with rpm -Uvh on Suse 8.2
Get boost source (version 1.3.20) from
http://sourceforge.net/project/showfiles.php?group_id=7586
Unpacked on Linux (bunzip2 + tar -xf) and 
cd libs/thread/build/
Started a build with bjam
The output where it failed looked like this

gcc-C++-action
../../../libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/thread.o
/home/francis/dev/bt/boost-1.30.2/boost/function/function_template.hpp: In 
   member function `void boost::function0<R, Allocator>::clear() [with R = 
   void, Allocator = std::allocator<boost::function_base>]':
/home/francis/dev/bt/boost-1.30.2/boost/function/function_template.hpp:312:  
instantiated from `boost::function0<R, Allocator>::~function0() [with R = void,
Allocator = std::allocator<boost::function_base>]'
../src/thread.cpp:72:   instantiated from here
/home/francis/dev/bt/boost-1.30.2/boost/function/function_template.hpp:389:
internal compiler error: in
   c_expand_expr, at c-common.c:4321
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

    g++  -c -Wall -ftemplate-depth-100  -DBOOST_THREAD_BUILD_DLL=1  -g -O0
-fno-inline -pthread -fPIC   -I"../../../libs/thread/build"  -I
"/home/francis/dev/bt/boost-1.30.2"  -o
"../../../libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/thread.o"
 "../src/thread.cpp" 

...failed gcc-C++-action
../../../libs/thread/build/bin/libboost_thread.so/gcc/debug/runtime-link-dynamic/shared-linkable-true/threading-multi/thread.o...

-- 
           Summary: boost 's thread library fails compiling
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: francis dot meyvis at pandora dot be
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12991



More information about the Gcc-bugs mailing list