This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Internal compiler error: mainline


Already reported as PR10935 <http://gcc.gnu.org/PR10935>
You can use this patch to disable PCH in libstdc++:
Needs this patch to disable PCH in libstdc++-v3 testsuite
--- libstdc++-v3/testsuite_flags.in 26 Apr 2003 04:01:47 -0000 1.17
+++ libstdc++-v3/testsuite_flags.in 7 May 2003 02:37:34 -0000
@@ -43,7 +43,7 @@
echo \${CXX}
;;
--build-cxx)
- PCHFLAGS="-include bits/stdc++.h"
+ PCHFLAGS= #"-include bits/stdc++.h"
CXX_build="@glibcpp_CXX@ \${PCHFLAGS}"
CXX=\`echo "\$CXX_build" | sed 's,gcc/xgcc ,gcc/g++ ,'\`
echo \${CXX}


Thanks,
Andrew Pinski


On Saturday, Jun 14, 2003, at 19:26 US/Eastern, Robert McNulty Junior wrote:


I get the following message while compiling GCC 3.4,.



____snip____
/home/Robert/gcc-3.4/o/gcc/xgcc -shared-libgcc -B/home/Robert/gcc-3.4/o/gcc/ -no
stdinc++ -L/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/src -L/home/Rober
t/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bi
n/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -
isystem /usr/local/i686-pc-cygwin/sys-include -Winvalid-pch -Wno-deprecated -x c
++-header -g -O2 -nostdinc++ -I/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v
3/include/i686-pc-cygwin -I/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/in
clude -I../../../../gcc/libstdc++-v3/libsupc++ /home/Robert/gcc-3.4/gcc/libstdc+
+-v3/include/stdc++.h -O0 -g -o ./i686-pc-cygwin/bits/stdc++.h.gch/O0g; \
/home/Robert/gcc-3.4/o/gcc/xgcc -shared-libgcc -B/home/Robert/gcc-3.4/o/gcc/ -no
stdinc++ -L/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/src -L/home/Rober
t/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bi
n/ -B/usr/local/i686-pc-cygwin/lib/ -isystem /usr/local/i686-pc-cygwin/include -
isystem /usr/local/i686-pc-cygwin/sys-include -Winvalid-pch -Wno-deprecated -x c
++-header -g -O2 -nostdinc++ -I/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v
3/include/i686-pc-cygwin -I/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/in
clude -I../../../../gcc/libstdc++-v3/libsupc++ /home/Robert/gcc-3.4/gcc/libstdc+
+-v3/include/stdc++.h -O2 -g -o ./i686-pc-cygwin/bits/stdc++.h.gch/O2g;
/home/Robert/gcc-3.4/gcc/libstdc++-v3/include/stdc++.h:83: internal compiler err
or: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [i686-pc-cygwin/bits/stdc++.h] Error 1
make[4]: Leaving directory `/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3/i
nclude'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/Robert/gcc-3.4/o/i686-pc-cygwin/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/Robert/gcc-3.4/o'
make: *** [bootstrap] Error 2


Robert@bobby ~/gcc-3.4/o
I686-pc-cygwin.
straight coinfigure ie

../gcc/configure








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