This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Experiencing unreproducible internal compiler errors <<whinge>>
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Experiencing unreproducible internal compiler errors <<whinge>>
- From: Matt Lowry <mclowry at cs dot adelaide dot edu dot au>
- Date: Thu, 16 Mar 2000 12:23:38 +1030 (CST)
- Reply-To: Matt Lowry <mclowry at cs dot adelaide dot edu dot au>
I have encountered internal compiler errors with gcc 2.95.2, but they are
unreproducible in that with all cases the problem did not reappear when
make was immediatley reinvoked.
I am running Mandrake 7.0 on a K7, and have done nothing in the way of
meddling with the kernel or gcc as it was installed by Mandrake 7.0.
I have had these problems when compiling :
1) Xmame (an arcade game machine emulator), versions 0.36b16.1 and
0.36rc1.1, for the "X11 with DGA" graphics target.
2) MICO version 2.3.1 with the following configuration :
./configure --prefix=/usr --enable-final --disable-mini-stl
-------
With Xmame the first error I encountered was :
Compiling src/drivers/parodius.c ...
In file included from /usr/include/stdlib.h:33,
from /usr/include/bits/string2.h:1184,
from /usr/include/string.h:346,
from src/mame.h:5,
from src/driver.h:8,
from src/drivers/parodius.c:9:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h:342: unbalanced `#endif'
In file included from /usr/include/stdlib.h:33,
from src/mame.h:6,
from src/driver.h:8,
from src/drivers/parodius.c:9:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h:342: unbalanced `#endif'
In file included from /usr/include/sys/types.h:124,
from /usr/include/stdlib.h:339,
from src/mame.h:6,
from src/driver.h:8,
from src/drivers/parodius.c:9:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h:342: unbalanced `#endif'
In file included from /usr/include/alloca.h:25,
from /usr/include/stdlib.h:492,
from src/mame.h:6,
from src/driver.h:8,
from src/drivers/parodius.c:9:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/include/stddef.h:342: unbalanced `#endif'
make: *** [obj-xmame/drivers/parodius.o] Error 1
<< This is with version 0.36b16.1 My initial reaction was that this is a
Mandrake problem, make was reinvoked and compilation of the offending
driver proceeded. However a few days later (today) I was compiling
version 0.36rc1.1 when : >>
Damn lost the transcipt (whoops) <<sheepish grin>>
Anyhoo, it was a "recieved signal 9" internal compiler error.
And again, simply reinvoking make solves the problem.
-------
With the MICO compilation I recieved the following to errors :
make[1]: Entering directory `/usr/src/mico/imr'
echo '# Module dependencies' > .depend
/usr/src/mico/./admin/mkdepend -I. -I../include -O -ftemplate-depth-42 -fpermissive -fno-exceptions *.cc >> .depend
c++ -I. -I../include -O -ftemplate-depth-42 -fpermissive -fno-exceptions -fexceptions -c imr_all.cc -o imr_all.o
In file included from ../include/CORBA.h:211,
from imr_all.cc:1:
../include/mico/ir.h:1549: Internal compiler error.
../include/mico/ir.h:1549: Please submit a full bug report.
../include/mico/ir.h:1549: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[1]: *** [imr_all.o] Error 1
make[1]: Leaving directory `/usr/src/mico/imr'
make: *** [system] Error 1
<< I cd to the imr/ directory , invoke make , and the offending file is
compiled without a hitch. Returning to the top level dir I reinvoke make
and compilation proceeds. Some time later ... >>
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_tree.h: In function `static const class string & _Rb_tree<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,CosTrading::Link::LinkInfo>,_Select1st<pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,CosTrading::Link::LinkInfo> >,less<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > >,allocator<CosTrading::Link::LinkInfo> >::_S_key(_Rb_tree_node<pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,CosTrading::Link::LinkInfo> > *)':
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_tree.h:1121: instantiated from `_Rb_tree<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,CosTrading::Link::LinkInfo>,_Select1st<pair<const basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,CosTrading::Link::LinkInfo> >,less<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > >,allocator<CosTrading::Link::LinkInfo> >::find(const string &)'
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_map.h:187: instantiated from here
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_tree.h:597: Internal compiler error.
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_tree.h:597: Please submit a full bug report.
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.2/../../../../include/g++-3/stl_tree.h:597: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[2]: *** [link.o] Error 1
make[2]: Leaving directory `/usr/src/mico/coss/trader'
make[1]: *** [subprg] Error 1
make[1]: Leaving directory `/usr/src/mico/coss'
make: *** [system] Error 1
-------
I realise this is probably a useless report, it's more to satisfy my desire
to whinge then anyhing else.
Enjoy!
------------------------------------------------
Matt Lowry ( mclowry@cs.adelaide.edu.au )
------------------------------------------------
Pragmatism? What's the use of that?
------------------------------------------------