Re: Recording source information in a build

2008-04-29 Thread Jesse Glick
Kelly O'Hair wrote: hg tip --template 'changeset={node}\n' I would recommend using 'hg id', not 'hg tip': 1. If the developer has updated to a specific revision and built it, 'hg id' would be accurate, but 'hg tip' would be meaningless. 2. If there are local modifications, 'hg id' will reco

Error in jvm_linux.cpp on Ubuntu 8.04: deprecated conversion from string constant to 'char*'

2008-04-29 Thread Jesse Glick
Compiling /space/src/jdk7/hotspot/src/os/linux/vm/jvm_linux.cpp rm -f jvm_linux.o g++ -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles -I<> -DHOTSPOT_RELEASE_VERSION="\"12.0-b03\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"jglick\"" -DJRE_RELEASE_VERSION="\"1

Re: Recording source information in a build

2008-04-29 Thread Jesse Glick
Kelly O'Hair wrote: I would expect 'java -version' to include the changeset ID, if it were built from sources and was not a formal release. Ah, if it was only one changeset ID that would be great, but we have many repositories. I'm thinking a 'java -sourceversion' option maybe? Well, 'java -v

Continuous builds for OpenJDK (was: Running findbugs)

2008-05-16 Thread Jesse Glick
David Herron wrote: I would be happy to have more quality metrics like findbugs results to publish on the site. On that note, has anyone set up or thought about setting up a public continuous builder for OpenJDK, e.g. using Hudson? This would ensure that the codeline is still buildable (of co

Re: Continuous builds for OpenJDK

2008-05-16 Thread Jesse Glick
Kelly O'Hair wrote: Last I looked, Hudson did not support building native code If there's a makefile, it can run it. on all 8 basic platforms There is a way to run the same build across different slaves with different machine architectures: http://hudson.gotdns.com/wiki/display/HUDSON/Bu

Re: OpenJDK Build error on Ubuntu 8.04

2008-06-04 Thread Jesse Glick
Kelly O'Hair wrote: these sh scripts used in the build process should be changed to be something else, maybe small Java apps. Would also be nice to not name the version-controlled input files *.java when they are not in fact valid Java source. I am referring to the output of hg -R jdk loc -r

Re: b31 multiple build failures on x86 Linux

2008-07-24 Thread Jesse Glick
Kelly O'Hair wrote: You might be able to 'make SH=/bin/bash' to get around this, but it's just a guess. What works for me (Ubuntu 8.04 w/ all updates): export SPP_CMD='/bin/bash spp.sh' make Cf. http://bugs.sun.com/view_bug.do?bug_id=6681798

port.hpp build error on Ubuntu 8.10

2009-01-16 Thread Jesse Glick
Ubuntu 8.10, all updates incl. libc6-dev "2.8~20080505-0ubuntu7". Just fetched latest sources from http://hg.openjdk.java.net/jdk7/jdk7/ forest. g++ -DLINUX -D_GNU_SOURCE -DIA32 -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles -I/space/src/jdk7/hotspot/src/share/vm/asm -I/space/sr