Error when building cross-compiler for TMS320C4x
Jack DONATI
jack.donati@steria.com
Tue Feb 28 08:30:00 GMT 2006
I try to build gcc cross-compiler for TI TMS320C4x. The OS is Linux (SUSE).
The gcc cross compiler version is 3.4.4.
An error occurs : "internal compiler error: in reload_cse_simplify_operands,
at postreload.c:391".
Has some body an idea about the reason of this error? Is it a bug or a
mistake in my script or another reason?
Regards
Here it is the end of the make log :
make[1]: Entering directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/libiberty'
make[2]: Entering directory
`/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/libiberty/testsuite'
make[1]: Leaving directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/libiberty'
make[1]: Entering directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/intl'
make[1]: Entering directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/gcc'
echo "/* This file is machine generated. Do not edit. */" > tmp-gtyp.h
echo "static const char *const srcdir = " >> tmp-gtyp.h
echo "\"/dk/makalu1/soft/gcc/gcc-3.4.4/gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/mangle.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/name-lookup.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/name-lookup.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/cp-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/lex.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/call.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl2.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/pt.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/repo.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/semantics.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/tree.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/parser.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/method.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-pragma.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-lang.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-parse.in
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-decl.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-pragma.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-objc-common.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp
c c c c c c c c "; \
for f in $ff; do \
echo "\"$f\", " ; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/input.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/coretypes.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cpplib.h auto-host.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/../include/ansidecl.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/config/c4x/c4x.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/defaults.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/../include/hashtab.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/../include/splay-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/bitmap.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/coverage.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/function.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/rtl.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/optabs.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libfuncs.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/hashtable.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/real.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/varray.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/insn-addr.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cselib.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/basic-block.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cgraph.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/alias.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/bitmap.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cselib.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cgraph.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/dbxout.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/dwarf2out.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/dwarf2asm.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/dojump.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/emit-rtl.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/except.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/explow.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/expr.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/fold-const.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/function.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/gcse.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/integrate.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/lists.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/optabs.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/profile.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/ra-build.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/regclass.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/reg-stack.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cfglayout.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/langhooks.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/sdbout.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/stmt.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/stor-layout.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/stringpool.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/tree.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/varasm.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/config/c4x/c4x.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/mangle.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/name-lookup.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/name-lookup.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/cp-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/lex.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/call.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/decl2.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/pt.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/repo.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/semantics.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/tree.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/parser.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/cp/method.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-pragma.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-lang.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-parse.in
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-tree.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-decl.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-common.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-pragma.c
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c-objc-common.c"; \
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo " NULL};" >> tmp-gtyp.h
echo "static const char *const lang_dir_names[] = { \"c\", " >> tmp-gtyp.h
gf="cp"; \
for l in $gf; do \
echo "\"$l\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
/bin/sh /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/move-if-change tmp-gtyp.h
gtyp-gen.h
gtyp-gen.h is unchanged
AWK=gawk /bin/sh /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/opts.sh \
'/bin/sh /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/move-if-change' \
options.c options.h /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/c.opt
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/common.opt
options.h is unchanged
options.c is unchanged
if [ -f specs.ready ] ; then \
true; \
else \
echo timestamp > specs.ready; \
fi
make \
CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-protot
ypes -pedantic -Wno-long-long " \
CONFIG_H="config.h auto-host.h
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/../include/ansidecl.h" \
MAKEOVERRIDES= \
-f libgcc.mk all
make[2]: Entering directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/gcc'
for d in libgcc c3x libgcc/c3x small libgcc/small mem libgcc/mem small/mem
libgcc/small/mem c3x/small libgcc/c3x/small c3x/mem libgcc/c3x/mem
c3x/small/mem libgcc/c3x/small/mem; do \
if [ -d $d ]; then true; else /bin/sh
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/gcc/xgcc -B/ldk/0/soft/gcc/obj-gcc-3.4.4-c
4x/gcc/ -B/usr/local/c4x/bin/ -B/usr/local/c4x/lib/ -isystem
/usr/local/c4x/include -isystem
/usr/local/c4x/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-
strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -is
ystem
./include -Dexit=unused_exit -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Din
hibit_libc -I. -I. -I/dk/makalu1/soft/gcc/gcc-3.4.4/gcc -I/dk/makalu1/soft/g
cc/gcc-3.4.4/gcc/. -I/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/../include -msmall
-DL__main -c /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libgcc2.c -o
libgcc/small/__main.o
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libgcc2.c: In function
`__do_global_dtors':
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libgcc2.c:1676: error: insn does not
satisfy its constraints:
(insn:HI 44 53 45 0 /dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libgcc2.c:1663 (set
(reg/s/f:QI 8 ar0 [orig:37 p ] [37])
(mem/f:QI (symbol_ref:QI ("*p$1") [flags 0x2] <var_decl 0x402724a4
p>) [5 p+0 S1 A32])) 8 {movqi_noclobber} (nil)
(nil))
/dk/makalu1/soft/gcc/gcc-3.4.4/gcc/libgcc2.c:1676: internal compiler error:
in reload_cse_simplify_operands, at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/small/__main.o] Error 1
make[2]: Leaving directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/ldk/0/soft/gcc/obj-gcc-3.4.4-c4x/gcc'
make: *** [all-gcc] Error 2
More information about the Gcc-help
mailing list