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]

Template problem in Mandrake 7.1



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


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