Using --disable-Werror solved the problem but several hours were wasted identifying this. Since the default is enabled these errors should be fixed so it builds out-of-the-box. These generate unused parm warnings which break the build. The first is due to the target platform not having libiconv, the second I'm not sure of the reason. native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder native/jni/java-net/java_net_VMNetworkInterface
Could you post the full errors here? That would help, thanks.
Still no answer on what these errors are. FWIW, I always build with --enable-Werror (so wasn't aware it was the default, and I don't think that's always been the case) and I've not experienced any problems recently on GNU/Liux with either x86_64 or ppc64 archs as I recall. I'll change this to waiting for now in the hope that we get a list of errors.
I think we can safely close this as fixed. I build cross mips64-linux-gnu builds with --enable-werror and haven't seen any such problems. This PR was opened many months ago, and classpath has changed a lot since then, so it's not surprising if the problem is no longer there.
I agree. GNU Classpath build logs on debian show no problems for mips builds with 0.96.1, so whatever it was it seems fixed. While I can see some warnings for mid/sound native code at http://buildd.debian.org/fetch.cgi?pkg=classpath;ver=2%3A0.96.1-1;arch=mips;stamp=1198888704 they don't seem to cause the code to fail to build.
"robilad at kaffe dot org" <gcc-bugzilla@gcc.gnu.org> writes: > ------- Comment #4 from robilad at kaffe dot org 2008-01-25 12:23 ------- > I agree. GNU Classpath build logs on debian show no problems for mips builds > with 0.96.1, so whatever it was it seems fixed. While I can see some warnings > for mid/sound native code at > http://buildd.debian.org/fetch.cgi?pkg=classpath;ver=2%3A0.96.1-1;arch=mips;stamp=1198888704 > they don't seem to cause the code to fail to build. OK, thanks.