public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39617]  New: bootstrap failure with ICE building libiberty in stage3
@ 2009-04-03  0:38 janis at gcc dot gnu dot org
  2009-04-03  8:57 ` [Bug bootstrap/39617] " rguenth at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-04-03  0:38 UTC (permalink / raw)
  To: gcc-bugs

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

Bootstrap of GCC mainline on powerpc64-unknown-linux-gnu fails on some
distributions with an ICE while building libiberty in stage3, using the stage2
compiler:

------------------------------------------------
/home/gccbuild/build/nightly/build-gcc-trunk/./prev-gcc/xgcc
-B/home/gccbuild/build/nightly/build-gcc-trunk/./prev-gcc/
-B/opt/gcc-nightly/trunk-20090402/powerpc64-linux/bin/ -c -DHAVE_CONFIG_H -O2
-g  -I. -I/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/../include  -W -Wall
-Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic 
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c -o hashtab.o
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c: In function
‘htab_find’:
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c:597: error: abnormal
edges for no purpose in bb 2
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c:597: error: in basic
block 2:
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c:597: error: flow
control insn inside a basic block
(call_insn/j 14 11 32 2
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c:596 (parallel [
            (set (reg:SI 3 3)
                (call (mem:SI (symbol_ref:SI ("htab_find_with_hash") [flags
0x3] <function_decl 0xf7e35e00 htab_find_with_hash>) [0 S4 A8])
                    (const_int 0 [0x0])))
            (use (const_int 0 [0x0]))
            (use (reg:SI 65 lr))
            (return)
        ]) 469 {*sibcall_value_local32} (expr_list:REG_EH_REGION (const_int 0
[0x0])
        (nil))
    (expr_list:REG_DEP_TRUE (use (reg:SI 5 5))
        (expr_list:REG_DEP_TRUE (use (reg:SI 4 4))
            (expr_list:REG_DEP_TRUE (use (reg:SI 3 3))
                (nil)))))
/home/gccbuild/gcc_trunk_anonsvn/gcc/libiberty/hashtab.c:597: internal compiler
error: in rtl_verify_flow_info_1, at cfgrtl.c:1920
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
------------------------------------------------

The failures start with r145204, a merge from pretty-ipa, and go away when that
patch is reverted from current mainline.  Since the failures happen on some
sysems (two different machines running SLES10) but not others (SLES9, RHEL4.3)
it's possible that they are actually intermittent and not really related to
this revision at all, or are due to a latent bug.

I tried starting from different versions of GCC and it made no difference.  The
builds on all of these systems used binutils-2.19.

Configure options (other than prefix/with-gmp/with-mpfr/with-as/with-ld) were

  --with-cpu=default32
  --with-long-double-128
  --enable-secureplt
  --enable-languages=c

It also fails, in a shorter time, with 

  --build=powerpc-linux
  --host=powerpc-linux
  --target=powerpc-linux
  --with-long-double-128
  --enable-secureplt
  --enable-languages=c


-- 
           Summary: bootstrap failure with ICE building libiberty in stage3
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janis at gcc dot gnu dot org
 GCC build triplet: powerpc-linux
  GCC host triplet: powerpc-linux
GCC target triplet: powerpc-linux


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


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

* [Bug bootstrap/39617] bootstrap failure with ICE building libiberty in stage3
  2009-04-03  0:38 [Bug bootstrap/39617] New: bootstrap failure with ICE building libiberty in stage3 janis at gcc dot gnu dot org
@ 2009-04-03  8:57 ` rguenth at gcc dot gnu dot org
  2009-04-06 21:39 ` janis at gcc dot gnu dot org
  2009-04-07  2:39 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-04-03  8:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-04-03 08:57 -------
Can you attach preprocessed source?


-- 


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


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

* [Bug bootstrap/39617] bootstrap failure with ICE building libiberty in stage3
  2009-04-03  0:38 [Bug bootstrap/39617] New: bootstrap failure with ICE building libiberty in stage3 janis at gcc dot gnu dot org
  2009-04-03  8:57 ` [Bug bootstrap/39617] " rguenth at gcc dot gnu dot org
@ 2009-04-06 21:39 ` janis at gcc dot gnu dot org
  2009-04-07  2:39 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: janis at gcc dot gnu dot org @ 2009-04-06 21:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from janis at gcc dot gnu dot org  2009-04-06 21:39 -------
Surprise, Richard, you fixed this!  The failure goes away with r145494, the
merge of the alias-improvements branch.


-- 

janis at gcc dot gnu dot org changed:

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


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


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

* [Bug bootstrap/39617] bootstrap failure with ICE building libiberty in stage3
  2009-04-03  0:38 [Bug bootstrap/39617] New: bootstrap failure with ICE building libiberty in stage3 janis at gcc dot gnu dot org
  2009-04-03  8:57 ` [Bug bootstrap/39617] " rguenth at gcc dot gnu dot org
  2009-04-06 21:39 ` janis at gcc dot gnu dot org
@ 2009-04-07  2:39 ` hjl dot tools at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hjl dot tools at gmail dot com @ 2009-04-07  2:39 UTC (permalink / raw)
  To: gcc-bugs



-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.0


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


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

end of thread, other threads:[~2009-04-07  2:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03  0:38 [Bug bootstrap/39617] New: bootstrap failure with ICE building libiberty in stage3 janis at gcc dot gnu dot org
2009-04-03  8:57 ` [Bug bootstrap/39617] " rguenth at gcc dot gnu dot org
2009-04-06 21:39 ` janis at gcc dot gnu dot org
2009-04-07  2:39 ` 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).