Shark hg repositories are now in harmony.

Xerxes Ranby xerxes at zafena.se
Sat Aug 7 07:04:21 PDT 2010


On 2010-08-05 17:43, Dr Andrew John Hughes wrote:
> On 5 August 2010 13:39, Xerxes Rånby<xerxes at zafena.se>  wrote:
>    
>> Hi all!
>>
>> I have harmonized all the three different Shark hg repositories in use
>> by back-porting changes in between them.
>>      
> Thanks for doing this.
>
>    
>> The three different shark repositories are:
>>
>> http://icedtea.classpath.org/hg/shark/hotspot
>> This are the current "main" Shark hg repository where Gary does his work
>> and makes sure that shark are ready to be included upstream into OpenJDK.
>> This repository are targets the latest Hotspot hs19.
>>
>> http://icedtea.classpath.org/hg/icedtea
>> This are the icedtea 7 hg repository containing the version of Shark
>> fixed to work with Hotspot hs18 and OpenJDK 7.
>> Today i have back-ported and pushed a fix to icedtea6 from the "main"
>> shark repository to make Shark build with LLVM 2.7 on non-product builds.
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009915.html
>> I have also pushed some changes to make it in sync with the icedtea6 hg.
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009911.html
>> - Match Shark in icedtea6, makes OSR work by removing vestigal check.
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009916.html
>> - Match Shark in icedtea6, Correct suffix for the llvm.atomic.cmp.swap
>> intrinsic.
>>
>>      
> Does this actually build now?  It's never worked for me before.
>    
Yes it does build!
I have done sucessfull full bootstrap builds of icedtea 7 + shark on 
ia32 and amd64 using Ubuntu 10.04.
For these two builds I have built Shark in combination with the Ubuntu 
supplied LLVM 2.7 package.

This are how i configured my build on amd64:

$ hg clone http://icedtea.classpath.org/hg/icedtea
$ mkdir icedtea-shark
$ cd icedtea
icedtea$ ./autogen.sh
icedtea$ cd ../icedtea-shark
icedtea-shark$ ../icedtea/configure --enable-shark --with-parallel-jobs=4
icedtea-shark$ time make

... and 96min later after processing docs etc...

IcedTea is served: /media/_/icedtea-shark/openjdk.build
...

icedtea-shark$ ./openjdk.build/j2sdk-image/bin/java -version
java version "1.7.0_89-icedtea"
OpenJDK Runtime Environment (IcedTea7 1.14-pre+r90b892525f1b) (Ubuntu 
build 1.7.0_89-icedtea-b89)
OpenJDK 64-Bit Shark VM (build 18.0-b02, mixed mode)

> Please be aware that IcedTea7 will be bumping up to the latest
> OpenJDK7 now 1.13 is out.
>
>    

Thanks,Ii will keep this in mind and backport any fixes needed from the 
"main" Shark hg if the get a new Hotspot.
Will we get a new Hotspot hs19 after the bump?

>> http://icedtea.classpath.org/hg/icedtea6
>> This are the icedtea6 hg repository containing the version of Shark that
>> currently gets packaged and used by various linux distributions.
>>      
> Does Shark get packaged? I wasn't aware of this.
>    

For what i know, the following distributions package Shark:

Debian, Ubuntu
http://packages.debian.org/search?keywords=openjdk-6-jre-zero
for amd64 armel i386 and powerpc

Ångstrom.
http://www.angstrom-distribution.org/repo/?pkgname=openjdk-6-shark-vm-shark

I have also started to see some Shark success reports where users starts 
to recommend the use of Shark on small embedded servers.
http://plugcomputer.org/plugforum/index.php?topic=1633.0


>    
>> This repository are fixed to work with Hotspot hs17.
>> Today i have backported and pushed a fix to icedtea6 from the "main"
>> shark repository to make Shark build with LLVM 2.7 on non-product builds.
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-August/009914.html
>>
>> With these fixes in place all Shark hg repository HEAD's are now in
>> harmony, they can bootstrap them self nicely and runs rock stable.
>>
>> Cheers and have a great day!
>>      
> You too!  Great work.
>
>    
>> Xerxes
>>      




More information about the distro-pkg-dev mailing list