public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/32312]  New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10
@ 2007-06-12 20:33 ghazi at gcc dot gnu dot org
  2007-06-12 20:37 ` [Bug bootstrap/32312] " ghazi at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-06-12 20:33 UTC (permalink / raw)
  To: gcc-bugs

I'm getting a new bootstrap failure on sparc-sun-solaris2.10 in stage1 building
libgcc2.a:

/tmp/kg/pat/build/./gcc/xgcc -B/tmp/kg/pat/build/./gcc/
-B/usr/local/sparc-sun-solaris2.10/bin/ -B/usr/local/sparc-sun-solaris2.10/lib/
-isystem /usr/local/sparc-sun-solaris2.10/include -isystem
/usr/local/sparc-sun-solaris2.10/sys-include -O2 -g -O2  -O2 -g  -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../egcc-SVN20070612/libgcc -I../../../egcc-SVN20070612/libgcc/.
-I../../../egcc-SVN20070612/libgcc/../gcc
-I../../../egcc-SVN20070612/libgcc/../include  -o _absvdi2.o -MT _absvdi2.o -MD
-MP -MF _absvdi2.dep -DL_absvdi2 -c
../../../egcc-SVN20070612/libgcc/../gcc/libgcc2.c \

../../../egcc-SVN20070612/libgcc/../gcc/libgcc2.c: In function '__absvdi2':
../../../egcc-SVN20070612/libgcc/../gcc/libgcc2.c:280: internal compiler error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_absvdi2.o] Error 1


-- 
           Summary: [4.3.0 regression] bootstrap failure on sparc-sun-
                    solaris2.10
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
GCC target triplet: sparc-sun-solaris2.10


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


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

* [Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10
  2007-06-12 20:33 [Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10 ghazi at gcc dot gnu dot org
@ 2007-06-12 20:37 ` ghazi at gcc dot gnu dot org
  2007-06-12 20:47 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-06-12 20:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ghazi at gcc dot gnu dot org  2007-06-12 20:37 -------
This worked as of June 9th, so it's recent.

The SEGV happens because "df" (used in the macro DF_REG_DEF_COUNT) is nil:



signal SEGV (no mapping at the fault address) in sparc_check_64 at line 7677 in
file "sparc.c"
 7677         && DF_REG_DEF_COUNT (REGNO (y)) == 1)
(dbx) where
=>[1] sparc_check_64(x = 0xff168620, insn = 0xff123810), line 7677 in "sparc.c"
  [2] output_v8plus_shift(operands = 0x1f07484, insn = 0xff123810, opcode =
0x1e8e364 "srax"), line 7741 in "sparc.c"
  [3] output_363(operands = 0x1f07484, insn = 0xff123810), line 6499 in
"sparc.md"
  [4] get_insn_template(code = 363, insn = 0xff123810), line 1584 in "final.c"
  [5] final_scan_insn(insn = 0xff123810, file = 0x1f013c8, optimize = 2,
nopeepholes = 0, seen = 0xffbff22c), line 2460 in "final.c"
  [6] final(first = 0xff123658, file = 0x1f013c8, optimize = 2), line 1569 in
"final.c"
  [7] rest_of_handle_final(), line 3973 in "final.c"
  [8] execute_one_pass(pass = 0x1ec37ec), line 1124 in "passes.c"
  [9] execute_pass_list(pass = 0x1ec37ec), line 1177 in "passes.c"
  [10] execute_pass_list(pass = 0x1ec3d94), line 1178 in "passes.c"
  [11] execute_pass_list(pass = 0x1ec3d60), line 1178 in "passes.c"
  [12] tree_rest_of_compilation(fndecl = 0xff154d20), line 406 in
"tree-optimize.c"
  [13] c_expand_body(fndecl = 0xff154d20), line 4331 in "c-common.c"
  [14] cgraph_expand_function(node = 0xff15fb30), line 1073 in "cgraphunit.c"
  [15] cgraph_expand_all_functions(), line 1142 in "cgraphunit.c"
  [16] cgraph_optimize(), line 1349 in "cgraphunit.c"
  [17] c_write_global_declarations(), line 7911 in "c-decl.c"
  [18] compile_file(), line 1064 in "toplev.c"
  [19] do_compile(), line 2150 in "toplev.c"
  [20] toplev_main(argc = 25U, argv = 0xffbff92c), line 2182 in "toplev.c"
  [21] main(argc = 25, argv = 0xffbff92c), line 35 in "main.c"
(dbx) list
 7677         && DF_REG_DEF_COUNT (REGNO (y)) == 1)
 7678       set_once = 1;
 7679
 7680     if (insn == 0)
 7681       {
 7682         if (set_once)
 7683           insn = get_last_insn_anywhere ();
 7684         else
 7685           return 0;
 7686       }
(dbx) print df
df = (nil)
(dbx)


-- 


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


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

* [Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10
  2007-06-12 20:33 [Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10 ghazi at gcc dot gnu dot org
  2007-06-12 20:37 ` [Bug bootstrap/32312] " ghazi at gcc dot gnu dot org
@ 2007-06-12 20:47 ` pinskia at gcc dot gnu dot org
  2007-06-12 20:59 ` ghazi at gcc dot gnu dot org
  2007-06-13 15:45 ` [Bug bootstrap/32312] [4.3 " ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-12 20:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.0


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


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

* [Bug bootstrap/32312] [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10
  2007-06-12 20:33 [Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10 ghazi at gcc dot gnu dot org
  2007-06-12 20:37 ` [Bug bootstrap/32312] " ghazi at gcc dot gnu dot org
  2007-06-12 20:47 ` pinskia at gcc dot gnu dot org
@ 2007-06-12 20:59 ` ghazi at gcc dot gnu dot org
  2007-06-13 15:45 ` [Bug bootstrap/32312] [4.3 " ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-06-12 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ghazi at gcc dot gnu dot org  2007-06-12 20:59 -------
Created an attachment (id=13693)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13693&action=view)
testcase for ICE

Target sparc-sun-solaris2.10 and run:

cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mcpu=v9 -auxbase-strip
_absvdi2.o -g -g -g -O2 -O2 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -version -fPIC -o libgcc2.s


-- 


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


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

* [Bug bootstrap/32312] [4.3 regression] bootstrap failure on sparc-sun-solaris2.10
  2007-06-12 20:33 [Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10 ghazi at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-06-12 20:59 ` ghazi at gcc dot gnu dot org
@ 2007-06-13 15:45 ` ghazi at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-06-13 15:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ghazi at gcc dot gnu dot org  2007-06-13 15:45 -------
Fixed:
http://gcc.gnu.org/ml/gcc-testresults/2007-06/msg00615.html

by this patch:
http://gcc.gnu.org/ml/gcc-patches/2007-06/msg00842.html


-- 

ghazi at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-06-13 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-12 20:33 [Bug bootstrap/32312] New: [4.3.0 regression] bootstrap failure on sparc-sun-solaris2.10 ghazi at gcc dot gnu dot org
2007-06-12 20:37 ` [Bug bootstrap/32312] " ghazi at gcc dot gnu dot org
2007-06-12 20:47 ` pinskia at gcc dot gnu dot org
2007-06-12 20:59 ` ghazi at gcc dot gnu dot org
2007-06-13 15:45 ` [Bug bootstrap/32312] [4.3 " ghazi 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).