Have you had one or two spare cycles yet? :-)

Bruce Korb bkorb@sco.COM
Thu Sep 14 19:03:00 GMT 2000


"Gary V. Vaughan" wrote:
> Yay! It works, I get an ag5 binary which passes the self test suite
> =)O|  Thankyou!
> 
> There is a big TAKE NOTE warning in the doc subdirectory however =(O|

Oh, hey, the guys on the GCC bug list will *really* like this.
So, I am copying them  :-).  The bug exists in both GCC 2.95.2 
*AND* the DevSys compiler for OSr5.  Cool.  We get to fix the same bug
(or the same symptom anyway).

GCC folks - please note - you'll like this (not):
the problem *only* occurs when GCC is invoked within a server shell
running with AutoGen for this particular task.  I use it in other
places under AutoGen and it works fine.  I use it to do this compile
from the command line and it works fine.  This triggers only when
it is buried deep in nested processes and it is virtually impossible
to play with it.  You, too, can see this warning by downloading:

  ftp://autogen.linuxave.net/pub/autogen-dev.tar.gz

and building the thing.  The problem occurs in the doc/ directory
building the "autogen.texi" file.

> > There is, for certain, some sort of context problem that
> > I do not know how to fix.  When regenerating the doc,
> > I create a program that generates shell script option
> > processing.  When I compile it inside of the template,
> > the gcc compiler has an internal error, rolls over and dies.
> > The OSr5 compiler says it loses a process also.  Clearly,
> > it is something I am doing.  (Of course, it compiles just
> > fine when I cd to the directory and re-invoke the gcc as below.)
> > I guess I am looking for commiseration because the clues are
> > non-obvious.  :-(  Oh, just to be clear, this occurs on both
> > Linux and OSr5.  And, I have tried all combinations of:
> > using a sub-shell; running it in a new shell; and doing it
> > no-wait and sleeping.  All to no avail.  :-(  *sigh*
> >
> > > WARNING, WARNING:  TAKE NOTE
> > >
> > > COMPILE FAILED:
> > >
> > > gcc -o genshellopt -DTEST_GETDEFS_OPTS -g -I/tools/ag/agsrc/autoopts \
> > >    genshellopt.c /tools/ag/agsrc/autoopts/.libs/libopts.a
> > >
> > > + gcc -o genshellopt -DTEST_GETDEFS_OPTS -g -I/tools/ag/agsrc/autoopts \
> > >    genshellopt.c /tools/ag/agsrc/autoopts/.libs/libopts.a
> > > + sleep 5
> > > gcc: Internal compiler error in `execute', at \
> > >   /usr/rr/src/devtools/gcc-2.95.2/osr5/../gcc/gcc.c:2327
> > > Please submit a full bug report.
> > > See <URL: http://www.gnu.org/ ...> for instructions.
> > >
> > > total 60
> > > -rw-r--r--   1 bkorb    dev    605 Sep 14 09:19 COUT
> > > -r--r--r--   1 bkorb    dev  22529 Sep 14 09:19 genshellopt.c
> > > -r--r--r--   1 bkorb    dev   4839 Sep 14 09:19 genshellopt.h
> 
> Ah.  Okay, this is what I see in the tarball build.  Just a minute...
> [time passes] If I use gcc-2.7.2.3 the problem does not manifest, so
> it is a genuine bug in gcc-2.95.x!!


More information about the Gcc-bugs mailing list