This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 971016 build problems under sco v5.0.0
- To: William Bader <william at nscs dot fast dot net>
- Subject: Re: egcs 971016 build problems under sco v5.0.0
- From: Robert Lipe <robertl at dgii dot com>
- Date: Sun, 19 Oct 1997 22:09:34 -0500
- Cc: a144 at lehigh dot edu, egcs at cygnus dot com
- References: <9710171946.aa19962@mip486.nscs.fast.net>
William Bader wrote:
> [ cplus-dem.c in egcs-971008 ]
>
> > stage1/xgcc -Bstage1/ -c -DIN_GCC -O2 -g -DHAVE_CONFIG_H -I. -I. -I./config cplus-dem.c
> > xgcc: Internal compiler error: program as got fatal signal 11
>
> as dies consistently on this module, a c++ demangler program.
> Last week, I thought that this was my old 486 flaking out, but I now
> believe this is a gcc problem, not a hardware problem on my system.
I didn't stop at 1008, instead patching directly to 1016. If you want
to pursue this, send me the compiler output that killed the assembler.
I'll try to reduce it and submit it to SCO.
I didn't see the problem, but you later said that 1016 didn't have it,
so that probably explains that.
> [ cplus-dem.c revisited ]
> Compiling with -O1 works. -O2 must be generating bad code.
My make bootstrap worked just fine.
> The next error is on tinfo.cc:
>
> > ./xgcc -B./ -O1 -DIN_GCC -O1 -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fPIC -I. -I. -I./config \
> > -c ./cp/tinfo.cc
> >xgcc: Internal compiler error: program as got fatal signal 11
> Compiling with -O0 produces
> >(EOF):undefined name: .L_T105
I don't see this, either. I tried two machines running 5.0.0 and 5.0.4.
I wonder if you have a misapplied patch somewhere. 'brik -C' will help.
Strangely, that bug does have a familiar ring to it. Wasn't that the
thing that Jim Wilson fixed in about August or so in the dwarfout module?
Perhaps it's worth waiting for the next snapshot just to be sure we're
working from the same code base. Jeff has acknowledged that my sco5.h
fixes have been applied.
> The patches I am using (mostly by Robert Lipe) are below.
I didn't carefully pick through these patches, but several of them
do look familiar.
This one in particular troubles me as unsightly.
TIOCGETC is indeed defined in OpenServer, but there isn't a struct tchars
defined anywhere. Perhaps this should be autoconfiscated instead of
applying this patch.
> *** ./texinfo/info/termdep.h- Thu Aug 21 18:58:04 1997
> --- ./texinfo/info/termdep.h Thu Oct 9 13:41:53 1997
> ***************
> *** 45,50 ****
> --- 45,53 ----
>
> #if defined (HAVE_TERMIOS_H)
> # include <termios.h>
> + # if defined (_SCO_DS) && defined(TIOCGETC)
> + # undef TIOCGETC
> + # endif /* _SCO_DS */
> #else
> # if defined (HAVE_TERMIO_H)
> # include <termio.h>
>
>
>
>
>
--
Robert Lipe http://www.dgii.com/people/robertl robertl@dgii.com