public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
@ 2003-06-25 16:20 ` sabelka at iue dot tuwien dot ac dot at
  2003-06-25 18:31 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 dhazeghi at yahoo dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: sabelka at iue dot tuwien dot ac dot at @ 2003-06-25 16:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680



------- Additional Comments From sabelka at iue dot tuwien dot ac dot at  2003-06-25 15:16 -------
Subject: Re:  [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error

I tried to compile gcc-3.3 now, but still without success. This time the
failure shows up on a different location. Here are last few lines of the gmake
output:

stage1/xgcc -Bstage1/ -B/usr/local/alphaev5-dec-osf5.0/bin/ -c   -g
-O2 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes 
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H
   -I. -I. 
-I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/.
-I../../gcc-3.3/gcc/config 
-I../../gcc-3.3/gcc/../include
../../gcc-3.3/gcc/ifcvt.c -o ifcvt.o
stage1/xgcc -Bstage1/
-B/usr/local/alphaev5-dec-osf5.0/bin/ -c   -g -O2 
-DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wtraditional
-pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    
-I. -I.
-I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config

-I../../gcc-3.3/gcc/../include ../../gcc-3.3/gcc/genattrtab.c -o
genattrtab.o
stage1/xgcc -Bstage1/ -B/usr/local/alphaev5-dec-osf5.0/bin/ -c  
-g -O2 
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes 
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H
-DGENERATOR_FILE    
-I. -I. -I../../gcc-3.3/gcc -I../../gcc-3.3/gcc/.
-I../../gcc-3.3/gcc/config 
-I../../gcc-3.3/gcc/../include
../../gcc-3.3/gcc/genautomata.c -o 
genautomata.o
stage1/xgcc -Bstage1/
-B/usr/local/alphaev5-dec-osf5.0/bin/ -c   -g -O2 
-DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wtraditional
-pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. 
-I../../gcc-3.3/gcc
-I../../gcc-3.3/gcc/. -I../../gcc-3.3/gcc/config

-I../../gcc-3.3/gcc/../include ../../gcc-3.3/gcc/varray.c -o
varray.o
stage1/xgcc -Bstage1/ -B/usr/local/alphaev5-dec-osf5.0/bin/   -g -O2
-DIN_GCC   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes

-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o

genattrtab \
 genattrtab.o genautomata.o \
 rtl.o read-rtl.o bitmap.o
ggc-none.o gensupport.o insn-conditions.o 
print-rtl1.o errors.o \
 varray.o
../libiberty/libiberty.a -lm
./genattrtab
../../gcc-3.3/gcc/config/alpha/alpha.md > tmp-attrtab.c
Check
description...done
Reservation transformation...done
Create automaton
`ev4_0'...genattrtab: Internal error: /bin/sh: 141655 Memory 
fault
gmake[2]:
*** [s-attrtab] Error 139
gmake[1]: *** [stage2_build] Error 2
gmake[2]:
Leaving directory

`/amd/in14/root/export/users2/sabelka/src/gcc-3.3-OSF1-V5.0/gcc'
gmake: ***
[bootstrap] Error 2
gmake[1]: Leaving directory

`/amd/in14/root/export/users2/sabelka/src/gcc-3.3-OSF1-V5.0/gcc'


Then, I
tried to debug the crashing
executable:

sabelka@a61:~/src/gcc-3.3-OSF1-V5.0/gcc$ gdb genattrtab
GNU gdb
5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software,
covered by the GNU General Public License, and you are
welcome to change it
and/or distribute copies of it under certain conditions.
Type "show copying"
to see the conditions.
There is absolutely no warranty for GDB.  Type "show
warranty" for details.
This GDB was configured as
"alphaev5-dec-osf5.0"...
Breakpoint 1 at 0x12002ff78: file
../../gcc-3.3/gcc/errors.c, line 136.
Breakpoint 2 at 0x3ff800d7b20
Breakpoint
3 at 0x3ff80189070
(gdb) r ../../gcc-3.3/gcc/config/alpha/alpha.md
Starting
program:

/amd/in14/root/export/users2/sabelka/src/gcc-3.3-OSF1-V5.0/gcc/genattrtab

../../gcc-3.3/gcc/config/alpha/alpha.md
Breakpoint 2 at
0x3ff800d7b24
Breakpoint 3 at 0x3ff80189074
/* Generated automatically by the
program `genattrtab'
from the machine description file `md'.  */

