David E. Cross wrote:
Wow... you really like to pour salt in the wounds, don't you? ;)
More like, don't give up it does work.
I care about GCC on IRIX. Since you seemed to think there was a problem
I wanted to look for myself.
Also the build took nearly 48hours on my I2 R10K/195 and since you said
you're using an Indy I know it takes even longer for 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).
If you're using GNU ld then that is a likely source of problems. It does
not work well on IRIX and it's strongly recommended to use the IRIX
linker when building gcc.
Regarding in-tree builds I build gcc 4.6 snapshots on Solaris 8 using
in-tree gmp, mpfr and mpc and this works fine, so it's not a general
problem. ppl and cloog may be another story but they don't build without
alot of pain on Solaris so I haven't tested with those.
That being said, could you put up a tar file of your insn-*.c files
somewhere?
http://jupiterrise.com/tmp/insn-gcc451-irix6522.tar.gz
A full buildlog is here:
http://jupiterrise.com/tmp/gcc-4.5.1-irix6522-gcc434-build1.log
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.
That sounds very odd indeed.
I normally never bootstrap with MIPSpro though since I always build the
Ada compiler which requires gnat.
Perhaps you could give some more details, like how you're configuring
gcc and perhaps a buildlog?
-tgc