Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.

Florian Lohoff flo@rfc822.org
Wed Nov 3 12:44:00 GMT 1999


On Wed, Nov 03, 1999 at 02:09:53PM -0500, Ian Lance Taylor wrote:
>    make[3]: Entering directory `/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77'
>    /data/devel/egcs-1.0.3a/src/gcc/xgcc -B/data/devel/egcs-1.0.3a/src/gcc/ -c -DSkip_f2c_Undefs -I. -I/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77 -I../../../include  -D_POSIX_SOURCE=1 -DRETSIGTYPE=void -Donexit=atexit -DMISSING_FILE_ELEMS=1 -DIEEE_drem=1 -DUSE_STRLEN=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1 -DPad_UDread=1 -DWANT_LEAD_0=1  -g -O2  main.c
>    /tmp/cca05134.s: Assembler messages:
>    /tmp/cca05134.s:512: Internal error!
>    Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2383.
>    Please report this bug.
>    (root@repeat)/data/devel/egcs-1.0.3a/src# as --version
>    GNU assembler 2.9.5
>    Copyright 1997 Free Software Foundation, Inc.
>    This program is free software; you may redistribute it under the terms of
>    the GNU General Public License.  This program has absolutely no warranty.
>    This assembler was configured for a target of `mipsel-unknown-linux-gnu'.
> 
>    This is a CVS Snapshot 991025 ...
> 
> Thanks for the bug report.  Can you please send a test case which may
> be used to reproduce the bug?  If you run the compilation line with

Not right now - Just stumbled over it ( Many problems with mips ) and
mostly wanted to show - "Someones using it and there are problems ..." :)

> --save-temps, you should get a .s file which will cause the bug when
> the assembler is invoked directly.  Thanks.

(root@repeat)/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77# sh -x uu
+ /data/devel/egcs-1.0.3a/src/gcc/xgcc -B/data/devel/egcs-1.0.3a/src/gcc/ -c -DSkip_f2c_Undefs -I. -I/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77 -I../../../include -D_POSIX_SOURCE=1 -DRETSIGTYPE=void -Donexit=atexit -DMISSING_FILE_ELEMS=1 -DIEEE_drem=1 -DUSE_STRLEN=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1 -DPad_UDread=1 -DWANT_LEAD_0=1 --save-temps -g -O2 main.c
main.s: Assembler messages:
main.s:512: Internal error!
Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2231.
Please report this bug.
(root@repeat)/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77# /data/devel/binutils-991025/bin/as main.s
(root@repeat)/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77# /data/devel/binutils-991025/bin/as --version
GNU assembler 2.9.5
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `mipsel-unknown-linux-gnu'.

Simple shell script to get REAL command line ... (There must be a simpler
way ...)

#!/bin/sh
echo $* >/tmp/as.commands.$$
/data/devel/binutils-991025/bin/as $*

(root@repeat)/data/devel/egcs-1.0.3a/src/gcc/f/runtime/libF77# as -O2 -g -KPIC -o main.o main.s
main.s: Assembler messages:
main.s:512: Internal error!
Assertion failure in mips_emit_delays at ./config/tc-mips.c line 2383.
Please report this bug.

> What does config.guess print on your system?

(root@repeat)/data/devel/egcs-1.0.3a/src# ./config.guess
mipsel-unknown-linux-gnu

Little Endian Mips Linux ...

I put up the main.s under ftp://ftp.rfc822.org/pub/local/binutils/main.s
for the interested ...

If anyone interested in debugging - This is more or less a public
machine - Ill be happy to give accounts ...

Flo
-- 
Florian Lohoff		flo@rfc822.org		      	+49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice



More information about the Binutils mailing list