------- Comment #3 from rob1weld at aol dot com 2007-04-29 18:19 ------- The problem seems to be that the ./configure script is including "--enable-languages" TWO times and the second time it is NOT quoting it - thus breaking sed.
# grep _configargs ../gcc-4_2-build/config.log build_configargs='--cache-file=../config.cache --build= --host= --target= '\''--verbose'\'' '\''--enable-languages=c,ada,c++,fortran,java,objc,obj-c++'\'' '\''--with-tune=athlon-xp'\'' '\''--prefix=/usr'\'' '\''--enable-objc-gc'\'' '\''--enable-concept-checks'\'' '\''--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'\'' '\''--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-clocale=gnu'\'' '\''--enable-debug'\'' '\''--disable-sjlj-exceptions'\'' '\''--enable-java-gc=boehm'\'' '\''--with-x'\'' '\''--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'\'' --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --program-transform-name='\''s,y,y,'\''' host_configargs=(SAME STRING) target_configargs=(SAME STRING) My ./configure command line (I use a shell script, I don't type it in :) ) is: /root/downloads/gcc-4_2-branch/configure --verbose --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp --prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib --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 --with-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 --enable-hash-synchronization --enable-gc-debug --enable-interpreter --with-system-zlib --enable-libada --with-tls --with-cpu=athlon-xp --with-arch=athlon-xp --enable-checking Note I only specify "--enable-languages=c,ada,c++,fortran,java,objc,obj-c++" a _single_ time, but even if I did specify it ten times the *_configargs=XYZ" should only show it once and it should be single quoted. Perhaps our shells are different and yours is not affected. I compile through a X11 window - here is my xterm and bash versions (for Linux both are "apt-get" recent, for Cygwin both are Setup.exe recently updated): For gnu/Linux (Debian): /opt/gcc-4_2-build# xterm -version XTerm(222) /opt/gcc-4_2-build# bash --version GNU bash, version 3.1.17(1)-release (i486-pc-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. /opt/gcc-4_2-build# For WinXP (Cygwin): $ xterm -version Cygwin 6.8.2.0(202) $ bash --version GNU bash, version 3.2.15(13)-release (i686-pc-cygwin) Copyright (C) 2005 Free Software Foundation, Inc. My X11 is: $ x --version Welcome to the XWin X Server Vendor: The Cygwin/X Project Release: 6.8.99.901-4 My window-manager is OpenBox. This problem poped up in the last month. I tried to not complain and see if it would be fixed after a few updates - but like you said, some other people don't have this problem. It is NOT a "visible" problem unless you type "gcc -v". The compiler works fine with this error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31746