error building for SH4: insn and constraints error

Dan Kegel dank@kegel.com
Wed Oct 19 00:17:00 GMT 2005


Robert P. J. Day wrote:
>   having built fine for little-endian SH3, tweaking slightly for SH4
> generates:
> 
> In file included from dcigettext.c:377:
> plural-eval.c: In function 'plural_eval':
> plural-eval.c:101: error: insn does not satisfy its constraints:
> (insn 57 55 315 6 (set (reg/v:SI 76 fr12 [orig:170 n ] [170])
>         (reg:SI 147 t)) 129 {movsi_ie} (insn_list:REG_DEP_TRUE 55
> (nil))
>     (nil))
> plural-eval.c:101: internal compiler error: in
> reload_cse_simplify_operands, at postreload.c:391

Yeah, I get that, too:

http://kegel.com/crosstool/crosstool-0.38/buildlogs/sh4-gcc-4.0.0-glibc-2.3.5-hdrs-2.6.11.2.log.txt

>   ????.  the software combination is
> 
> BINUTILS_DIR=binutils-2.16.1
> GCC_DIR=gcc-4.0.1
> GLIBC_DIR=glibc-2.3.5
> LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
> GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.5
> 
>   the config vars are:
> 
> TARGET=sh4-unknown-linux-gnu
> TARGET_CFLAGS="-O -m4 -ml"
> GLIBC_CONFIGPARMS="no-z-defs=yes"
> GLIBC_EXTRA_CONFIG="--without-fp"
> USE_SYSROOT=1
> 
> 
>   thoughts?  i'm going to bump up gcc to 4.0.2 and see what happens.

Also try the latest gcc-4.1 snapshot for completeness, maybe.

If it persists, bring it up on the main gcc list.
- Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list