Check
description...done
Reservation transformation...done
Create automaton
`ev4_0'...
Breakpoint 1, fancy_abort (file=0x1400cc010 "\006",
line=1074578672,
    func=0x600 <Error reading address 0x600: Invalid
argument>)
    at ../../gcc-3.3/gcc/errors.c:136
136       internal_error
("abort in %s, at %s:%d", func, file, line);
(gdb) bt
#0  fancy_abort
(file=0x1400cc010 "\006", line=1074578672,
    func=0x600 <Error reading
address 0x600: Invalid argument>)
    at ../../gcc-3.3/gcc/errors.c:136
#1 
0x1200174a8 in reserv_sets_eq (reservs_1=0x1400cc010,
   
reservs_2=0x1400cc4f0) at ../../gcc-3.3/gcc/genautomata.c:3684
#2  0x120018268
in insert_state (state=0x600)
    at
../../gcc-3.3/gcc/genautomata.c:4050
(gdb) up
#1  0x1200174a8 in
reserv_sets_eq (reservs_1=0x1400cc010,
    reservs_2=0x1400cc4f0) at
../../gcc-3.3/gcc/genautomata.c:3684
3684    {
(gdb) l
3679    /* The function
checks equality of the reservation sets.  */
3680    static int
3681   
reserv_sets_eq (reservs_1, reservs_2)
3682         reserv_sets_t
reservs_1;
3683         reserv_sets_t reservs_2;
3684    {
3685      return
reserv_sets_cmp (reservs_1, reservs_2) == 0;
3686    }
3687
3688    /* Set up
in the reservation set that unit with UNIT_NUM is used on
(gdb) quit
The
program is running.  Exit anyway? (y or n) y

For me it's not clear why the
function fancy_abort() gets called (with obviously invalid parameters on the
stack). So it seems that either the stage1 gcc or some other component (osf1
assembler/linker) is generating invalid code.

As with previous versions of
gcc I was able to build the compiler successfully with BOOT_CFLAGS="-g -O
-fno-reorder-blocks"

Cheers,
Rainer


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
  2003-06-25 16:20 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error sabelka at iue dot tuwien dot ac dot at
  2003-06-25 18:31 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 dhazeghi at yahoo dot com
@ 2003-06-25 18:31 ` dhazeghi at yahoo dot com
  2003-07-10  5:12 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 sabelka at iue dot tuwien dot ac dot at
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-06-25 18:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a dot melnik at upc dot kiev
                   |                            |dot ua


------- Additional Comments From dhazeghi at yahoo dot com  2003-06-25 17:37 -------
*** Bug 9899 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
  2003-06-25 16:20 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error sabelka at iue dot tuwien dot ac dot at
@ 2003-06-25 18:31 ` dhazeghi at yahoo dot com
  2003-06-25 18:31 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error dhazeghi at yahoo dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-06-25 18:31 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-25 17:39:34
               date|                            |
            Summary|[alphaev5-dec-osf5.0] gcc-  |genattrtab crashes on tru64
                   |3.1 build fails with        |5.0
                   |internal error              |
            Version|3.1                         |3.3


------- Additional Comments From dhazeghi at yahoo dot com  2003-06-25 17:39 -------
Okay, so this is the same problem as in PR 9899. Supposedly, this problem is 
fixed with mainline. If someone could figure out which patch in fact fixed 
this, then it's probable the fix can be applied to the 3.3 branch as well.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (2 preceding siblings ...)
  2003-06-25 18:31 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error dhazeghi at yahoo dot com
@ 2003-07-10  5:12 ` sabelka at iue dot tuwien dot ac dot at
  2003-07-10  6:20 ` dhazeghi at yahoo dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: sabelka at iue dot tuwien dot ac dot at @ 2003-07-10  5:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680



------- Additional Comments From sabelka at iue dot tuwien dot ac dot at  2003-07-10 05:12 -------
I tried to find out when this bug was fixed in the main line by compiling cvs versions from 
various dates (cvs update -D ....). Here is what I've found out: 
 
2003-03-06: compiling fails with the genattrtab bug (like most version before this date). 
 
2003-03-07: failure during compilation of libstdc++: xgcc: Internal error: Segmentation fault 
(program cc1plus) 
 
2003-03-08: like 2003-03-07 
 
2003-03-09: success 
 
So it seems the bug has been corrected between March 6th and 8th. 
Maybe this info helps you to find the correct patch for backporting to the 3.3 branch. 
-Rainer


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (3 preceding siblings ...)
  2003-07-10  5:12 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 sabelka at iue dot tuwien dot ac dot at
@ 2003-07-10  6:20 ` dhazeghi at yahoo dot com
  2003-08-10  3:45 ` [Bug bootstrap/6680] [3.3 only] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-10  6:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680



------- Additional Comments From dhazeghi at yahoo dot com  2003-07-10 06:20 -------
Wow, thanks for narrowing this down! I took a look at the gcc-cvs mailing list archives but didn't 
seen anything particularly obvious. The things that look possibly connected are Richard Kenner's 
patch to alpha.md and others, and Roger's patch for emit-rtl.c. Oh, and this patch, claims to be 
Itanium only, but seems to deal exactly with the issue of block reording (and deals with generic 
code in the scheduler):

http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00583.html

Cheers,

Dara


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (4 preceding siblings ...)
  2003-07-10  6:20 ` dhazeghi at yahoo dot com
