From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6808 invoked by alias); 29 Jun 2007 19:13:40 -0000 Received: (qmail 6792 invoked by uid 22791); 29 Jun 2007 19:13:39 -0000 X-Spam-Check-By: sourceware.org Received: from xerxes.lunarpages.com (HELO xerxes.lunarpages.com) (216.227.209.138) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Jun 2007 19:13:37 +0000 Received: from [216.103.248.170] (helo=lee8075b) by xerxes.lunarpages.com with esmtpa (Exim 4.63) (envelope-from ) id 1I4LuP-0003Pq-R9; Fri, 29 Jun 2007 12:13:33 -0700 From: "Lee Rhodes" To: , Subject: internal compiler error: Segmentation fault Date: Sat, 30 Jun 2007 12:28:00 -0000 Message-ID: <003101c7ba81$883b8ca0$0701a8c0@lee8075b> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 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: 2007-06/txt/msg00444.txt.bz2 Hello, I am attempting to build gcc 4.3.0-20070622 on i686-pc-cygwin 1.5.24-2. Cygwin has been updated with the cygwin-inst-20070616.tar.bz2 in order to obtain Dave Korn's stdio.h / newlib fix (which I have verified is there). The config options are: --prefix=/usr/local/gcc-4.3-20070622 --disable-shared --enable-sjlj-exceptions --enable-bootstrap --enable-libgomp --enable-libmudflap --enable-threads=posix --enable-languages='c c++' === gcc Summary === # of expected passes 46896 # of unexpected failures 67 # of unexpected successes 2 # of expected failures 134 # of untested testcases 42 # of unsupported tests 447 However, looking more closely at the unexpected fails, I noticed that there were 12 more than Tim Prince's idential build/test. These fails all have the following signature in the gcc.log (I have deleted the paths and duplicate lines to make it easier to read): Executing on host: xgcc -O2 -w -fno-show-column -o 20001226-1.o gcc.c-torture/compile/20001226-1.c gcc.c-torture/compile/20001226-1.c: In function 'foo': gcc.c-torture/compile/20001226-1.c:23: internal compiler error: Segmentation fault FAIL: gcc.c-torture/compile/20001226-1.c (internal compiler error) I can duplicate these failures more precisely with the following make check-gcc RUNTESTFLAGS="compile.exp=20001226-1.c" It is perhaps notable that this particular torture test does PASS at optimization settings of -O0 and -O1, but always has the same failure signature at Optimizations of -O2, -O3 and -Os. Also I noted that the only one of these tests that failed on Tim's build was the -Os, but it was a different failure and not the Segmentation fault I am getting. The only other unusual messages appear at the end of the build standard error output: configure: error: none of the known symbol names works make[1]: *** [configure-target-libmudflap] Error 1 make: *** [bootstrap] Error 2 9 [unknown (0xCA4)] conftest 7216 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) I am stuck. I don't know what a Segmentation fault is, but since Tim got his build to test without any segmentation faults, I'm not sure it is a bug. I suspect that perhaps my Cygwin may be corrupted or missing something. Does anyone have any suggestions? Thanks, Lee.