>On Mon, Jan 18, 2010 at 08:13:56PM +0100, Christian Thalinger wrote: >> On Mon, 2010-01-18 at 11:02 -0800, David Green wrote: >> > I'm attempting to build OpenJDK from source according to these >> > instructions and I'm running into the following error: >> > >> > >> > cc1plus: warnings being treated as errors > > > > >> It's a small problem that has already been fixed: >> > > http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/b1f619d38249 >> >> It will just take some time to promote to your repository. > >I've merged build 80, so this should be fixed.
I'm getting similar errors: Compiling /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp results in this error: cc1plus: warnings being treated as errors /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)': /Users/stephen/dev/java/src/bsd-port/hotspot/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsignedinteger expressions make[6]: *** [nmethod.o] Error 1 make[5]: *** [the_vm] Error 2 make[4]: *** [product] Error 2 make[3]: *** [generic_build2] Error 2 make[2]: *** [product] Error 2 make[1]: *** [hotspot-build] Error 2 make: *** [build_product_image] Error 2 [1]+ Done rm -i -rf build.del I think I have the latest code -- ran hg fpull -u $ hg log changeset: 177:95cac94fe180 tag: tip parent: 173:fe9c04a530f4 parent: 176:8403096d1fe7 user: Greg Lewis <gle...@eyesbeyond.com> date: Fri Jan 22 10:54:27 2010 -0800 summary: Merge from main OpenJDK repository changeset: 176:8403096d1fe7 user: mikejwre date: Thu Jan 21 11:12:21 2010 -0800 summary: Added tag jdk7-b80 for changeset a3242906c774 ... haven't been able to build for a couple of weeks now.