public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marco at sitek dot it" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/34900]  New: target mips64vrel-elf. Internal compiler error (in reload_cse_simplify_operands, at postreload.c:392) while building libiberty
Date: Mon, 21 Jan 2008 09:35:00 -0000	[thread overview]
Message-ID: <bug-34900-15662@http.gcc.gnu.org/bugzilla/> (raw)

Hello, 
I am experiencing the error below while building gcc 4.2.2 for the mips64vr-elf
target. I have confirmed the same happens with gcc-4.2-20080116. 

Versioning:
binutils 2.18
newlib-1.16.0
GCC configured this way:

$ CFLAGS=-O2 $DEPACK_DIR/gcc-4.2.2/configure --target=mips64vrel-elf \
  --prefix=$PREFIX_DIR --enable-languages=c,c++ --disable-__cxa_atexit \
  --with-gnu-as --with-gnu-ld --with-newlib \
  --with-gxx-include-dir=$PREFIX_DIR/mips64vrel-elf/include -v \
  2>&1 | tee configure.log

With the same configuration and binutils/newlib, I succeeded building GCC
4.1.2.

I saved all log for configure and make. Please let me know if they may help.
Thanks in advance.

//--------------------------------------------------------------------------

make[4]: Entering directory
`/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/mips16/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
          mkdir pic; \
        else true; fi
touch stamp-picdir
CONFIG_FILES=
CONFIG_HEADERS=config.h:/ecostools/src/gcc-4.2.2/libiberty/config.in /bin/sh
./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
if [ x"" != x ]; then \
          /tmp/build-mips64vrel-elf-20080115/gcc/./gcc/xgcc
-B/tmp/build-mips64vrel-elf-20080115/gcc/./gcc/ -nostdinc
-B/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/ -isystem
/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/targ-include
-isystem /ecostools/src/gcc-4.2.2/newlib/libc/include
-B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/bin/
-B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/lib/ -isystem
/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/include -isystem
/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/sys-include -c
-DHAVE_CONFIG_H -O2 -O2   -mips16 -I.
-I/ecostools/src/gcc-4.2.2/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes -Wc++-compat 
/ecostools/src/gcc-4.2.2/libiberty/regex.c -o pic/regex.o; \
        else true; fi
/tmp/build-mips64vrel-elf-20080115/gcc/./gcc/xgcc
-B/tmp/build-mips64vrel-elf-20080115/gcc/./gcc/ -nostdinc
-B/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/ -isystem
/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/newlib/targ-include
-isystem /ecostools/src/gcc-4.2.2/newlib/libc/include
-B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/bin/
-B/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/lib/ -isystem
/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/include -isystem
/ecostools/mips64vrel-elf-20080115/mips64vrel-elf/sys-include -c
-DHAVE_CONFIG_H -O2 -O2   -mips16 -I.
-I/ecostools/src/gcc-4.2.2/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes -Wc++-compat
/ecostools/src/gcc-4.2.2/libiberty/regex.c -o regex.o
/ecostools/src/gcc-4.2.2/libiberty/regex.c: In function
'byte_re_match_2_internal':
/ecostools/src/gcc-4.2.2/libiberty/regex.c:7481: error: insn does not satisfy
its constraints:
(insn 5298 1670 1672 171 (set (reg:SI 4 $4)
        (lo_sum:SI (reg/f:SI 1080)
            (symbol_ref:SI ("byte_reg_unset_dummy") [flags 0x6] <var_decl
0x7fe24fa0 byte_reg_unset_dummy>))) 205 {*lowsi_mips16} (nil)
    (expr_list:REG_EQUAL (symbol_ref:SI ("byte_reg_unset_dummy") [flags 0x6]
<var_decl 0x7fe24fa0 byte_reg_unset_dummy>)
        (nil)))
/ecostools/src/gcc-4.2.2/libiberty/regex.c:7481: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [regex.o] Error 1
make[4]: Leaving directory
`/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/mips16/libiberty'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory
`/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/libiberty'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp/build-mips64vrel-elf-20080115/gcc/mips64vrel-elf/libiberty'
make[1]: *** [all-target-libiberty] Error 2
make[1]: Leaving directory `/tmp/build-mips64vrel-elf-20080115/gcc'
make: *** [all] Error 2


-- 
           Summary: target mips64vrel-elf. Internal compiler error (in
                    reload_cse_simplify_operands, at postreload.c:392) while
                    building libiberty
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marco at sitek dot it


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


             reply	other threads:[~2008-01-21  9:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21  9:35 marco at sitek dot it [this message]
2008-01-25  0:34 ` [Bug target/34900] " rsandifo at gcc dot gnu dot org
2008-01-30 10:04 ` marco at sitek dot it
2008-01-31 20:08 ` rsandifo at gcc dot gnu dot org
2008-01-31 20:08 ` [Bug target/34900] [4.2 Regression] " rsandifo at gcc dot gnu dot org
2008-01-31 20:08 ` [Bug target/34900] " rsandifo at gcc dot gnu dot org
2008-02-02 10:03 ` [Bug target/34900] [4.2 Regression] " rsandifo at gcc dot gnu dot org
2008-02-02 10:07 ` rsandifo at gcc dot gnu dot org

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-34900-15662@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).