This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
egcs-971105 cross-compiler test result 2
- To: egcs-bugs at cygnus dot com
- Subject: egcs-971105 cross-compiler test result 2
- From: gyoung yun cho <gycho at dolphin dot pknu dot ac dot kr>
- Date: Mon, 10 Nov 1997 09:52:19 +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-971105
/usr/local/src/build
============================================================================
'newlib' and 'libgloss' are moved to 'egcs-971105' from 'newlib-1.8.0'.
My script file at /usr/local/src is
=============================================================================
prefix=/usr/local
host=i386-*-linux
target=$1
gver=egcs-971105
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 *
=============================================================================
Cross-compiling 'egcs-971105/libstdc++/std/stdexcepti.cc' makes error which
is releated with file 'bastring.h'.
This error had not been found at all of previous egcs versions.
Test results without 'libstdc++' are followings
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, 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 mn10300-elf without 'f' -- Good, No error.
6) Target is i960-coff without 'libgloss' -- Good, No error.
7) m68k-coff
sh-elf
mips-elf
mips64-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.