public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: klaus.k.pedersen@nokia.com
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3479: gcc 3.0 ICE on arm multilib target
Date: Fri, 29 Jun 2001 08:16:00 -0000	[thread overview]
Message-ID: <20010629151325.23305.qmail@sourceware.cygnus.com> (raw)

>Number:         3479
>Category:       bootstrap
>Synopsis:       gcc 3.0 ICE on arm multilib target
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 08:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Klaus Pedersen
>Release:        gcc-3.0
>Organization:
>Environment:
HPUX 11. gcc 2.95.3
>Description:
Gcc 3.0, with patch from PR 3147, configured for arm and multilib,
aborts with a ICE, when building the thumb libs.

With binutils onfigured as:
   ../binutils-2.11.2/configure --prefix=/opt/net/cygnus/arm-elf-gcc --target=arm-elf --nfp

and gcc-3.0 configured as:
   ../gcc-3.0/configure --prefix=/opt/net/cygnus/arm-elf-gcc --target=arm-elf --nfp --enable-multilib --with-gas --with-as=/opt/net/cygnus/arm-elf-gcc/bin/arm-elf-as --with-gnu-ld --with-ld=/opt/net/cygnus/arm-elf-gcc/bin/arm-elf-ld --enable-target-optspace --enable-languages=c,c++

Gives ICE on:
   /opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/xgcc -B/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/bin/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/lib/ -isystem /opt/net/cygnus/arm-elf-gcc/arm-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include  -mthumb -DL_muldi3 -c ../../gcc-3.0/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o

This is the output from that command:

../../gcc-3.0/gcc/libgcc2.c: In function `__muldi3':
../../gcc-3.0/gcc/libgcc2.c:368: Could not split insn
(insn 169 126 72 (set (reg:SI 2 r2)
        (const_int 65536 [0x10000])) 176 {*thumb_movsi_insn} (nil)
    (nil))
../../gcc-3.0/gcc/libgcc2.c:368: Internal compiler error in final_scan_insn, at final.c:2950
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
gmake[2]: *** [libgcc/thumb/_muldi3.o] Error 1
gmake[2]: Leaving directory `/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc'
gmake: *** [all-gcc] Error 2

>How-To-Repeat:
Configure gcc as described about, and execute this from 
your config directory

You can reproduce it by executing the following from the BUILD/gcc.
   /opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/xgcc -B/opt/net/cygnus/trash/gcc-3.0/gccobj/gcc/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/bin/ -B/opt/net/cygnus/arm-elf-gcc/arm-elf/lib/ -isystem /opt/net/cygnus/arm-elf-gcc/arm-elf/include -O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -Dinhibit_libc -fno-inline -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0/gcc -I../../gcc-3.0/gcc/. -I../../gcc-3.0/gcc/config -I../../gcc-3.0/gcc/../include  -mthumb -DL_muldi3 -c ../../gcc-3.0/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o
>Fix:
Currently no known workarounds.
>Release-Note:
>Audit-Trail:
>Unformatted:


             reply	other threads:[~2001-06-29  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29  8:16 klaus.k.pedersen [this message]
2001-07-11  9:38 rearnsha
2001-07-12  2:56 Richard Earnshaw
2001-12-02 16:41 rodrigc
2001-12-02 16:46 rodrigc

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=20010629151325.23305.qmail@sourceware.cygnus.com \
    --to=klaus.k.pedersen@nokia.com \
    --cc=gcc-gnats@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).