Mac OS X build available from 2010 05 28
Stephen Bannasch
stephen.bannasch at deanbrook.org
Mon May 31 20:34:50 PDT 2010
Thanks for the tips John,
>On May 31, 2010, at 4:34 PM, Stephen Bannasch wrote:
>
>> At 12:41 PM -0500 5/31/10, Charles Oliver Nutter wrote:
>>> I'll make a shameless request, since you have a build env set up and
>>> I've been too lazy to refresh mine: can you post a fastdebug build
>>> too? I needz me opto assemblyz!
>>
>> Remind me (or point me to the info) about how to make a fastdebug build.
>
>I think you can set SKIP_FASTDEBUG_BUILD=true on the original make command line (at the end of build.sh).
>
>It might also work to set "export SKIP_FASTDEBUG_BUILD=true" in the shell.
OK, in my build script (update.sh at http://gist.github.com/243072) where I set the variable 'sets' I've added:
DEBUG_NAME=fastdebug
SKIP_FASTDEBUG_BUILD=true
I find the name SKIP_FASTDEBUG_BUILD confusing if setting it to true causes the build to be a 'fastdebug' build -- seems 'skip'means the opposite would be true.
How can I tell if I've created a fastdebug build?
>You can also chdir into the build directory and build and test the JVM incrementally:
> $ cd $DAVINCI/sources
> $ export JAVA_BUILD=$(cd build/bsd-i586/j2sdk-image; pwd -P)
> $ cd build/bsd-i586/hotspot/outputdir/bsd_i486_compiler2/fastdebug
> $ make
> $ alias gamma='JAVA_HOME=$JAVA_BUILD DYLD_LIBRARY_PATH=. ./gamma'
> $ gamma Queens #etc.
>
>> I also need to learn how to easily move backwards in the mlvm patch repo because the tip didn't build for me yesterday (patch conflicts).
>
>The "hg qpush" command manipulates the applied patch set.
> $ cd $DAVINCI/sources/hotspot
> $ hg qpop -a # pop all
> $ hg qpush meth-ldc-6939203.patch # push to that point
> $ hg qpop # pop one back
>
>Sorry about the mismatched patches. I did a bunch of pushing to hotspot-comp last week and didn't clean up properly. Will fix shortly.
I tried just commenting out cpindex-6957080.patch in patches/hotspot/series
# cpindex-6957080.patch #-/meth #+d6d1af32c5f9
and that seemed to work.
*** but I see you just updated the patches so tip compiles again, thanks ;-)
$ ./build/bsd-i586/j2sdk-image/bin/java -version
openjdk version "1.7.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug-stephen_2010_05_31_22_38-b00)
OpenJDK Server VM (build 18.0-b04-fastdebug, mixed mode)
I just finished uploading a new build (hopefully one built w/fastdebug) here:
http://www.concord.org/~sbannasch/mlvm/java-1.7.0-internal-2010_05_31.tar.gz
More information about the mlvm-dev
mailing list