public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Michael dot Link at adc dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error
Date: Thu, 15 Apr 2004 15:55:00 -0000	[thread overview]
Message-ID: <20040415154044.14966.Michael.Link@adc.com> (raw)

This is the output when I tried to compile glib-2.4.0 for arm9tdmi. I have the
.i file but it is too large to include in this comment. I can send it in email
though.

Reading specs from
/opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/lib/gcc-lib/arm-9tdmi-linux-gnu/3.3.3/specs
Configured with:
/home/linkm/crosstool-0.27/build/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/gcc-3.3.3/configure
--target=arm-9tdmi-linux-gnu --host=i686-host_pc-linux-gnu
--prefix=/opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2
--with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi
--with-headers=/opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/arm-9tdmi-linux-gnu/include
--with-local-prefix=/opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/arm-9tdmi-linux-gnu
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.3.3

if arm-9tdmi-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib
-I../gmodule -DG_DISABLE_CAST_CHECKS  -pthread  -Os -Wall -MT testglib.o -MD -MP
-MF ".deps/testglib.Tpo" \
  -c -o testglib.o `test -f 'testglib.c' || echo './'`testglib.c; \
then mv -f ".deps/testglib.Tpo" ".deps/testglib.Po"; \
else rm -f ".deps/testglib.Tpo"; exit 1; \
fi

 /opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/lib/gcc-lib/arm-9tdmi-linux-gnu/3.3.3/cc1
-quiet -v -I. -I. -I.. -I.. -I../glib -I../gmodule -MD testglib.d -MF
.deps/testglib.Tpo -MP -MT testglib.o -MQ testglib.o -D__GNUC__=3
-D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__ARM_ARCH_4T__ -DHAVE_CONFIG_H
-DG_DISABLE_CAST_CHECKS testglib.c -quiet -dumpbase testglib.c -auxbase-strip
testglib.o -Os -Wall -version -o /tmp/cc5Sx3Uv.s
GNU C version 3.3.3 (arm-9tdmi-linux-gnu)
        compiled by GNU C version 3.3.2 20031022 (Red Hat Linux 3.3.2-1).
GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=48142
ignoring duplicate directory "."
ignoring duplicate directory ".."
#include "..." search starts here:
#include <...> search starts here:
 .
 ..
 ../glib
 ../gmodule
 /opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/lib/gcc-lib/arm-9tdmi-linux-gnu/3.3.3/include
 /opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/arm-9tdmi-linux-gnu/sys-include
 /opt/crosstool/arm-9tdmi-linux-gnu/gcc-3.3.3-glibc-2.3.2/arm-9tdmi-linux-gnu/include
End of search list.
testglib.c: In function `main':
testglib.c:1351: error: insn does not satisfy its constraints:
(insn:HI 11402 15181 14745 0xbf1c97bc (set (reg:DI 3 r3 [2754])
        (zero_extend:DI (mem:QI (const (plus (label_ref 15957)
                        (const_int 300 [0x12c]))) [0 S1 A8]))) 146
{zero_extendqidi2} (insn_list:REG_DEP_ANTI 15181 (insn_list:REG_DEP_OUTPUT 14746
(nil)))
    (expr_list:REG_UNUSED (reg:SI 4 r4)
        (nil)))
testglib.c:1351: internal compiler error: in final_scan_insn, at final.c:2722
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [testglib.o] Error 1
make[3]: Leaving directory `/home/linkm/downloads/glib-2.4.0/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/linkm/downloads/glib-2.4.0/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/linkm/downloads/glib-2.4.0'
make: *** [all] Error 2

-- 
           Summary: gcc fails to cross compile for arm with internal
                    compiler error
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Michael dot Link at adc dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-host_pc-linux-gnu
  GCC host triplet: i686-host_pc-linux-gnu
GCC target triplet: arm-9tdmi-linux-gnu


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


             reply	other threads:[~2004-04-15 15:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 15:55 Michael dot Link at adc dot com [this message]
2004-04-15 16:01 ` [Bug c/14966] " Michael dot Link at adc dot com
2004-04-15 16:02 ` [Bug c/14966] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-04-15 16:06 ` [Bug target/14966] [3.3 " pinskia at gcc dot gnu dot org
2004-04-28 16:07 ` Michael dot Link at adc dot com
2004-04-28 16:08 ` pinskia 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=20040415154044.14966.Michael.Link@adc.com \
    --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).