* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
@ 2008-02-12 1:36 ` pinskia at gcc dot gnu dot org
2008-02-12 3:53 ` bugzilla-gcc at thewrittenword dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-02-12 1:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-12 01:36 -------
ld is running at this time so I doubt this is a GCC bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
2008-02-12 1:36 ` [Bug bootstrap/35169] " pinskia at gcc dot gnu dot org
@ 2008-02-12 3:53 ` bugzilla-gcc at thewrittenword dot com
2008-03-28 20:59 ` bugzilla-gcc at thewrittenword dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2008-02-12 3:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from bugzilla-gcc at thewrittenword dot com 2008-02-12 03:52 -------
(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. I ran the command
under tusc (similar to truss(1) on Solaris or strace(1) on Redhat) and there is
no call to ld.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
2008-02-12 1:36 ` [Bug bootstrap/35169] " pinskia at gcc dot gnu dot org
2008-02-12 3:53 ` bugzilla-gcc at thewrittenword dot com
@ 2008-03-28 20:59 ` bugzilla-gcc at thewrittenword dot com
2008-03-29 2:22 ` bugzilla-gcc at thewrittenword dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2008-03-28 20:59 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (2 preceding siblings ...)
2008-03-28 20:59 ` bugzilla-gcc at thewrittenword dot com
@ 2008-03-29 2:22 ` bugzilla-gcc at thewrittenword dot com
2008-03-31 11:33 ` rwild at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: bugzilla-gcc at thewrittenword dot com @ 2008-03-29 2:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from bugzilla-gcc at thewrittenword dot com 2008-03-29 02:21 -------
(In reply to comment #3)
> (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:
>
All due to a bug in awk on ia64-hpux11.23. Using gawk allows the build to
complete. Here is a selection of a diff from options.c generated with awk and
gawk:
{ "-W",
"This switch is deprecated; use -Wextra instead",
- N_OPTS, 1, 0,
+ N_OPTS, 1, -1,
CL_COMMON | CL_REJECT_NEGATIVE,
0, CLVC_BOOLEAN, 0 },
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (3 preceding siblings ...)
2008-03-29 2:22 ` bugzilla-gcc at thewrittenword dot com
@ 2008-03-31 11:33 ` rwild at gcc dot gnu dot org
2008-03-31 21:20 ` rwild at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-03-31 11:33 UTC (permalink / raw)
To: gcc-bugs
--
rwild at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rwild at gcc dot gnu dot org
AssignedTo|unassigned at gcc dot gnu |rwild at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-03-31 11:32:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (4 preceding siblings ...)
2008-03-31 11:33 ` rwild at gcc dot gnu dot org
@ 2008-03-31 21:20 ` rwild at gcc dot gnu dot org
2008-04-17 15:10 ` cnstar9988 at gmail dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-03-31 21:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from rwild at gcc dot gnu dot org 2008-03-31 21:19 -------
patch at <http://gcc.gnu.org/ml/gcc-patches/2008-03/msg02037.html>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (5 preceding siblings ...)
2008-03-31 21:20 ` rwild at gcc dot gnu dot org
@ 2008-04-17 15:10 ` cnstar9988 at gmail dot com
2008-04-28 22:29 ` rwild at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cnstar9988 at gmail dot com @ 2008-04-17 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from cnstar9988 at gmail dot com 2008-04-17 15:09 -------
same as PR27794?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27794
confirmed, gcc 4.2.2 hp ia64 11.23
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz.
make[4]: *** [libgcc/hpux64/__divxf3.o] Segmentation fault (core dumped)
make[4]: Leaving directory `/os/build/gcc-4.2.2-build/build/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory `/os/build/gcc-4.2.2-build/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/os/build/gcc-4.2.2-build/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/os/build/gcc-4.2.2-build/build'
make: *** [all] Error 2
--
cnstar9988 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cnstar9988 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (6 preceding siblings ...)
2008-04-17 15:10 ` cnstar9988 at gmail dot com
@ 2008-04-28 22:29 ` rwild at gcc dot gnu dot org
2008-05-02 4:09 ` rwild at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-04-28 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from rwild at gcc dot gnu dot org 2008-04-28 22:28 -------
Subject: Bug 35169
Author: rwild
Date: Mon Apr 28 22:27:22 2008
New Revision: 134768
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134768
Log:
gcc/
PR bootstrap/35169
* optc-gen.awk: Work around HP-UX/IA awk bug.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/optc-gen.awk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (7 preceding siblings ...)
2008-04-28 22:29 ` rwild at gcc dot gnu dot org
@ 2008-05-02 4:09 ` rwild at gcc dot gnu dot org
2008-05-02 4:17 ` rwild at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-05-02 4:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from rwild at gcc dot gnu dot org 2008-05-02 04:09 -------
Subject: Bug 35169
Author: rwild
Date: Fri May 2 04:08:11 2008
New Revision: 134880
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134880
Log:
gcc/
PR bootstrap/35169
* optc-gen.awk: Work around HP-UX/IA awk bug.
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/optc-gen.awk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (8 preceding siblings ...)
2008-05-02 4:09 ` rwild at gcc dot gnu dot org
@ 2008-05-02 4:17 ` rwild at gcc dot gnu dot org
2008-05-02 4:31 ` rwild at gcc dot gnu dot org
2008-05-02 9:20 ` ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-05-02 4:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rwild at gcc dot gnu dot org 2008-05-02 04:16 -------
Subject: Bug 35169
Author: rwild
Date: Fri May 2 04:15:36 2008
New Revision: 134881
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134881
Log:
gcc/
PR bootstrap/35169
* optc-gen.awk: Work around HP-UX/IA awk bug.
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/optc-gen.awk
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (9 preceding siblings ...)
2008-05-02 4:17 ` rwild at gcc dot gnu dot org
@ 2008-05-02 4:31 ` rwild at gcc dot gnu dot org
2008-05-02 9:20 ` ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: rwild at gcc dot gnu dot org @ 2008-05-02 4:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from rwild at gcc dot gnu dot org 2008-05-02 04:30 -------
Fixed.
--
rwild at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug bootstrap/35169] SIGSEGV for stack growth failure while building 4.2.3
2008-02-11 20:30 [Bug bootstrap/35169] New: SIGSEGV for stack growth failure while building 4.2.3 bugzilla-gcc at thewrittenword dot com
` (10 preceding siblings ...)
2008-05-02 4:31 ` rwild at gcc dot gnu dot org
@ 2008-05-02 9:20 ` ebotcazou at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2008-05-02 9:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from ebotcazou at gcc dot gnu dot org 2008-05-02 09:19 -------
*** Bug 27794 has been marked as a duplicate of this bug. ***
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35169
^ permalink raw reply [flat|nested] 13+ messages in thread