From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3143 invoked by alias); 28 Mar 2008 20:59:30 -0000 Received: (qmail 2991 invoked by uid 48); 28 Mar 2008 20:58:45 -0000 Date: Fri, 28 Mar 2008 20:59:00 -0000 Message-ID: <20080328205845.2988.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bugzilla-gcc at thewrittenword dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg02307.txt.bz2 ------- Comment #3 from bugzilla-gcc at thewrittenword dot com 2008-03-28 20:58 ------- (In reply to comment #2) > (In reply to comment #1) > > ld is running at this time so I doubt this is a GCC bug. > > The Pid it is referring to ("Pid 18929 received a SIGSEGV for stack growth > failure.") is /opt/build/china/gcc-4.2.3-objdir/./gcc/xgcc. Seems to be recursing in cancel_option until stack runs out: Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) (gdb) n 121 if (cl_options [next_opt_idx].neg_index != orig_next_opt_idx) (gdb) 122 return cancel_option (opt_idx, cl_options [next_opt_idx].neg_index, (gdb) Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) (gdb) 121 if (cl_options [next_opt_idx].neg_index != orig_next_opt_idx) (gdb) 122 return cancel_option (opt_idx, cl_options [next_opt_idx].neg_index, (gdb) Breakpoint 5, cancel_option (opt_idx=30, next_opt_idx=0, orig_next_opt_idx=555) at /opt/build/gcc-4.2.3/gcc/opts-common.c:118 118 if (cl_options [next_opt_idx].neg_index == opt_idx) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169