This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
- From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2008 20:58:45 -0000
- Subject: [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
- References: <bug-35169-6116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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