This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16886] New: Segmentation fault when compile gcc 3.2.2 under cygwin with target as powerpc-eabi
- From: "yueyewutong at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Aug 2004 06:42:25 -0000
- Subject: [Bug libstdc++/16886] New: Segmentation fault when compile gcc 3.2.2 under cygwin with target as powerpc-eabi
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
when I compile gcc 3.2.2 under cygwin with target as powerpc-eabi, there was a
Segmentation fault.
_________________________________________________
Reading specs from /tmp/build/gcc/gcc/specs
Configured with: /src/gcc-3.2.2/configure --target=powerpc-eabi
--prefix=/gnutools --enable-languages=c,c++ --with-gnu-as --with-gnu-ld
--with-newlib --with-gxx-include-dir=/gnutools/powerpc-eabi/include -v
Thread model: single
gcc version 3.2.2
/tmp/build/gcc/gcc/cpp0.exe -lang-c++ -D__GNUG__=3 -D__DEPRECATED
-D__EXCEPTIONS -nostdinc++ -nostdinc -nostdinc++ -v
-I/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include/powerpc-eabi
-I/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include -I/src/gcc-3.2.
2/libstdc++-v3/libsupc++ -I/src/gcc-3.2.2/libstdc++-v3/libmath -iprefix
/tmp/build/gcc/gcc/../lib/gcc-lib/powerpc-eabi/3.2.2/ -isystem
/tmp/build/gcc/gcc/include -isystem
/tmp/build/gcc/powerpc-eabi/nof/newlib/include -isystem
/gnutools/powerpc-eabi/bin/include -isystem /gnutools/powerpc-eabi/lib/include
-D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102
-DPPC -D__embedded__ -D__PPC__ -D__embedded__ -D__PPC -Asystem=embedded
-Acpu=powerpc -Amachine=powerpc -D__OPTIMIZE__ -D__STDC_HOSTED__=1
-D_RELOCATABLE -D_CALL_SYSV -D_SOFT_FLOAT -D_BIG_ENDIAN -D__BIG_ENDIAN__
-Amachine=bigendian -D_ARCH_PPC -isystem
/tmp/build/gcc/powerpc-eabi/nof/newlib/targ-include -isystem /src/gcc-3.2.
2/newlib/libc/include -isystem /gnutools/powerpc-eabi/include /src/gcc-3.2.
2/libstdc++-v3/src/complex_io.cc -Wall -Wno-format -W -Wwrite-strings -Winline
complex_io.ii
ignoring nonexistent directory "/tmp/build/gcc/powerpc-eabi/nof/newlib/include"
ignoring nonexistent directory "/gnutools/powerpc-eabi/bin/include"
ignoring nonexistent directory "/gnutools/powerpc-eabi/lib/include"
ignoring nonexistent directory "/gnutools/powerpc-eabi/include"
GNU CPP version 3.2.2 (cpplib) (PowerPC Embedded)
#include "..." search starts here:
#include <...> search starts here:
/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include/powerpc-eabi
/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include
/src/gcc-3.2.2/libstdc++-v3/libsupc++
/src/gcc-3.2.2/libstdc++-v3/libmath
/tmp/build/gcc/gcc/include
/tmp/build/gcc/powerpc-eabi/nof/newlib/targ-include
/src/gcc-3.2.2/newlib/libc/include
End of search list.
/tmp/build/gcc/gcc/cc1plus.exe -fpreprocessed complex_io.ii -quiet -dumpbase
complex_io.cc -msoft-float -mrelocatable-lib -mno-eabi -mstrict-align
-msoft-float -mrelocatable-lib -mno-eabi -mstrict-align -g -g -O2 -Wall
-Wno-format -W -Wwrite-strings -Winline -version -fno-implicit-templates
-fdiagnostics-show-location=once -o complex_io.s
GNU CPP version 3.2.2 (cpplib) (PowerPC Embedded)
GNU C++ version 3.2.2 (powerpc-eabi)
compiled by GNU C version 3.3.1 (cygming special).
/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include/sstream: In destructor
`virtual std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::~basic_stringbuf()':
/tmp/build/gcc/powerpc-eabi/nof/libstdc++-v3/include/sstream:283: internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
_________________________________________________________________________
I also compile gcc 3.3.1 with the same options, there was none error.
--
Summary: Segmentation fault when compile gcc 3.2.2 under cygwin
with target as powerpc-eabi
Product: gcc
Version: 3.2.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: yueyewutong at 163 dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: powerpc-eabi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16886