Obtained an internal compiler error compiling a personal application. The preprocessed source will be attached. Reproducible: Always Steps to Reproduce: 1. Ran 'make' on my application's top directory. Actual Results: make[3]: Entering directory `/home/storri/src/kurt_filters/src' if g++ -DHAVE_CONFIG_H -I. -I. -I. -I../src -I/include/ -I./src -march=pentium3 -Wpointer-arith -gdwarf-2 -g3 -O0 -W -Wall -fno-inline -ftemplate-depth-120 -MT kurt_filters-kurt_filters.o -MD -MP -MF ".deps/kurt_filters-kurt_filters.Tpo" -c -o kurt_filters-kurt_filters.o `test -f 'kurt_filters.cpp' || echo './'`kurt_filters.cpp; \ then mv -f ".deps/kurt_filters-kurt_filters.Tpo" ".deps/kurt_filters-kurt_filters.Po"; else rm -f ".deps/kurt_filters-kurt_filters.Tpo"; exit 1; fi /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_pair.h: In function `std::pair<_T1, _T2> std::make_pair(_T1, _T2) [with _T1 = boost::detail::adj_list_edge_iterator<std::_Rb_tree_const_iterator<void*>, boost::detail::out_edge_iter<std::_Rb_tree_const_iterator<boost::detail::sep_<void*, boost::no_property> >, void*, boost::detail::edge_desc_impl<boost::directed_tag, void*>, ptrdiff_t>, boost::adjacency_list<boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS> >, _T2 = boost::detail::adj_list_edge_iterator<std::_Rb_tree_const_iterator<void*>, boost::detail::out_edge_iter<std::_Rb_tree_const_iterator<boost::detail::sep_<void*, boost::no_property> >, void*, boost::detail::edge_desc_impl<boost::directed_tag, void*>, ptrdiff_t>, boost::adjacency_list<boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS> >]': /usr/include/boost/graph/detail/adjacency_list.hpp:478: instantiated from `std::pair<typename Config::edge_iterator, typename Config::edge_iterator> boost::edges(const boost::directed_edges_helper<Config>&) [with Config = boost::detail::adj_list_gen<boost::adjacency_list<boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS>,boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS>::config]' /usr/include/boost/graph/graphviz.hpp:268: instantiated from `void boost::write_graphviz(std::ostream&, const Graph&, VertexPropertiesWriter, EdgePropertiesWriter, GraphPropertiesWriter) [with Graph = boost::adjacency_list<boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS>, VertexPropertiesWriter = boost::label_writer<kurt::infrastructure::Graph_Writer<kurt::data_types::Group_Seq> >, EdgePropertiesWriter = boost::default_writer, GraphPropertiesWriter = boost::default_writer]' /usr/include/boost/graph/graphviz.hpp:292: instantiated from `void boost::write_graphviz(std::ostream&, const Graph&, VertexWriter) [with Graph = boost::adjacency_list<boost::setS, boost::setS, boost::directedS, boost::property<boost::vertex_index_t, uint32_t, boost::property<boost::vertex_name_t, boost::shared_ptr<kurt::infrastructure::Component<kurt::data_types::Group_Seq, kurt::data_types::Group_Seq> >, boost::no_property> >, boost::no_property, boost::no_property, boost::listS>, VertexWriter = boost::label_writer<kurt::infrastructure::Graph_Writer<kurt::data_types::Group_Seq> >]' kurt_filters.cpp:111: instantiated from here /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3/bits/stl_pair.h:144: internal compiler error: in sweep_string_variable, at protector.c:1158 Expected Results: Compiled the binary. Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r4i686) ================================================================= System uname: 2.6.10-gentoo-r4 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 30 2004, 04:52:54)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6 sys-devel/automake: 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r1, 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/home/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://ftp-mirror.internap.com/pub/gentoo/ ftp://ftp-mirror.internap.com/pub/gentoo/ http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://www.gigaload.org/gentoo.org/ http://chod.cwru.edu/gentoo ftp://chod.cwru.edu/gentoo http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo" MAKEOPTS="-j2" PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X aalib adns alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups encode esd f77 fam firebird flac font-server foomaticdb fortran gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slangsnmp speex spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 50696 [details] Preprocessed source code
Uping severity because it is causing the program to fail to do its intended purpose: compile.
Created attachment 50917 [details] Output of internal compiler error Here is the output of compiling my app with gcc 3.3.5. I get an internal compiler error at the same place: g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -Wpointer-arith -gdwarf-2 -g3 -W -Wall -DDEBUG -rdynamic -c Data_Source_Config_Base.cpp -MT Data_Source_Config_Base.lo -MD -MP -MF .deps/Data_Source_Config_Base.TPlo -o Data_Source_Config_Base.o >/dev/null 2>&1 source='Data_Source_Factory.cpp' object='Data_Source_Factory.lo' libtool=yes \ depfile='.deps/Data_Source_Factory.Plo' tmpdepfile='.deps/Data_Source_Factory.TPlo' \ depmode=gcc3 /bin/sh ../../../depcomp \ /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -Wpointer-arith -gdwarf-2 -g3 -W -Wall -DDEBUG -rdynamic -c -o Data_Source_Factory.lo `test -f 'Data_Source_Factory.cpp' || echo './'`Data_Source_Factory.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -Wpointer-arith -gdwarf-2 -g3 -W -Wall -DDEBUG -rdynamic -c Data_Source_Factory.cpp -MT Data_Source_Factory.lo -MD -MP -MF .deps/Data_Source_Factory.TPlo -fPIC -DPIC -o .libs/Data_Source_Factory.o Data_Source_T.cpp: In member function `void libreverse::infrastructure::Data_Source<Transfer_Type>::put(boost::variant<std::string, bool, boost::shared_ptr<libreverse::io::File_Reader>, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_>) [with Transfer_Type = libreverse::infrastructure::Memory_Data_Transfer]': Data_Source_Factory.cpp:147: instantiated from here Data_Source_T.cpp:29: internal compiler error: in sweep_string_variable, at protector.c:1158 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /tmp/cccIcVuU.out file, please attach this to your bugreport.
Comment on attachment 50917 [details] Output of internal compiler error Bogus report. I updated gcc but did not log back out and in again. Emacs still was using gcc 3.4.3.
Invalid according to reporter.
I had a problem with gcc-3.4.3 so I installed gcc-3.3.5. When I reported that gcc-3.3.5 gave the same internal compiler error as gcc-3.4.3 I was wrong. Gcc-3.4.3 still reports the error but gcc-3.3.5 does not. That is what I failed to make clear. The bug is still unresolved. I merely tested with the stable version of gcc to ensure that indeed I was seeing something new. So using gcc-3.3.5 provides me a base line.
Can youu please include the original source code as well. Also, could you produce a reduced test case.
Created attachment 53098 [details] File that causes the compiler error Requires boost-1.32 to compile.
*** This bug has been marked as a duplicate of 74457 ***