building libgcj on irix 6.5
John-Marc Chandonia
jmc@cmpharm.ucsf.edu
Thu Dec 9 17:12:00 GMT 1999
On Thu, Dec 09, 1999 at 12:11:02PM -0000, Andrew Haley wrote:
> It looks as though you've got my libgcj changes in but not my gcj
> changes. Here's the patch.
I tried this patch in combination with Bryce's patches to gcc
2.95.2, rather than using the CVS gcc directly. Since the
arguments to builtin_function changed, I had to apply one part
of the patch manually; aside from that things seemed to work,
and I built a new gcc/gcj.
However, this new gcj won't compile the latest libgcj either; I get
error messages like:
gcj -fassume-compiled -g -L/home/cornelius/jmc/home/build_libgcj/mips-sgi-irix6.5/libjava -c ../../../libgcj-snapshot-1999-12-08/libjava/java/security/MessageDigest.java -o java/security/.libs/MessageDigest.lo
../../../libgcj-snapshot-1999-12-08/libjava/java/security/MessageDigest.java: In class `java.security.MessageDigest':
../../../libgcj-snapshot-1999-12-08/libjava/java/security/MessageDigest.java: In method `getInstance(java.lang.String)':
../../../libgcj-snapshot-1999-12-08/libjava/java/security/MessageDigest.java:31: Variable `obj' may not have been initialized.
return (MessageDigest) obj;
In this case, either obj had to have been initialized or an exception
would have been thrown, and the compiler seemed to have ignored the
exception case and assumed there was a possibility of obj not having
been initialized.
So, does anybody have any further patches which could be applied
to 2.95.2, thereby maintaining stability while still compiling the
latest libgcj?
Thanks,
JMC
--
John-Marc Chandonia (jmc@cmpharm.ucsf.edu) We're everywhere...
Cohen Lab, University of California San Francisco for your convenience.
http://yuri.harvard.edu/~jmc -- Psi Corps <*>
More information about the Java
mailing list