Bug 39610 - ICE in libstdc++-v3/include in stage 3
Summary: ICE in libstdc++-v3/include in stage 3
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 18:01 UTC by Rainer Emrich
Modified: 2024-03-19 22:59 UTC (History)
2 users (show)

See Also:
Host: i686-pc-cygwin
Target: i686-pc-cygwin x86_64-pc-mingw32
Build: i686-pc-cygwin
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Emrich 2009-04-01 18:01:40 UTC
make[3]: Entering directory `/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include'
mkdir -p ./i686-pc-cygwin/bits/extc++.h.gch
/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/./gcc/xgcc -shared-libgcc -B/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/./gcc -nostdinc++ -L/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/src -L/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/src/.libs -B/opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/bin/ -B/opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/lib/ -isystem /opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/include -isystem /opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/sys-include -Winvalid-pch -x c++-header -g -O2   -I/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include -I/home/rainer/software/src/gcc-4.5.0/libstdc++-v3/libsupc++ -O2 -g /home/rainer/software/src/gcc-4.5.0/libstdc++-v3/include/precompiled/extc++.h -o i686-pc-cygwin/bits/extc++.h.gch/O2g.gch
In file included from /home/rainer/software/src/gcc-4.5.0/libstdc++-v3/include/precompiled/extc++.h:59:
/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include/ext/throw_allocator.h: In function 'std::ostream& __gnu_cxx::operator<<(std::ostream&, const __gnu_cxx::throw_allocator_base&)':
/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include/ext/throw_allocator.h:289: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [i686-pc-cygwin/bits/extc++.h.gch/O2g.gch] Error 1
make[3]: Leaving directory `/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include'
Comment 1 Richard Biener 2009-04-02 09:33:48 UTC
Can you configure with --disable-libstdcxx-pch and try again?
Comment 2 Rainer Emrich 2009-04-02 12:05:15 UTC
(In reply to comment #1)
> Can you configure with --disable-libstdcxx-pch and try again?
> 

sure, in the evening.
Comment 3 Rainer Emrich 2009-04-05 06:46:45 UTC
(In reply to comment #1)
> Can you configure with --disable-libstdcxx-pch and try again?
> 

Now I get in libstdc++-v3/src:

libtool: compile:  /home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/./gcc/xgcc -shared-libgcc -B/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/./gcc -nostdinc++ -L/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/src -L/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/src/.libs -B/opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/bin/ -B/opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/lib/ -isystem /opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/include -isystem /opt/devel/gnu/gcc/gcc-4.5.0/i686-pc-cygwin/i686-pc-cygwin/sys-include -I/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin -I/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/include -I/home/rainer/software/src/gcc-4.5.0/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -std=gnu++0x -c ../../../../../../../src/gcc-4.5.0/libstdc++-v3/src/functexcept.cc  -DDLL_EXPORT -DPIC -o .libs/functexcept.o
../../../../../../../src/gcc-4.5.0/libstdc++-v3/src/functexcept.cc: In function 'void std::__throw_domain_error(const char*)':
../../../../../../../src/gcc-4.5.0/libstdc++-v3/src/functexcept.cc:69: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [functexcept.lo] Error 1
make[4]: Leaving directory `/home/rainer/software/build/i686-pc-cygwin/gcc-4.5.0/gcc/i686-pc-cygwin/libstdc++-v3/src'
Comment 4 Kai Tietz 2009-04-05 08:39:24 UTC
for mingw-w64 we have the same issue as cygwin.
Comment 5 Rainer Emrich 2009-04-06 08:53:37 UTC
This is a regression because it used to work for gcc-4.4.0.
Comment 6 Rainer Emrich 2009-07-17 10:30:37 UTC
This doesn't show up anymore. Someone with appropriate permissions may close this PR.

Rainer
Comment 7 Kai Tietz 2009-07-17 10:35:34 UTC
Seems to be fixed by side-effect.

Thanks,
Kai