public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/14506] New: gcc-3.3.3 won't compile for target avr: "insn does not satisfy its constraints"
@ 2004-03-09 18:58 j980 at comcast dot net
  2004-03-09 19:33 ` [Bug target/14506] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: j980 at comcast dot net @ 2004-03-09 18:58 UTC (permalink / raw)
  To: gcc-bugs

----------------------------------------------------------------------
This is the command and error output (backslashes added for clarity):
----------------------------------------------------------------------
/usr/local/src/gcc-3.3.3/build-avr/gcc/xgcc \
    -B/usr/local/src/gcc-3.3.3/build-avr/gcc/ \
    -B/usr/local/avr-atmel-none/bin/ \
    -B/usr/local/avr-atmel-none/lib/ \
    -isystem /usr/local/avr-atmel-none/include \
    -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings \
    -Wstrict-prototypes -Wmissing-prototypes -isystem ./include \
    -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 \
    -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. \
    -I/usr/local/src/gcc-3.3.3/gcc -I/usr/local/src/gcc-3.3.3/gcc/. \
    -I/usr/local/src/gcc-3.3.3/gcc/config \
    -I/usr/local/src/gcc-3.3.3/gcc/../include \
    -DL_udivmoddi4 -c \
    /usr/local/src/gcc-3.3.3/gcc/libgcc2.c -fexceptions \
    -fnon-call-exceptions -o libgcc/./_udivmoddi4.o
/usr/local/src/gcc-3.3.3/gcc/libgcc2.c: In function `__udivmoddi4':
/usr/local/src/gcc-3.3.3/gcc/libgcc2.c:731: error: insn does not satisfy its
constraints:
(insn 1006 1005 1007 0x40156604 (set (mem:QI (plus:HI (reg:HI 26 r26 [30])
                (const_int 1 [0x1])) [2 S1 A8])
        (reg:QI 24 r24 [268])) 9 {*movqi} (insn_list 1005 (insn_list 1434 (nil)))
    (expr_list:REG_DEAD (reg:QI 24 r24 [268])
        (nil)))
/usr/local/src/gcc-3.3.3/gcc/libgcc2.c:731: internal compiler error: in
extract_constrain_insn_cached, at recog.c:2090
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/./_udivmoddi4.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-3.3.3/build-avr/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-3.3.3/build-avr/gcc'
make: *** [all-gcc] Error 2

----------------------------------------------------------------------
These were the steps I took:
----------------------------------------------------------------------

  ## Downloaded and installed binutils-2.14.tar.bz2
  mkdir build-avr  &&  cd build-avr
  ../configure --target=avr-atmel-none --without-x --disable-shared \
               --disable-nls
  make
  make install

  ## Downloaded and installed gcc-3.3.3.tar.bz2,
  ##    gcc-core-3.3.3.tar.bz2, and gcc-g++-3.3.3.tar.bz2
  mkdir build-avr  &&  cd build-avr
  ../configure --target=avr-atmel-none --without-x --without-newlib \
               --disable-shared --disable-win32-registry --disable-nls
  make

Then the error above stopped me.
Also, I get similar errors in other files when I start commenting 
things out to see if it will compile.

----------------------------------------------------------------------
My host system
----------------------------------------------------------------------
$ gcc --version
gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)

$ uname -rom
2.4.22-10mdk i686 GNU/Linux

-- 
           Summary: gcc-3.3.3 won't compile for target avr: "insn does not
                    satisfy its constraints"
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: j980 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr-atmel-none


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


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

* [Bug target/14506] gcc-3.3.3 won't compile for target avr: "insn does not satisfy its constraints"
  2004-03-09 18:58 [Bug c/14506] New: gcc-3.3.3 won't compile for target avr: "insn does not satisfy its constraints" j980 at comcast dot net
@ 2004-03-09 19:33 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-09 19:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-09 19:33 -------
This is a dup of bug 14149.

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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-03-09 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-09 18:58 [Bug c/14506] New: gcc-3.3.3 won't compile for target avr: "insn does not satisfy its constraints" j980 at comcast dot net
2004-03-09 19:33 ` [Bug target/14506] " 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).