[RFR] jdk9.0.4+12 + functionality

Edward Nevill edward.nevill at gmail.com
Wed Apr 11 15:46:19 UTC 2018


On Wed, 2018-04-11 at 17:22 +0300, Andrey Petushkov wrote:
> > On 11 Apr 2018, at 15:05, Edward Nevill <edward.nevill at gmail.com> wrote:
> > 
> > 
> So how we proceed then? We should still have some way of pushing jdk9u history into our repo, right?
> 

I think the way forward would be to get ops to populate the aarch32 area with a clean jdk9u tree.

The diffs for the aarch32 port could then be pushed to this. With a bit of care it might be possible to preserve the history from the jdk9 tree but even if that is lost it is not a big deal.

I tried building the jdk9u merge. I notice that the generate-configure.sh is out of date with respect to platform.m4 so if I build the tree as is it builds 'arm'. But if I rengenerate the generated-configure.sh by doing

cd common/autoconf
bash autogen.sh

it now builds 'aarch32' but the build fails because many *_arch32* files are missing. For example

/work/ed/aarch32/azul/hotspot/src/share/vm/runtime/globals.hpp:47:32: fatal error: c1_globals_aarch32.hpp: No such file or directory
 #include CPU_HEADER(c1_globals)

These files are included in your 'functionality' patch. It would seem that the merged repo does not build correctly without your second patchset so there is little point in considering them as two separate patchs.

Instead they should be considered as a single patch which adds c1/c2 functionality to the jdk9u base.

I subsequently tried building the combined patches 'merge' + 'functionality'

The configure line I used was

bash ./configure --disable-warnings-as-errors --with-boot-jdk=/work/ed/images/jdk1.8.0_65 --with-jobs=2 --with-jvm-variants=client

This fails with the error

Compiling 4 files for BUILD_JIGSAW_TOOLS
Error: missing `server' JVM at `/work/ed/aarch32/azul_c2/build/linux-aarch32-normal-client-release/jdk/lib/server/libjvm.so'.
Please install or use the JRE or JDK that contains these missing components.
ExplodedImageOptimize.gmk:40: recipe for target '/work/ed/aarch32/azul_c2/build/linux-aarch32-normal-client-release/jdk/_packages_attribute.done' failed

So it has build the jdk, but has an incorrectly configured jvm.cfg file.

I'll try the c2 build next,
Ed.



More information about the aarch32-port-dev mailing list