public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26596]  New: ICE for precompiling c++ header
@ 2006-03-07 14:29 Thomas dot Arend at web dot de
  2006-03-07 15:51 ` [Bug c++/26596] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas dot Arend at web dot de @ 2006-03-07 14:29 UTC (permalink / raw)
  To: gcc-bugs

When precompiling stdc++.h during a bootstrap (make boostrap), the c++ compiler
crashes with an ICE. Here is the relevant part of the log:

...
make[2]: Entering directory
`/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include'
sed -e
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g'
\
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /home/arend/tmp/gcc-3.4.6/libstdc++-v3/../gcc/gthr.h >
i686-pc-cygwin/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /home/arend/tmp/gcc-3.4.6/libstdc++-v3/../gcc/gthr-single.h >
i686-pc-cygwin/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /home/arend/tmp/gcc-3.4.6/libstdc++-v3/../gcc/gthr-posix.h >
i686-pc-cygwin/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /home/arend/tmp/gcc-3.4.6/libstdc++-v3/../gcc/gthr-posix.h >
i686-pc-cygwin/bits/gthr-default.h
touch ./i686-pc-cygwin/bits/stdc++.h; \
if [ ! -d "./i686-pc-cygwin/bits/stdc++.h.gch" ]; then \
  mkdir -p ./i686-pc-cygwin/bits/stdc++.h.gch; \
fi; \
/home/arend/tmp/build-gcc/gcc/xgcc -shared-libgcc
-B/home/arend/tmp/build-gcc/gcc/ -nostdinc++
-L/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/src
-L/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/bin/
-B/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/lib/ -isystem
/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/include -isystem
/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header -g -Os
-I/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include
-I/home/arend/tmp/gcc-3.4.6/libstdc++-v3/libsupc++
/home/arend/tmp/gcc-3.4.6/libstdc++-v3/include/stdc++.h -O0 -g -o
./i686-pc-cygwin/bits/stdc++.h.gch/O0g; \
/home/arend/tmp/build-gcc/gcc/xgcc -shared-libgcc
-B/home/arend/tmp/build-gcc/gcc/ -nostdinc++
-L/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/src
-L/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/src/.libs
-B/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/bin/
-B/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/lib/ -isystem
/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/include -isystem
/home/arend/opt/install/gcc-3.4.6/i686-pc-cygwin/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header -g -Os
-I/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin
-I/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include
-I/home/arend/tmp/gcc-3.4.6/libstdc++-v3/libsupc++
/home/arend/tmp/gcc-3.4.6/libstdc++-v3/include/stdc++.h -O2 -g -o
./i686-pc-cygwin/bits/stdc++.h.gch/O2g;
/home/arend/tmp/gcc-3.4.6/libstdc++-v3/include/stdc++.h:82: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
/home/arend/tmp/gcc-3.4.6/libstdc++-v3/include/stdc++.h:82: internal compiler
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [i686-pc-cygwin/bits/stdc++.h] Error 1
make[2]: Leaving directory
`/home/arend/tmp/build-gcc/i686-pc-cygwin/libstdc++-v3/include'
...

The compiler was configured using

  ../gcc-3.4.6/configure --prefix=/home/arend/opt/install/gcc-3.4.6
    --disable-shared --enable-static --enable-threads --enable-target-optspace
    --enable-languages=ada,c,c++,f77,java,objc --enable-libgcj --enable-nls
    --enable-version-specific-runtime-libs --with-x --enable-java-awt=xlib
    --disable-libgcj-debug --disable-win32-registry --enable-sjlj-exceptions

on i686-pc-cygwin (cygwin version 1.5.19(0.150/4/2)).

Regards,

        Thomas


-- 
           Summary: ICE for precompiling c++ header
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Arend at web dot de
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26596


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/26596] ICE for precompiling c++ header
  2006-03-07 14:29 [Bug c++/26596] New: ICE for precompiling c++ header Thomas dot Arend at web dot de
@ 2006-03-07 15:51 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-07 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-07 15:50 -------


*** This bug has been marked as a duplicate of 11341 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26596


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-07 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 14:29 [Bug c++/26596] New: ICE for precompiling c++ header Thomas dot Arend at web dot de
2006-03-07 15:51 ` [Bug c++/26596] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).