@ 2003-08-10  3:45 ` pinskia at gcc dot gnu dot org
  2003-09-17 22:03 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-10  3:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|genattrtab crashes on tru64 |[3.3 only] genattrtab
                   |5.0                         |crashes on tru64 5.0
   Target Milestone|---                         |3.3.2


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-10 03:45 -------
Move to target to 3.3.2 as this only effects 3.3 as the mainline has been fixed.  The 
comments neared it down to the day where it was fixed but nothing has come about after 
that.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (5 preceding siblings ...)
  2003-08-10  3:45 ` [Bug bootstrap/6680] [3.3 only] " pinskia at gcc dot gnu dot org
@ 2003-09-17 22:03 ` mmitchel at gcc dot gnu dot org
  2003-10-19 22:12 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-09-17 22:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.2                       |3.3.3


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-09-17 21:46 -------
Postponed again -- this is not a primary platform, and there is no sign of progress.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (6 preceding siblings ...)
  2003-09-17 22:03 ` mmitchel at gcc dot gnu dot org
@ 2003-10-19 22:12 ` pinskia at gcc dot gnu dot org
  2003-10-23 16:49 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-19 22:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.3.3                       |3.4


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-19 21:57 -------
Closing as fixed on the mainlne because it works there and there is most likely not going 
to be a 3.3.3 release.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (7 preceding siblings ...)
  2003-10-19 22:12 ` pinskia at gcc dot gnu dot org
@ 2003-10-23 16:49 ` pinskia at gcc dot gnu dot org
  2003-10-25  0:55 ` pinskia at gcc dot gnu dot org
  2003-12-16 20:31 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-23 16:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
   Target Milestone|3.4                         |3.3.3


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-23 16:48 -------
Reopening based on there is going to be a 3.3.3 release.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (8 preceding siblings ...)
  2003-10-23 16:49 ` pinskia at gcc dot gnu dot org
@ 2003-10-25  0:55 ` pinskia at gcc dot gnu dot org
  2003-12-16 20:31 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-25  0:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug bootstrap/6680] [3.3 only] genattrtab crashes on tru64 5.0
       [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
                   ` (9 preceding siblings ...)
  2003-10-25  0:55 ` pinskia at gcc dot gnu dot org
@ 2003-12-16 20:31 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-16 20:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-16 20:17 -------
No signs of this getting fixed for 3.3.x so closing as fixed for 3.4

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.3.3                       |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6680


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2003-12-16 20:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020516082614.6680.sabelka@iue.tuwien.ac.at>
2003-06-25 16:20 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error sabelka at iue dot tuwien dot ac dot at
2003-06-25 18:31 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 dhazeghi at yahoo dot com
2003-06-25 18:31 ` [Bug bootstrap/6680] [alphaev5-dec-osf5.0] gcc-3.1 build fails with internal error dhazeghi at yahoo dot com
2003-07-10  5:12 ` [Bug bootstrap/6680] genattrtab crashes on tru64 5.0 sabelka at iue dot tuwien dot ac dot at
2003-07-10  6:20 ` dhazeghi at yahoo dot com
2003-08-10  3:45 ` [Bug bootstrap/6680] [3.3 only] " pinskia at gcc dot gnu dot org
2003-09-17 22:03 ` mmitchel at gcc dot gnu dot org
2003-10-19 22:12 ` pinskia at gcc dot gnu dot org
2003-10-23 16:49 ` pinskia at gcc dot gnu dot org
2003-10-25  0:55 ` pinskia at gcc dot gnu dot org
2003-12-16 20:31 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).