This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51737] New: g++ crashes (internal compiler error: Segmentation fault) when compiling quickbook


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

             Bug #: 51737
           Summary: g++ crashes (internal compiler error: Segmentation
                    fault) when compiling quickbook
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: blog@tessarakt.de


g++ crashes when compiling quickbook from the Boost documentation.

Command line and output follows, preprocessed source is attached.

$ LC_ALL=C LANG=C "g++" -v -save-temps  -ftemplate-depth-300 -O3
-finline-functions -Wno-inline -Wall -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.1/release/link-static/id_manager.o"
"/home/jens/devel/boost-trunk/tools/quickbook/src/id_manager.cpp"
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.6.1-9ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin
--enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth=300' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-g0' '-D' 'BOOST_ALL_NO_LIB=1' '-D'
'BOOST_FILESYSTEM_NO_DEPRECATED' '-D' 'BOOST_SYSTEM_STATIC_LINK=1' '-D'
'NDEBUG' '-I' '..' '-c' '-o'
'../bin.v2/tools/quickbook/src/gcc-4.6.1/release/link-static/id_manager.o'
'-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.6.1/cc1plus -E -quiet -v -I .. -imultilib .
-imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D BOOST_ALL_NO_LIB=1 -D
BOOST_FILESYSTEM_NO_DEPRECATED -D BOOST_SYSTEM_STATIC_LINK=1 -D NDEBUG
/home/jens/devel/boost-trunk/tools/quickbook/src/id_manager.cpp -mtune=generic
-march=x86-64 -Wno-inline -Wall -ftemplate-depth=300 -finline-functions -O3
-fpch-preprocess -fstack-protector -o id_manager.ii
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 ..
 /usr/include/c++/4.6
 /usr/include/c++/4.6/x86_64-linux-gnu/.
 /usr/include/c++/4.6/backward
 /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-ftemplate-depth=300' '-O3'
'-finline-functions' '-Wno-inline' '-Wall' '-g0' '-D' 'BOOST_ALL_NO_LIB=1' '-D'
'BOOST_FILESYSTEM_NO_DEPRECATED' '-D' 'BOOST_SYSTEM_STATIC_LINK=1' '-D'
'NDEBUG' '-I' '..' '-c' '-o'
'../bin.v2/tools/quickbook/src/gcc-4.6.1/release/link-static/id_manager.o'
'-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/4.6.1/cc1plus -fpreprocessed id_manager.ii
-quiet -dumpbase id_manager.cpp -mtune=generic -march=x86-64 -auxbase-strip
../bin.v2/tools/quickbook/src/gcc-4.6.1/release/link-static/id_manager.o -g0
-O3 -Wno-inline -Wall -version -ftemplate-depth=300 -finline-functions
-fstack-protector -o id_manager.s
GNU C++ (Ubuntu/Linaro 4.6.1-9ubuntu3) version 4.6.1 (x86_64-linux-gnu)
        compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version
3.0.1-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Ubuntu/Linaro 4.6.1-9ubuntu3) version 4.6.1 (x86_64-linux-gnu)
        compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version
3.0.1-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 63a745aba0054d1605090177d8e4bbb4
In file included from ../boost/intrusive_ptr.hpp:16:0,
                 from
/home/jens/devel/boost-trunk/tools/quickbook/src/fwd.hpp:15,
                 from
/home/jens/devel/boost-trunk/tools/quickbook/src/values.hpp:20,
                 from
/home/jens/devel/boost-trunk/tools/quickbook/src/id_manager.hpp:14,
                 from
/home/jens/devel/boost-trunk/tools/quickbook/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/ccp8PLF3.out file, please attach this to
your bugreport.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]