This is the mail archive of the cygwin mailing list for the Cygwin 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]

gcc 3.4.4 crashing with segfault


While trying to build a gcc 3.2.1 cross-compiler on a current
Cygwin install, I get a repeatable segfault/internal-error from
gcc 3.4.4 [see below].  Building the exact same thing
(identical sources and configure options) on Linux with gcc
3.4.6 works fine.  It also built fine on older versions of
Cygwin.  Unfortunately, I've updated all my Cygwin installs, so
I don't know how far back you have to go to get it to work.

Any ideas?

It's actually the 3.2.1 cross-compiler that's crashing, right?


[...]
/bin/sh ../libtool --tag CXX --mode=compile /home/grante/toolchain/build-gcc/gcc/xgcc -shared-libgcc -B/home/grante/toolchain/build-gcc/gcc/ -nostdinc++  -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/home/grante/toolchain/build-gcc/arm-elf/newlib/ -isystem /home/grante/toolchain/build-gcc/arm-elf/newlib/targ-include -isystem /home/grante/toolchain/src/gcc-3.2.1/newlib/libc/include -B/home/grante/toolchain/gnutools/arm-elf/bin/ -B/home/grante/toolchain/gnutools/arm-elf/lib/ -isystem /home/grante/toolchain/gnutools/arm-elf/include -nostdinc++ -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/arm-elf -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include -I/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libsupc++  -I/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libmath    -g -O2 -fno-implicit-templates  -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics-show-location=once  -g    -c /home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc
/home/grante/toolchain/build-gcc/gcc/xgcc -shared-libgcc -B/home/grante/toolchain/build-gcc/gcc/ -nostdinc++ -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src -L/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/home/grante/toolchain/build-gcc/arm-elf/newlib/ -isystem /home/grante/toolchain/build-gcc/arm-elf/newlib/targ-include -isystem /home/grante/toolchain/src/gcc-3.2.1/newlib/libc/include -B/home/grante/toolchain/gnutools/arm-elf/bin/ -B/home/grante/toolchain/gnutools/arm-elf/lib/ -isystem /home/grante/toolchain/gnutools/arm-elf/include -nostdinc++ -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/arm-elf -I/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include -I/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libsupc++ -I/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -g -c /home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc -o locale-inst.o
/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc: In
   member function `_OutIter std::money_put<_CharT, _OutIter>::do_put(_OutIter, 
   bool, std::ios_base&, _CharT, const std::basic_string<_CharT, 
   std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT = 
   char, _OutIter = std::ostreambuf_iterator<char, std::char_traits<char> >]':
/home/grante/toolchain/src/gcc-3.2.1/libstdc++-v3/src/locale-inst.cc:48:   instantiated from here
/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/include/bits/locale_facets.tcc:1361: 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.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/grante/toolchain/build-gcc/arm-elf/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
make: Leaving directory `/home/grante/toolchain/build-gcc'


-- 
Grant Edwards                   grante             Yow! Now we can become
                                  at               alcoholics!
                               visi.com            


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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