public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25272]  New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
@ 2005-12-06  4:24 rbunke at speakeasy dot net
  2005-12-06  4:27 ` [Bug c/25272] " rbunke at speakeasy dot net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rbunke at speakeasy dot net @ 2005-12-06  4:24 UTC (permalink / raw)
  To: gcc-bugs

I'm trying to compile gcc as a cross compiler for target h8300-hitachi-hms on
my amd64 gentoo linux box.

the bintils compiled succesfully
but gcc compilation failed:
I tried to compile both the gcc-3.4.4 source and the gcc-3.4.5 
with the same results

gcc version
---------------------------------
navi proc # gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec
--enable-nls --without-included-gettext --with-system-zlib --disable-checking
--disable-werror --disable-libunwind-exceptions --enable-multilib
--disable-libgcj --enable-languages=c,c++,f77 --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)

xgcc version info
--------------------------------
/usr/local/src/gcc-3.4.5/gcc/xgcc -v
Using built-in specs.
Configured with: ./configure --target=h8300-hitachi-hms --prefix=/usr/local
--with-newlib
Thread model: single
gcc version 3.4.5


system info 
-----------------------------------
navi gcc # uname -a
Linux navi 2.6.13-gentoo-r3 #3 Tue Oct 11 18:35:51 EDT 2005 x86_64 AMD
Athlon(tm) 64 Processor 3400+ AuthenticAMD GNU/Linux


command that failed and errors
-------------------------------------------
/usr/local/src/gcc-3.4.5/gcc/xgcc -B/usr/local/src/gcc-3.4.5/gcc/
-B/usr/local/h8300-hitachi-hms/bin/ -B/usr/local/h8300-hitachi-hms/lib/
-isystem /usr/local/h8300-hitachi-hms/include -isystem
/usr/local/h8300-hitachi-hms/sys-include -O2  -DIN_GCC -DCROSS_COMPILE   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -DDF=SF -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./../include  
-DL_muldi3 -c ./libgcc2.c -o libgcc/./_muldi3.o
./libgcc2.c: In function `__muldi3':
./libgcc2.c:537: error: unrecognizable insn:
(insn 244 243 245 0 ./libgcc2.c:528 (set:HI (reg:HI 3 r3)
        (const_int 4294967222 [0xffffffb6])) -1 (nil)
    (nil))
./libgcc2.c:537: internal compiler error: in extract_insn, at recog.c:2083


-- 
           Summary: gcc fails to compile for target h8300-hitachi-hms with
                    unrecognizable insn
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rbunke at speakeasy dot net


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


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

* [Bug c/25272] gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
  2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
@ 2005-12-06  4:27 ` rbunke at speakeasy dot net
  2005-12-06  4:32 ` [Bug target/25272] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rbunke at speakeasy dot net @ 2005-12-06  4:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rbunke at speakeasy dot net  2005-12-06 04:27 -------
Created an attachment (id=10413)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10413&action=view)
the preprocessed file


-- 


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


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

* [Bug target/25272] gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
  2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
  2005-12-06  4:27 ` [Bug c/25272] " rbunke at speakeasy dot net
@ 2005-12-06  4:32 ` pinskia at gcc dot gnu dot org
  2005-12-06  5:15 ` wilson at specifix dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-06  4:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-06 04:32 -------
This might be a 64bit HOST_WIDE_INT bug in the h8300 back-end.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|                            |x86_64-linu-gnu


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


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

* [Bug target/25272] gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
  2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
  2005-12-06  4:27 ` [Bug c/25272] " rbunke at speakeasy dot net
  2005-12-06  4:32 ` [Bug target/25272] " pinskia at gcc dot gnu dot org
@ 2005-12-06  5:15 ` wilson at specifix dot com
  2006-06-15 23:46 ` flameeyes at gentoo dot org
  2010-02-24 19:13 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: wilson at specifix dot com @ 2005-12-06  5:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from wilson at specifix dot com  2005-12-06 05:15 -------
Subject: Re:  gcc fails to compile for target h8300-hitachi-hms
 with unrecognizable insn

pinskia at gcc dot gnu dot org wrote:
> ------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-06 04:32 -------
> This might be a 64bit HOST_WIDE_INT bug in the h8300 back-end.

Yes, it is.  I do builds with CC="gcc -m32".  I also build binutils this 
way.  I doubt it will work correctly if compiled as 64-bit code.  I 
haven't cared enough yet to try to fix this.


-- 


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


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

* [Bug target/25272] gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
  2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
                   ` (2 preceding siblings ...)
  2005-12-06  5:15 ` wilson at specifix dot com
@ 2006-06-15 23:46 ` flameeyes at gentoo dot org
  2010-02-24 19:13 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: flameeyes at gentoo dot org @ 2006-06-15 23:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from flameeyes at gentoo dot org  2006-06-15 23:30 -------
This is still an issue in 4.1.1.


-- 


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


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

* [Bug target/25272] gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn
  2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
                   ` (3 preceding siblings ...)
  2006-06-15 23:46 ` flameeyes at gentoo dot org
@ 2010-02-24 19:13 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2010-02-24 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from law at redhat dot com  2010-02-24 19:12 -------


*** This bug has been marked as a duplicate of 29377 ***


-- 

law at redhat dot com changed:

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


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


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

end of thread, other threads:[~2010-02-24 19:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-06  4:24 [Bug c/25272] New: gcc fails to compile for target h8300-hitachi-hms with unrecognizable insn rbunke at speakeasy dot net
2005-12-06  4:27 ` [Bug c/25272] " rbunke at speakeasy dot net
2005-12-06  4:32 ` [Bug target/25272] " pinskia at gcc dot gnu dot org
2005-12-06  5:15 ` wilson at specifix dot com
2006-06-15 23:46 ` flameeyes at gentoo dot org
2010-02-24 19:13 ` law at redhat dot com

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