Building Zero and/or Shark

Andrew Haley aph at redhat.com
Fri Mar 23 05:14:45 PDT 2012


On 03/23/2012 11:50 AM, Fredrik Öhrström wrote:
> Since you are working on the zero build, I would like to make a small comment.
> Currently zero is implemented as an architecture in the hotspot
> makefiles/sources.
> I.e. zero is on par with i386,x64,sparc....
> 
> This is unfortunate since the zero build shares the server jvm variant
> directory structure
> and it will definitely confuse the cross compiling setup attempts in configure.
> And of course, even if zero does not care about which architecture it runs on,
> it eventually has to run (be compiled) for some architecture.
> 
> I would like the following to be possible:
> ./configure --with-jvm-variants=sever,zero && make
> which would create a java launcher that respondes to:
>   java -server -version
> as well as
>   java -zero -version
> 
> But this is practically impossible as long as zero is an architecture.
> 
> I know that it is probably a lot of work to rewrite the hotspot makefiles
> to do zero as just one of several jvm_variants, (client,server,kernel etc)
> But I definitely think it would be worthwhile!

Indeed, it probably would be.

Andrew.




More information about the distro-pkg-dev mailing list