OpenJDK zero build

Krishna S skrsn at yahoo.com
Sun Jun 30 14:47:27 PDT 2013


Hi,

This seemed like an appropriate alias for this question. Please redirect me if it isn't.

I'm trying to build the OpenJDK (specifically Hotspot) with only a C++ interpreter  (which I understand is the jvmgzero target) like I would a regular OpenJDK build (i.e. not using icedtea) but can't get it to work. 

This is the command I'm using to build
$ ZERO_ARCHDEF=amd64 ZERO_LIBARCH=amd64 ZERO_ENDIANNESS=little ZERO_ARCHFLAG="-m64" ARCH_DATA_MODEL=64 ZERO_BUILD=true ... make jvmgzero

 
With this I could get to the linking stage, but it failed complaining that multiple ffi symbols were missing. This I could fix, trivially, by adding an -lffi switch in the Makefile.

This let me link and create test_gamma, which however hangs every time I run it [1].

Given it didn't work out of the box I wonder if building zero outside of icedtea is even supported? If it is, could someone tell me the exact set of flags I'd use to get a working build?

Thanks.
--


Krishna S
skrsn at yahoo.com

[1] http://pastebin.com/NeDq06cc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130630/8c129404/attachment.html 


More information about the distro-pkg-dev mailing list