Boost logo

Boost :

Subject: Re: [boost] 1.49.0 Beta 1 Release Candidate
From: Steve M. Robbins (steve_at_[hidden])
Date: 2012-01-29 12:57:40


On Sat, Jan 28, 2012 at 10:20:41PM -0600, Steve M. Robbins wrote:
> Hi,
>
> I'm starting a build (using the Debian package configuration) ...

So the build completed: "intrusive_ptr.hpp" caused my compiler
to segfault.

For Debian, we build all the boost libraries (Boost.Python and
Python.MPI is built for each of several supported versions of python:
2.6, 2.7, and 3.2). This completed fine.

Next, several of the tools are built:
        bbv2dir = $(CURDIR)/tools/build/v2
        cd $(bbv2dir) && ./bootstrap.sh --with-toolset=gcc
        cd tools/bcp && $(JAM)
        cd tools/inspect/build && $(JAM)
        cd tools/quickbook && $(JAM)
        cd tools/wave/build && $(JAM)
        cd tools/regression/build && $(JAM)
        cd libs/python/pyste/install && python setup.py build

The build failed during quickbook, with an Internal Compiler Error.
I build with Debian's default gcc 4.6.2. The errors are below; can
someone suggest a workaround?

gcc.compile.c++ ../../bin.v2/tools/quickbook/src/gcc-4.6/release/debug-symbols-on/link-static/id_manager.o

    "g++" -ftemplate-depth-300 -O3 -finline-functions -Wno-inline -Wall -g -g0 -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -I"../.." -c -o "../../bin.v2/tools/quickbook/src/gcc-4.6/release/debug-symbols-on/link-static/id_manager.o" "src/id_manager.cpp"

In file included from ../../boost/intrusive_ptr.hpp:16:0,
                 from src/fwd.hpp:15,
                 from src/values.hpp:20,
                 from src/id_manager.hpp:14,
                 from src/id_manager.cpp:9:
../../boost/smart_ptr/intrusive_ptr.hpp: In destructor 'boost::intrusive_ptr<T>::~intrusive_ptr() [with T = quickbook::file_info]':
../../boost/smart_ptr/intrusive_ptr.hpp:94:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc9lzHW2.out file, please attach this to your bugreport.
...failed gcc.compile.c++ ../../bin.v2/tools/quickbook/src/gcc-4.6/release/debug-symbols-on/link-static/id_manager.o...
gcc.compile.c++ ../../bin.v2/tools/quickbook/src/gcc-4.6/release/debug-symbols-on/link-static/phrase_element_grammar.o

Thanks,
-Steve




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk