irix bootstrap dies in builtins.c

Matt Kraai kraai@alumni.carnegiemellon.edu
Tue Apr 3 10:01:00 GMT 2001


On Tue, Apr 03, 2001 at 08:52:23AM -0700, Geoff Keating wrote:
> > Date: Mon, 2 Apr 2001 07:51:57 -0700
> > From: Matt Kraai <kraai@alumni.carnegiemellon.edu>
> > Cc: gcc-patches@gcc.gnu.org
> > Mail-Followup-To: Geoff Keating <geoffk@redhat.com>,
> > 	gcc-patches@gcc.gnu.org
> > Content-Disposition: inline
> > User-Agent: Mutt/1.2.5i
> > 
> > On Tue, Apr 03, 2001 at 12:01:51AM -0700, Geoff Keating wrote:
> > > I didn't like this solution, because one of the assemblers affected
> > > was shipped in hundreds of thousands of copies in Red Hat Linux 7, and
> > > I'm sure we'd get zillions of bug reports that "GCC is broken because
> > > it doesn't compile".  Instead, I applied this patch.  (Tested on
> > > x86-linux, specifically Red Hat Linux 7.)
> > 
> > A broken as also appears to have shipped with Debian GNU/Linux 2.2.
> 
> Does the patch work for this assembler?

No.  I tried the latest CVS, which contained the following
ChangeLog entry:

2001-04-02  Geoffrey Keating  <geoffk@redhat.com>

        * configure.in (gcc_cv_as_leb128): Correct name of cache variable.
        Require at least 2.11 in the version test.  Specifically check
        for and reject GAS version 2.10.90.
        * configure: regenerate.

But the build still failed with the same error:

/home/kraai/dev/gcc/objdir/gcc/xgcc -B/home/kraai/dev/gcc/objdir/gcc/ -nostdinc++ -L/home/kraai/dev/gcc/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/home/kraai/dev/gcc/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -nostdinc++ -I/home/kraai/dev/gcc/libstdc++-v3/include -I/home/kraai/dev/gcc/libstdc++-v3/include/std -I/home/kraai/dev/gcc/libstdc++-v3/include/c_std -I../include -I/home/kraai/dev/gcc/libstdc++-v3/libsupc++ -I../libio -I/home/kraai/dev/gcc/libstdc++-v3/libio -I/home/kraai/dev/gcc/libstdc++-v3/libmath -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -D_GLIBCPP_NO_CONCEPT_CHECKS -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /home/kraai/dev/gcc/libstdc++-v3/src/locale.cc  -fPIC -DPIC -o .libs/locale.o
xgcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[4]: *** [locale.lo] Error 1
make[4]: Leaving directory `/home/kraai/dev/gcc/objdir/i686-pc-linux-gnu/libstdc++-v3/src'

Here is the output of as -v:

GNU assembler version 2.9.5 (i386-linux) using BFD version 2.9.5.0.37

It comes from binutils-2.9.5.0.37-1_i386.deb .  I'm currently
trying to isolate exactly what causes as to segfault.  Maybe that
should be put in the configure test.

Matt



More information about the Gcc-patches mailing list