Still crashity crashing

Attila Szegedi szegedia at gmail.com
Mon Aug 3 02:04:14 PDT 2009


Okay, I think I got it... my "hg tip" for bsd-port was okay:

changeset:   125:428565383a55
tag:         tip
parent:      123:75d7dc371aec
parent:      124:5dc862ec024e
user:        glewis at misty.eyesbeyond.com
date:        Sat Jul 25 20:53:34 2009 -0700
summary:     . Merge from main OpenJDK repository.

But "hg tip" for davinci/patches was definitely not:

changeset:   8:e433df0d89ae
tag:         tip
user:        jrose
date:        Fri May 15 13:54:21 2009 -0700
summary:     meth: test/development project, for use with netbeans and/ 
or ant

doing an update/pull on it resulted in:

added 17 changesets with 45 changes to 19 files

after which "hg tip" says:

changeset:   25:5745e8f6c36b
tag:         tip
user:        jrose
date:        Tue Jul 21 02:04:58 2009 -0700
summary:     meth: negative tests for low-level MH matching errors

Much better.

So, this is probably my bad.

Other than that, my build process is as this (using an existing local  
Hg repository):

1. back out current patches from bsd-port using "hg qselect --pop" on  
jdk, hotspot, and langtools -- this is necessary to make sure fpull  
and fupdate don't skip them
2. hg fpull; hg fupdate in bsd-port
3. hg fpull; hg fupdate in davinci/patches
4. apply patches: cd davinci; (cd patches/make; gnumake setup); (cd  
patches/make; gnumake patch)
5. build: cd bsd-port; ./clean.sh; ./build.sh

my build.sh is this:

LC_ALL=C
LANG=C
unset CLASSPATH
unset JAVA_HOME
make \
ALT_BOOTDIR=/usr/local/soylatte16-i386-1.0.3/ \
ALT_BINARY_PLUGS_PATH=/Users/aszegedi/Documents/projects/openjdk/jdk-7- 
icedtea-plugs \
ALT_FREETYPE_HEADERS_PATH=/usr/X11R6/include \
ALT_FREETYPE_LIB_PATH=/usr/X11R6/lib \
ALT_CUPS_HEADERS_PATH=/usr/include \
ANT_HOME=/usr/share/ant \
NO_DOCS=true \
HOTSPOT_BUILD_JOBS=1 \
ALT_JIBX_LIBS_PATH=/Users/aszegedi/Documents/projects/openjdk/jibx/lib

gcc is:

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

Strangely, trying to build using "gnumake" from davinci/patches/make  
will fail; that's why I go back manually to bsd-port. Also, not doing  
a ./clean.sh is a bad idea, as it did cause a build to fail in the  
past. Anyway, the problem is likely that I failed to update the  
davince/patches from Mercurial. Sorry about that - it was really  
lame... I'm rebuilding now, will test with Charlie's nightly JRuby  
when it's done, and if it works, will republish it.

Attila.

On 2009.08.03., at 10:13, Christian Thalinger wrote:

> Charles Oliver Nutter wrote:
>> Ok, finally circled back around to testing things again. With  
>> Attila's
>> build, I'm still getting crashes, but more seems to work.
>>
>> I've attached the dump from the crash. To reproduce:
>>
>> 1. grab and unpack a JRuby nightly from
>> 2. set MLVM into JAVA_HOME
>> 3. run bin/jruby -J-Djruby.compile.invokedynamic=true
>> -J-XX:+EnableInvokeDynamic bench/bench_fib_recursive.rb 100
>
> Yes, it crashes for me too with Attila's build.  It's very strange  
> that
> my builds works but Attila's does not.
>
> Attila, could give some information how you built your build?  Could  
> you
> verify you Mercurial tip's?  Did you use a different GCC version,
> libraries, ...?  Could you provide a debug build?
>
> I will build my version from scratch and try again...
>
> -- Christian



More information about the mlvm-dev mailing list