From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28643 invoked by alias); 19 Dec 2006 15:54:04 -0000 Received: (qmail 28632 invoked by uid 22791); 19 Dec 2006 15:54:03 -0000 X-Spam-Check-By: sourceware.org Received: from centrmmtao04.cox.net (HELO centrmmtao04.cox.net) (70.168.83.80) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Dec 2006 15:53:57 +0000 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by centrmmtao04.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20061219155355.GQCO5993.centrmmtao04.cox.net@eastrmimpo02.cox.net> for ; Tue, 19 Dec 2006 10:53:55 -0500 Received: from black ([70.181.32.198]) by eastrmimpo02.cox.net with bizsmtp id 0fsh1W00z4GV2Jm0000000; Tue, 19 Dec 2006 10:52:42 -0500 Received: from bob by black with local (Exim 4.62) (envelope-from ) id 1GwhHu-00007I-Jf for gcc-help@gcc.gnu.org; Tue, 19 Dec 2006 10:53:54 -0500 Date: Tue, 19 Dec 2006 15:54:00 -0000 From: Bob Rossi To: gcc-help@gcc.gnu.org Subject: mingw svn trunk failure Message-ID: <20061219155354.GD32464@cox.net> Mail-Followup-To: gcc-help@gcc.gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.12-2006-07-14 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg00279.txt.bz2 Hi, Is this the correct place to talk about problems compiling gcc on mingw? If I checkout svn trunk, and do, mkdir gcc-builddir-1 cd gcc-builddir-1 ../gcc/configure --disable-werror --with-gmp=/home/bobbybrasko/gcc/gmp/gmp \ --with-mpfr=/home/bobbybrasko/gcc/mpfr/prefixdir --host=mingw32 \ --target=mingw32 --prefix=/c/mingw --program-suffix="-4.1" --with-gcc \ --with-gnu-ld --with-gnu-as --enable-threads=win32 --disable-nls \ --enable-languages=c,c++ --disable-win32-registry --disable-shared \ --enable-static --without-x --enable-libstdcxx-debug \ 2>&1 | tee configure-out.txt then I do, cd gcc-builddir-1 make CFLAGS="-O2 -fomit-frame-pointer" \ CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" LDFLAGS=-s \ bootstrap 2>&1 | tee make-out.txt Now, when I compile gcc, I get this error, make[4]: Entering directory `/home/bobbybrasko/gcc/svn-head/gcc-builddir-1/gcc' /home/bobbybrasko/gcc/svn-head/gcc-builddir-1/./gcc/xgcc -B/home/bobbybrasko/gcc/svn-head/gcc-builddir-1 /./gcc/ -L/home/bobbybrasko/gcc/svn-head/gcc-builddir-1/mingw32/winsup/mingw -L/home/bobbybrasko/gcc/svn -head/gcc-builddir-1/mingw32/winsup/w32api/lib -isystem /home/bobbybrasko/gcc/svn-head/gcc/winsup/mingw/ include -isystem /home/bobbybrasko/gcc/svn-head/gcc/winsup/w32api/include -B/c/mingw/mingw32/bin/ -B/c/m ingw/mingw32/lib/ -isystem /c/mingw/mingw32/include -isystem /c/mingw/mingw32/sys-include -O2 -I../../gc c/gcc/../winsup/w32api/include -O2 -O2 -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstri ct-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../inclu de -I../../gcc/gcc/../libcpp/include -I/home/bobbybrasko/gcc/gmp/gmp/include -I/home/bobbybrasko/gcc/mpf r/prefixdir/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber -DL_chkstk -xassembler-with-cpp -c ../../gcc/gcc/config/i386/cygwin.asm -o libgcc/./_chkstk.o cc1.exe: internal compiler error: in add_standard_paths, at c-incpath.c:173 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[4]: *** [libgcc/./_chkstk.o] Error 1 make[4]: Leaving directory `/home/bobbybrasko/gcc/svn-head/gcc-builddir-1/gcc' make[3]: *** [libgcc.a] Error 2 make[3]: Leaving directory `/home/bobbybrasko/gcc/svn-head/gcc-builddir-1/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/home/bobbybrasko/gcc/svn-head/gcc-builddir-1' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/bobbybrasko/gcc/svn-head/gcc-builddir-1' make: *** [bootstrap] Error 2 At c-incpath.c:173 I have, /* If the compiler is relocated, and this is a configured prefix relative path, then we use gcc_exec_prefix instead of the configured prefix. */ gcc_assert (strncmp (p->fname, cpp_PREFIX, cpp_PREFIX_len) == 0); The values of the varaiables are, p->fname=/c/mingw/include cpp_PREFIX=c:/mingw cpp_PREFIX_len=8 I've also tried with --prefix=/mingw, and that simply changes the fname to /mingw/include, and it still fails at the same point. If I change the prefix to C:/mingw, I get totally different errors. I don't think the Makefile is happy with the : there. Should I report this as a bug? Is there any easy way someone can help me debug this further to fix it? Thanks, Bob Rossi