Re: Error when building cross-compiler for TMS320C4x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jack DONATI kirjoitti:
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?
A bug I suppose...
/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
Maybe using a '-O' or even '-O0' instead of '-O2' in the '$build/gcc/Makefile's 'LIBGCC2_CFLAGS' could
enable this succeeding...

Everything depends on your goal with this... For instance the need for this '-msmall' specific 'libgcc.a'.
Ok, you got an ICE and that should be reported :

Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

What about trying the 'bug-fix' gcc-3.4.6 release and the latest gcc-3.4.7 snapshots? Why on earth to use the gcc-3.4.4 sources at all when there are newer bug-fixed sources? Maybe not your 'bug' yet
being fixed but who knows...


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux