This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Template problem in Mandrake 7.1
- To: gcc-bugs at gcc dot gnu dot org, tnordfalk at get2net dot dk
- Subject: Template problem in Mandrake 7.1
- From: Jacob Nordfalk <nordfalk at mobilixnet dot dk>
- Date: Tue, 17 Oct 2000 16:44:13 +0200
- Organization: Jumbo
There seems to be a template problem in Mandrake 7.1.
I use the standard RPMs (don't know how they configured/built GCC)
gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs
gcc version 2.95.3 19991030
(prerelease)
g++ error.cc -o error
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/stl_list.h:
In method `void
_List_base<_arr_internal_ref<arr_refBase,_arr_internal_container<arr_refBase,cont3>
> *,allocator<_arr_internal_ref<arr_refBase,_arr_internal_container<arr_refBase,cont3> > *> >::clear()':
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/stl_list.h:192:
instantiated from here
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/stl_list.h:239:
Internal compiler error.
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/stl_list.h:239:
Please submit a full bug report.
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/stl_list.h:239:
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
I tried to track it down as much as possible, and the problem seems somehow to
be connected with the list template.
Further tracking down lead me to _List_base but here I got stuck.
The compilation works fine in CodeSourcery's Online Test Compilation ( gcc
version 2.97 20001009 (experimental) ).
--
Jacob Nordfalk
error.ii.gz
error.cc