I just compiled qemu 0.6.1 with the appropriate patch set applied on an R10k Indigo2 with IRIX 6.5.21. Compilation works pretty fine, there are just two things to remember:
1. It is meant to be compiled with gmake, the IRIX make will complain about missing separators.
2. If configure lists the cpu as unknown, You have to edit the configure script: It invokes uname -m; if the output is "IP27" it is translated to "mips", but other platforms e.g. IP28 are ignored. You could change "uname -m" to "uname -p" which gives "mips" directly or change IP27 to whatever-You-have in the list. The linux test image provided on the QEMU homepage works, but this one is non-graphical.
I just compiled qemu myself using gcc 3.4 from nekoware on my R10K Indigo2 IRIX 6.5.22m. Devtools are from MIPSPro 7.4.2m, of which the cc compiler qemu does not compile against, BTW. Unfortunately, my gcc version coredumps.
Could you tell us exactly what gcc version and environment you use?
Also, gcc 3.4 severly bombs on op.c I get shit like:
Code: Select all
as: Error: /var/tmp//ccLg2RXn.s, line 10573: identifer expected
I had to get rid of -mno-abicalls and -O2 but i fear this will introduce the coredump.
Also there are two IRIX patches floating about, the one in the mailinglist, and the one on the web page. Looks like the latter is a better one...