public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ahaas at airmail dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/46018] New: Bootstrap fails on i386-pc-solaris2.10
Date: Thu, 14 Oct 2010 15:30:00 -0000	[thread overview]
Message-ID: <bug-46018-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: Bootstrap fails on i386-pc-solaris2.10
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ahaas@airmail.net


As stated in the summary, the bootstrap build fails when compiling lto-lang.o:

/export/home/arth/gnu/gcc-1014/./prev-gcc/xgcc
-B/export/home/arth/gnu/gcc-1014/./prev-gcc/
-B/export/home/arth/local/i386-pc-solaris2.10/bin/
-B/export/home/arth/local/i386-pc-solaris2.10/bin/
-B/export/home/arth/local/i386-pc-solaris2.10/lib/ -isystem
/export/home/arth/local/i386-pc-solaris2.10/include -isystem
/export/home/arth/local/i386-pc-solaris2.10/sys-include    -c   -O2  -gtoggle
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat   -DHAVE_CONFIG_H -I. -Ilto -I/home/ahaas/gnu/gcc.git/gcc
-I/home/ahaas/gnu/gcc.git/gcc/lto -I/home/ahaas/gnu/gcc.git/gcc/../include
-I/home/ahaas/gnu/gcc.git/gcc/../libcpp/include
-I/export/home/arth/local/include -I/export/home/arth/local/include 
-I/home/ahaas/gnu/gcc.git/gcc/../libdecnumber
-I/home/ahaas/gnu/gcc.git/gcc/../libdecnumber/dpd -I../libdecnumber  
-I/usr/include/libelf -I/export/home/arth/local/include
/home/ahaas/gnu/gcc.git/gcc/lto/lto-lang.c -o lto/lto-lang.o
/home/ahaas/gnu/gcc.git/gcc/lto/lto-lang.c: In function 'lto_type_for_mode':
/home/ahaas/gnu/gcc.git/gcc/lto/lto-lang.c:951:1: internal compiler error: in
dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1881
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [lto/lto-lang.o] Error 1

The error itself is a gcc_assert() in dwarf2out.c:

gcc_assert (REGNO (XEXP (src, 0)) == cfa.reg)

Using 'git bisect' I was able to identify the revision which introduced the
failure:

4899856f3f2fdefaffa0d5355d8dae034da9ec26 is the first bad commit
commit 4899856f3f2fdefaffa0d5355d8dae034da9ec26
Author: bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Sep 23 10:04:33 2010 +0000

        PR rtl-optimization/44374
        * basic-block.h (enum bb_flags): Add BB_MODIFIED.
        * df-core.c (df_set_bb_dirty): Set it.
        * ifcvt.c (find_memory): Remove function.
        (dead_or_predicable): Use can_move_insns_across.
        * df.h (can_move_insns_across): Declare function.
        * cfgcleanup.c (block_was_dirty): New static variable.
        (try_crossjump_bb, try_forward_edges): Test BB_MODIFIED flag rather
        than df_get_bb_dirty.
        (try_head_merge_bb): New static function.
        (try_optimize_cfg): Call it.  Call df_analyze if block_was_dirty
        is set.
        * df-problems.c: Include "target.h"
        (df_simulate_find_uses): New static function.
        (MEMREF_NORMAL, MEMREF_VOLATILE): New macros.
        (find_memory, find_memory_store): New static functions.
        (can_move_insns_across): New function.
        * Makefile.in (df-problems.o): Update dependencies.

    testsuite/
        PR rtl-optimization/44374
        * gcc.target/arm/headmerge-1.c: New test.
        * gcc.target/arm/headmerge-2.c: New test.
        * gcc.target/i386/headmerge-1.c: New test.
        * gcc.target/i386/headmerge-2.c: New test.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164552
138bc75d-0d04-0410-961f-82ee72b054a4

:040000 040000 8eba3de7802f571601cb7092cfd546609f24086f
c8b21579e48331ae0fa528fb89a228ea94211691 M      gcc

My last successful build was on Sep. 22:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/i386-pc-solaris2.10/4.6.0/lto-wrapper
Target: i386-pc-solaris2.10
Configured with: /home/ahaas/gnu/gcc.git/configure
--prefix=/export/home/arth/local --enable-languages=c,c++,objc,fortran
--disable-nls --with-gmp=/export/home/arth/local
--with-mpfr=/export/home/arth/local --enable-checking=release
--enable-threads=posix --with-gnu-as --with-as=/export/home/arth/local/bin/as
--with-gnu-ld --with-ld=/export/home/arth/local/bin/ld
--enable-libstdcxx-pch=no --enable-objc-gc --build=i386-pc-solaris2.10
Thread model: posix
gcc version 4.6.0 20100922 (experimental) (GCC)


             reply	other threads:[~2010-10-14 15:30 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 15:30 ahaas at airmail dot net [this message]
2010-10-14 15:34 ` [Bug bootstrap/46018] [4.6 Regression] " pinskia at gcc dot gnu.org
2010-10-14 15:57 ` hjl.tools at gmail dot com
2010-10-14 15:58 ` hjl.tools at gmail dot com
2010-10-14 20:11 ` ahaas at airmail dot net
2010-10-14 20:14 ` ahaas at airmail dot net
2010-10-16 19:16 ` ahaas at airmail dot net
2010-10-17 15:45 ` ahaas at airmail dot net
2010-10-18 15:04 ` ahaas at airmail dot net
2010-10-18 15:37 ` joseph at codesourcery dot com
2010-10-18 21:28 ` ahaas at airmail dot net
2010-10-21 18:42 ` hjl.tools at gmail dot com
2010-10-26 14:40 ` ahaas at airmail dot net
2010-10-30 13:59 ` hjl.tools at gmail dot com
2010-10-30 17:55 ` ahaas at airmail dot net
2010-11-03 13:11 ` ro at gcc dot gnu.org
2010-11-03 13:13 ` ro at gcc dot gnu.org
2010-11-03 17:09 ` hjl.tools at gmail dot com
2010-11-03 18:32 ` pinskia at gcc dot gnu.org
2010-11-04 12:52 ` ahaas at airmail dot net
2010-11-05 13:08 ` hjl.tools at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-46018-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).