Wow... you really like to pour salt in the wounds, don't you? ;)
Yeah, I gave up on getting gmp, mpfr, mpc, cloog, and ppl to build in
tree.. it doesn't seem that anyone has even tested that code. Even with
binutils, I need to do a couple of symlinks to get it to work (gas, ld,
and binutils/bfd, binutils/opcodes).
That being said, could you put up a tar file of your insn-*.c files
somewhere?
What's odd is that I got these compile errors using MIPSPro C compilers
also, which is why I backed down to gcc4.2.4 for my initial build.
--
David E. Cross
On Wed, 27 Oct 2010, Tom Christensen wrote:
David E. Cross wrote:
I am compiling gcc on irix 6.5. I have 4.2.4 successfully build and
installed on an r4400 iris 6.5.22 indy. from there I tried to build 4.5.0,
which generated an ICE on a instruction not satisfying prereqs, *deep* into
the 2nd stage build (it had already built all of binutils (I am doing the
integrated binutils build), and the gen* programs, and run them)... 4.5.1
cam out shortly after.. and I ran it.. same, then I backed down to 4.4.4..
same, and 4.3.5 same. the exact instruction that generates the ICE is
different, and they are in different places in each of the 4.x.y builds,
but for a GIVEN 4.x.y build it is always the same, and overall in the GCC
build itself it is always in roughtly the same spot (2nd stage after the
gen* programs are run, typically in optab.c).
I am relatively confident of my 4.2.4 build it passed its own 3 stage
build test, additionally all of the software that I have built with it,
including Perl, GMP, MPC, MPFR, PPL, Cloog-ppl have all passed their
internal test-suites; it would seem if there was anything MAJOR wrong, it
would have tripped there.
FWIW I just bootstrapped 4.5.1 on IRIX 6.5.22m.
./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: mips-sgi-irix6.5
Configured with: ../gcc-4.5.1/configure --prefix=/usr/tgcware/gcc45
--with-local-prefix=/usr/tgcware/gcc45 --disable-nls --disable-shared
--enable-languages=c,ada,c++ --with-gnu-as --with-as=/usr/tgcware/bin/gas
--with-gmp=/usr/people/tgc/local/gmp --with-mpfr=/usr/people/tgc/local/mpfr
--with-mpc=/usr/people/tgc/local/mpc
Thread model: posix
gcc version 4.5.1 (GCC)
I used the tgcware gcc and binutils for IRIX 6.2 to do the bootstrap.
I tried building with gmp/mpfr/mpc in the tree but that failed when building
gmp so I built static copies outside the tree instead.
-tgc