This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Egcs-971114 cross compiler test result
- To: egcs-bugs at cygnus dot com
- Subject: Egcs-971114 cross compiler test result
- From: gyoung yun cho <gycho at dolphin dot pknu dot ac dot kr>
- Date: Thu, 20 Nov 1997 13:27:49 +0900
- Organization: Pukyong University Korea
I tested egcs snapshots on LINUX slackware 3.3 to make cross compiler.
My tool chain is :
============================================================================
/usr/local/src/binutils-2.8.1.0.15
/usr/local/src/egcs-971114
/usr/local/src/build
============================================================================
'newlib' and 'libgloss' are moved to 'egcs-971114' from 'newlib-1.8.0'.
My script file at /usr/local/src is
=============================================================================
prefix=/usr/local
host=i386-*-linux
target=$1
gver=egcs-971114
cd build
../binutils-2.8.1.0.15/configure --host=$host --target=$target \
--prefix=$prefix -v
make all
make install
rm -rf *
# Make cross tool include dir
mkdir $prefix/$target/include
cp -r ../$gver/newlib/libc/include/* $prefix/$target/include
../$gver/configure --host=$host --target=$target --prefix=$prefix \
--with-gnu-as --with-gnu-ld -v
make all
make install
rn -rf *
=============================================================================
1) Target is arm-coff -- Error.
* .../egcs-971105/newlib/libm/math/ef_exp.c:102: internal error --
unrecognizable insn :
(insn 619 66 77 (set (reg:SF 49)
(if_then_else:SF (eq (reg:CC 24 cc)
(const_int 0))
(reg/v:SF 31)
(const_double:SF (cc0) 0 0 ))) -1 (insn_list 66 (nil))
(expr_list:REG_DEAD (reg:CC 24 cc)
(expr_list:REG_DEAD (reg/v:SF 31)
(nil))))
xgcc:Internal compiler error: program cc1 got fatal signal 6
* Without 'newlib' and 'libgloss", no error is found.
2) Target is a29k-coff -- Error.
* "g77 requires ability to access exact FP representation of target machine"
error is encountered while compiling files in 'egcs-971105/gcc/f' dir.
* Without 'egcs-971105/gcc/f' directory, error is found at compiling c++.
/usr/local/src/build/gcc/xgcc -B/usr .......................
.... -c ../../egcs-971114/gcc/cp/new.cc
/tmp/cca05015.s:Assembler messages
/tmp/cca05015.s:168:Error: Invalid operands
/tmp/cca05015.s:357:Error: Invalid operands
* Without 'f77' and 'c++', no error is found.
3) Target is m88k-coff -- Error
* "g77 requires ability to access exact FP representation of target machine"
error is encountered while compiling files in 'egcs-971105/gcc/f' dir.
* Without 'egcs-971105/gcc/f' directory, no error is found.
4) Target is mn10200-elf without 'f' -- Good, No error.
5) Target is i960-coff without 'libgloss' -- Good, No error.
6) m68k-coff
sh-elf
mips-elf
mips64-elf
mn10300-elf
powerpc-elf
sparc-aout
sparclite-aout
hppa1.1-proelf
i386-coff -- Good, No error.
=============================================================================
PS : EGCS lists almost embedded 32/64 bit RISC/CISC processor. But, Alpha
has no embedded target. For completeness, why don't you include alpha-foo
like as m68k-coff.