howto debug ICE? [was: Re: boostrap failure (ICE) on gcc-3_3-branch (todays sources)]

Karel Gardas kgardas@objectsecurity.com
Fri Feb 21 21:50:00 GMT 2003


On Fri, 21 Feb 2003, Andreas Tobler wrote:

> Karel Gardas wrote:
> > Hello,
> >
> > I'm just curious if this is a bug on my side or something is broken in
> > gcc. I've updated to todays sources of gcc-3_3-branch. Configure them
> > with:
>
> I see the same on darwin6.3 with todays 3.3 tree.

Good that I'm not alone. I've just updated sources and the crash is still
here.  I've though that it might be usefull to post backtrace of this
crash, but gcc leave me w/o it since it just seems to finished with exit
code 01.

(gdb) r
Starting program: /home/karel/usr/src/cvs/gcc/obj/gcc/xgcc -shared-libgcc
-B/home/karel/usr/src/cvs/gcc/obj/gcc/ -nostdinc++
-L/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/karel/usr/local/gcc3.3.x/i686-pc-linux-gnu/bin/
-B/home/karel/usr/local/gcc3.3.x/i686-pc-linux-gnu/lib/ -isystem
/home/karel/usr/local/gcc3.3.x/i686-pc-linux-gnu/include -nostdinc++
-I/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/karel/cvs/gcc/gcc-3_3-branch/libstdc++-v3/libsupc++
-I/home/karel/cvs/gcc/gcc-3_3-branch/libstdc++-v3/libmath -g -O2
-D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-Winline -fdiagnostics-show-location=once -ffunction-sections
-fdata-sections -g -c
/home/karel/cvs/gcc/gcc-3_3-branch/libstdc++-v3/src/locale-inst.cc  -fPIC
-DPIC -o .libs/locale-inst.o
/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:
In
   member function `_OutIter std::num_put<_CharT,
_OutIter>::do_put(_OutIter,
   std::ios_base&, _CharT, bool) const [with _CharT = char, _OutIter =
   std::ostreambuf_iterator<char, std::char_traits<char> >]':
/home/karel/cvs/gcc/gcc-3_3-branch/libstdc++-v3/src/locale-inst.cc:62:
instantiated from here
/home/karel/usr/src/cvs/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.tcc:879:
internal compiler error: Segmentation
   fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Program exited with code 01.
(gdb) bt
No stack.


Is it possible to add some parameters to avoid gcc internal error handling
and to get proper backtrace?

Thanks,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com



More information about the Gcc mailing list