I have used
http://www.kegel.com/crosstool/crosstool-0.42.tar.gz
to (attempt to) build GCC 4.1.0 as a cross compiler (x86 => arm) and I get
the following message during the build process:
../sysdeps/generic/s_fmax.c: In function `__fmax':
../sysdeps/generic/s_fmax.c:28: internal compiler error: in elim_reg_cond, at
flow.c:3328
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
I want to ask: does this look like a known problem?
Forgive me, but turning this into a fully reproducible bug report is going
to be a *lot* of work, particularly as the problem appears to occur deep
in the building of glibc ... I'm reluctant to start working on this unless
there's a real interest in a detailed report on this problem.
For what it's worth (yes, yes, this isn't a proper bug report) I used the
following commands in crosstool-0.42 to do the build:
set -aex
export TARBALLS_DIR=/some/convenient/dir
export RESULT_TOP=/another/convenient/dir
export GCC_LANGUAGES="c,c++"
. arm.dat
. gcc-4.1.0-glibc-2.3.6.dat
TARGET=arm-linux
sh -ex ./all.sh --notest
A little environment information:
`uname -msro` => Linux 2.6.9-34.ELsmp i686 GNU/Linux
and it's a Red Hat Enterprise box of some sort.