------- Comment #4 from rob1weld at aol dot com 2007-04-27 04:47 ------- I do agree with removing that option when configuring for Cygwin and I did so.
I put in extra spaces and re-sorted the order of these options so you can use an editor (like kwrite or notepad) to view the changed options easily. I do not see ANY options that would affect "C" / "C++" etc - only Java options added. My previous (working) ./configure was (with SVN from 2 weeks prior - IE: different): configure --verbose --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp --prefix=/usr --enable-objc-gc --enable-concept-checks --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/4.2 --enable-libstdcxx-debug --enable-shared --enable-static --enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp --enable-libmudflap --enable-libgomp --disable-werror --enable-nls --with-included-gettext --enable-sjlj-exceptions --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers --enable-libgcj --enable-hash-synchronization --enable-gc-debug --enable-interpreter --with-system-zlib --enable-libada --with-tls --enable-win32-registry --with-cpu=athlon-xp --with-arch=athlon-xp --target=i686-pc-cygwin --enable-multilib --enable-checking My current (broken, and different SVN version) options are: configure --verbose --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp --prefix=/usr --enable-objc-gc --enable-concept-checks --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/4.2 --enable-libstdcxx-debug --enable-static --enable-shared --enable-initfini-array --enable-__cxa_atexit --enable-threads=posix --enable-version-specific-runtime-libs --enable-libssp --enable-libmudflap --enable-libgomp --disable-werror --enable-nls --without-included-gettext --enable-decimal-float --with-long-double-128 --enable-debug --disable-sjlj-exceptions --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo --enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers --with-gjdoc --enable-portable-native-sync --enable-libgcj-multifile --with-stabs I didn't just "make clean", I deleted the whole directory and re-made from the begining using the second ./configure string above. I got make to break in EXACTLY the SAME location - but different error message. This makes me question that PCH might be broken (last week) and working previously (two weeks ago). This is not unheard of as it _was_ broken for a few days a few months ago. Here are the new errors, same spot much fewer and completly different: make[2]: Leaving directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libiberty' make[2]: Entering directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3' make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/cygdrive/c/gcc-4_2-branch-build/./gcc/xgcc -B/cygdrive/c/gcc-4_2-branch-build/./gcc/ -B/usr//bin/ -B/usr//lib/ -isystem /usr//include -isystem /usr//sys-include" "CFLAGS=-O2 -g -O2 " "CXXFLAGS=-g -O2 " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-O2 -g -O2 " "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-O2 -g -O2 " "LIBCFLAGS_FOR_TARGET=-O2 -g -O2 " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "includedir=/usr/include" "prefix=/usr" "tooldir=/usr/" "gxx_include_dir=/usr/include/c++/4.2" "AR=/usr/i686-pc-cygwin/bin/ar" "AS=/cygdrive/c/gcc-4_2-branch-build/./gcc/as" "LD=/cygdrive/c/gcc-4_2-branch-build/./gcc/collect-ld" "RANLIB=/usr/i686-pc-cygwin/bin/ranlib" "NM=/cygdrive/c/gcc-4_2-branch-build/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/i686-pc-cygwin/bin/nm" "DESTDIR=" "WERROR=" all-recursive make[3]: Entering directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3' Making all in include make[4]: Entering directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include' if [ ! -d ".//bits/extc++.h.gch" ]; then \ mkdir -p .//bits/extc++.h.gch; \ fi; \ /cygdrive/c/gcc-4_2-branch-build/./gcc/xgcc -shared-libgcc -B/cygdrive/c/gcc-4_2-branch-build/./gcc -nostdinc++ -L/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/src -L/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/src/.libs -B/usr//bin/ -B/usr//lib/ -isystem /usr//include -isystem /usr//sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2 -I/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include/ -I/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include -I/cygdrive/C/makecygwin/gcc-4_2-branch/libstdc++-v3/libsupc++ -O2 -g /cygdrive/C/makecygwin/gcc-4_2-branch/libstdc++-v3/include/precompiled/extc++.h -o bits/extc++.h.gch/O2g.gch In file included from /cygdrive/C/makecygwin/gcc-4_2-branch/libstdc++-v3/include/precompiled/extc++.h:60: /cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/exception.hpp: In function 'void pb_ds::__throw_join_error()': /cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/exception.hpp:84: 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[4]: *** [bits/extc++.h.gch/O2g.gch] Error 1 make[4]: Leaving directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3/include' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/cygdrive/c/gcc-4_2-branch-build/i686-pc-cygwin/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/cygdrive/c/gcc-4_2-branch-build' make: *** [all] Error 2 I tried to re-run make and still got a segmentation fault so it is not another process that is intruding and it is a repeatable fault. The good thing is that my computer does not crash and still works fine afterwards :) . I did bump this down to a "minor" after your great advice was given but now I'll bump it back up a little. I'll investigate some more and see what I come up with. Thanks for your help. Might be a PCH problem. -- rob1weld at aol dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31717