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]
Other format: [Raw text]

[Bug bootstrap/11341] New: [cygwin] ICE in ggc_pop_context, at ggc-page.c:1441 while compiling libstc++3


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [cygwin] ICE in ggc_pop_context, at ggc-page.c:1441
                    while compiling libstc++3
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: critical
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giovannibajo at libero dot it
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin

With today's mainline, I get this failure while compiling libstdc++3:

/home/Administrator/gcc/mainline/out/gcc/xgcc -shared-libgcc -
B/home/Administrator/gcc/mainline/out/gcc/ -nostdinc++  -
L/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/src -
L/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/src/.libs -
B/usr/local/i686-pc-cygwin/bin/ -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/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-
v3/include/i686-pc-cygwin -I/home/Administrator/gcc/mainline/out/i686-pc-
cygwin/libstdc++-v3/include -I../../../../gcc/libstdc++-
v3/libsupc++ /home/Administrator/gcc/mainline/gcc/libstdc++-
v3/include/stdc++.h -O2 -g -o ./i686-pc-cygwin/bits/stdc++.h.gch/O2g;
/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/include/valarra
y: In
   constructor `std::valarray<_Tp>::valarray() [with _Tp = size_t]':
/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/include/valarra
y:245:   instantiated from `std::valarray<_Tp>::valarray() [with _Tp = size_t]'
/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/include/bits/gs
lice.h:86:   instantiated from here
/home/Administrator/gcc/mainline/out/i686-pc-cygwin/libstdc++-v3/include/valarra
y:245: 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.

Reducing the problem, I have this:

$ ./xgcc.exe -O2 -g -x c++-header stc++.ii
/home/Administrator/gcc/mainline/gcc/libstdc++-v3/include/stdc++.h:83: 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.

This is using the stage 3 compiler (the last built) and the preprocessed source 
generated from above.

I would be interested in seeing if this bug can be reproduced on other 
platforms.

While reducing the command line options, I was sometimes getting this ICE 
instead:

/home/Administrator/gcc/mainline/gcc/libstdc++-v3/include/stdc++.h:84: internal
compiler error: in ggc_pop_context, at ggc-page.c:1441
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

hence the summary. It seems like it switches from a standard segmentation fault 
to this ICE without a sensible reason.


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