public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error
@ 2004-04-15 15:55 Michael dot Link at adc dot com
  2004-04-15 16:01 ` [Bug c/14966] " Michael dot Link at adc dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael dot Link at adc dot com @ 2004-04-15 15:55 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug c/14966] gcc fails to cross compile for arm with internal compiler error
  2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
@ 2004-04-15 16:01 ` 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
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Michael dot Link at adc dot com @ 2004-04-15 16:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Michael dot Link at adc dot com  2004-04-15 15:42 -------
Created an attachment (id=6088)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6088&action=view)
temporary (.i) file that produced error.


-- 


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


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

* [Bug c/14966] [3.4 Regression] gcc fails to cross compile for arm with internal compiler error
  2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
  2004-04-15 16:01 ` [Bug c/14966] " Michael dot Link at adc dot com
@ 2004-04-15 16:02 ` pinskia at gcc dot gnu dot org
  2004-04-15 16:06 ` [Bug target/14966] [3.3 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-15 16:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-15 15:44 -------
Can you try a snapshot of 3.3.4 or 3.4.0?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
            Summary|gcc fails to cross compile  |[3.4 Regression] gcc fails
                   |for arm with internal       |to cross compile for arm
                   |compiler error              |with internal compiler error
   Target Milestone|---                         |3.3.4


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


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

* [Bug target/14966] [3.3 Regression] gcc fails to cross compile for arm with internal compiler error
  2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
  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 ` 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
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-15 16:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
            Summary|[3.4 Regression] gcc fails  |[3.3 Regression] gcc fails
                   |to cross compile for arm    |to cross compile for arm
                   |with internal compiler error|with internal compiler error


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


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

* [Bug target/14966] [3.3 Regression] gcc fails to cross compile for arm with internal compiler error
  2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: Michael dot Link at adc dot com @ 2004-04-28 16:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Michael dot Link at adc dot com  2004-04-28 15:49 -------
snapshot of gcc 3.3-20040411 did not error out.

-- 


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


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

* [Bug target/14966] [3.3 Regression] gcc fails to cross compile for arm with internal compiler error
  2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
                   ` (3 preceding siblings ...)
  2004-04-28 16:07 ` Michael dot Link at adc dot com
@ 2004-04-28 16:08 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-28 16:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-28 15:52 -------
Fixed already for 3.3.4.  Thanks for testing.

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


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


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

end of thread, other threads:[~2004-04-28 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-15 15:55 [Bug c/14966] New: gcc fails to cross compile for arm with internal compiler error Michael dot Link at adc dot com
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

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).