public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37155]  New: [4.4 Regression]  Failed to bootstrap on Linux/ia64
@ 2008-08-18 22:06 hjl dot tools at gmail dot com
  2008-08-18 23:09 ` [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed " hjl dot tools at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-18 22:06 UTC (permalink / raw)
  To: gcc-bugs

Gcc 4.4 revision 139215 failed to bootstrap on Linux/ia64:

/export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/
-B/usr/local/ia64-unknown-linux-gnu/bin/ -c  -DUSE_LIBUNWIND_EXCEPTIONS -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror  
-DHAVE_CONFIG_H -I. -I. -I../../src-trunk/gcc -I../../src-trunk/gcc/.
-I../../src-trunk/gcc/../include -I../../src-trunk/gcc/../libcpp/include 
-I../../src-trunk/gcc/../libdecnumber -I../../src-trunk/gcc/../libdecnumber/dpd
-I../libdecnumber  ../../src-trunk/gcc/dwarf2asm.c -o dwarf2asm.o
../../src-trunk/gcc/dwarf2asm.c: In function 'dw2_asm_output_data_raw':
../../src-trunk/gcc/dwarf2asm.c:91: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[6]: *** [dwarf2asm.o] Error 1
make[6]: *** Waiting for unfinished jobs....

Revision 139204 is OK.


-- 
           Summary: [4.4 Regression]  Failed to bootstrap on Linux/ia64
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: ia64-unknown-linux-gnu


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
@ 2008-08-18 23:09 ` hjl dot tools at gmail dot com
  2008-08-18 23:25 ` hjl dot tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-18 23:09 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]



------- Comment #1 from hjl dot tools at gmail dot com  2008-08-18 23:07 -------
Revision 139207:

http://gcc.gnu.org/ml/gcc-cvs/2008-08/msg00769.html

is the cause.

[hjl@gnu-14 gcc]$ cat x.i
extern int printf (__const char *__restrict __format, ...);
extern void dw2_asm_output_data_raw (int, unsigned long);

void
dw2_asm_output_data_raw (int size, unsigned long value)
{
  unsigned char bytes[8];
  int i;

  for (i = 0; i < 8; ++i)
    {
      bytes[i] = value & 0xff;
      value >>= 8;
    }

    {
      for (i = 0; i < size - 1; ++i)
 printf ("0x%x,", bytes[i]);
      printf ("0x%x", bytes[i]);
    }
}
[hjl@gnu-14 gcc]$ /export/gnu/import/rrs/139207/bld/./prev-gcc/xgcc
-B/export/gnu/import/rrs/139207/bld/./prev-gcc/
-B/export/gnu/import/rrs/139207/usr/ia64-unknown-linux-gnu/bin/ -c 
-DUSE_LIBUNWIND_EXCEPTIONS -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition
-Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H -I. -I.
-I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
-I../../src/gcc/../libcpp/include  -I../../src/gcc/../libdecnumber
-I../../src/gcc/../libdecnumber/dpd -I../libdecnumber  x.i -S
x.i: In function ‘dw2_asm_output_data_raw’:
x.i:21: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-14 gcc]$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsandifo at gcc dot gnu dot
                   |                            |org
            Summary|[4.4 Regression]  Failed to |[4.4 Regression] Revision
                   |bootstrap on Linux/ia64     |139207 failed to bootstrap
                   |                            |on Linux/ia64


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2008-08-18 23:09 ` [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed " hjl dot tools at gmail dot com
@ 2008-08-18 23:25 ` hjl dot tools at gmail dot com
  2008-08-19  8:40 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-18 23:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2008-08-18 23:24 -------
The particular insn is

(insn 72 70 73 8 x.i:17 (set (reg:SI 386)
        (minus:SI (subreg:SI (reg/f:DI 376 [ ivtmp.14 ]) 0)
            (subreg:SI (reg/f:DI 335 virtual-stack-vars) 0))) 165 {subsi3}
(nil))

(gdb) f 0
#0  subreg_offset_representable_p (xregno=328, xmode=DImode, offset=0, 
    ymode=SImode) at ../../src/gcc/rtlanal.c:3244
3244      return (info.representable_p
(gdb) f 1
#1  0x4000000000377740 in validate_subreg (omode=SImode, imode=DImode, 
    reg=0x20000000035506c0, offset=0) at ../../src/gcc/emit-rtl.c:755
755           return subreg_offset_representable_p (regno, imode, offset,
omode);
(gdb) call debug_rtx (reg)
(reg/f:DI 328 sfp)
(gdb) 


-- 


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
  2008-08-18 23:09 ` [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed " hjl dot tools at gmail dot com
  2008-08-18 23:25 ` hjl dot tools at gmail dot com
@ 2008-08-19  8:40 ` rguenth at gcc dot gnu dot org
  2008-08-19 15:15 ` matz at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-19  8:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-19 08:38 -------
Confirmed.  Non-bootstrapped it fails to build 177.mesa for example.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-08-19 08:38:41
               date|                            |
   Target Milestone|---                         |4.4.0


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2008-08-19  8:40 ` rguenth at gcc dot gnu dot org
@ 2008-08-19 15:15 ` matz at gcc dot gnu dot org
  2008-08-19 16:24 ` hjl dot tools at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: matz at gcc dot gnu dot org @ 2008-08-19 15:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from matz at gcc dot gnu dot org  2008-08-19 15:14 -------
HARD_REGNO_MODE_OK doesn't accept reg 328, but it should as demonstrated here.
Potential patch for this at
http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01289.html .


-- 


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2008-08-19 15:15 ` matz at gcc dot gnu dot org
@ 2008-08-19 16:24 ` hjl dot tools at gmail dot com
  2008-08-20 21:08 ` hjl at gcc dot gnu dot org
  2008-08-20 21:17 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-19 16:24 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]



------- Comment #5 from hjl dot tools at gmail dot com  2008-08-19 16:23 -------
(In reply to comment #4)
> HARD_REGNO_MODE_OK doesn't accept reg 328, but it should as demonstrated here.
> Potential patch for this at
> http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01289.html .
> 

It doesn't solve the problem completely. I can bootstrap gcc. But I got

[hjl@gnu-14 gcc]$ /export/build/gnu/gcc/build-ia64-linux/gcc/xgcc
-B/export/build/gnu/gcc/build-ia64-linux/gcc/   -O1  -w -fno-show-column -c  -o
pr19357.o
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr19357.c
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr19357.c:
In function ‘ftest’:
/net/gnu-13/export/gnu/src/gcc/gcc/gcc/testsuite/gcc.c-torture/compile/pr19357.c:6:
internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:777
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  2008-08-19 16:24 ` hjl dot tools at gmail dot com
@ 2008-08-20 21:08 ` hjl at gcc dot gnu dot org
  2008-08-20 21:17 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu dot org @ 2008-08-20 21:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2008-08-20 21:06 -------
Subject: Bug 37155

Author: hjl
Date: Wed Aug 20 21:05:15 2008
New Revision: 139343

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139343
Log:
        PR bootstrap/37155
        Fixed by revision 139338.

Modified:
    trunk/gcc/ChangeLog


-- 


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


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

* [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed to bootstrap on Linux/ia64
  2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  2008-08-20 21:08 ` hjl at gcc dot gnu dot org
@ 2008-08-20 21:17 ` hjl dot tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl dot tools at gmail dot com @ 2008-08-20 21:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from hjl dot tools at gmail dot com  2008-08-20 21:15 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-08-20 21:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 22:06 [Bug bootstrap/37155] New: [4.4 Regression] Failed to bootstrap on Linux/ia64 hjl dot tools at gmail dot com
2008-08-18 23:09 ` [Bug bootstrap/37155] [4.4 Regression] Revision 139207 failed " hjl dot tools at gmail dot com
2008-08-18 23:25 ` hjl dot tools at gmail dot com
2008-08-19  8:40 ` rguenth at gcc dot gnu dot org
2008-08-19 15:15 ` matz at gcc dot gnu dot org
2008-08-19 16:24 ` hjl dot tools at gmail dot com
2008-08-20 21:08 ` hjl at gcc dot gnu dot org
2008-08-20 21:17 ` hjl dot tools at gmail dot com

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).