Build from the current HEAD fails

Arkadiusz Gasiński jigga at jigga.pl
Sat Sep 26 20:39:52 UTC 2020


Thanks, I'll check the preliminary patch out.

Arek

On Sat, Sep 26, 2020, 20:55 Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 26/09/2020 19:11, Arkadiusz Gasiński wrote:
> > Hi,
> >
> > I'm getting the following errors when building from the current HEAD:
> >
> > ERROR: Build failed for target 'images' in configuration
> > 'macosx-x86_64-server-release' (exit code 2)
> > Stopping sjavac server
> >
> > === Output from failing command(s) repeated here ===
> > * For target hotspot_variant-server_libjvm_objs_sharedRuntime.o:
> > src/hotspot/share/runtime/sharedRuntime.cpp:2869:85: error: expression
> does
> > not compute the number of elements in this array; element type is
> 'double',
> > not 'relocInfo' [-Werror,-Wsizeof-array-div]
> >        buffer.insts()->initialize_shared_locs((relocInfo*)locs_buf,
> > sizeof(locs_buf) / sizeof(relocInfo));
> >
> I assume this is xcode 12.0. The JDK doesn't currently build with that
> release (nothing specific to loom repo). It's tracked as JDK-8253375 [1]
> and under discussion in jdk/pull/348 [2]. You might be able to merge in
> the preliminary patch if you want to make progress.
>
> -Alan.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8253375
> [2] https://github.com/openjdk/jdk/pull/348
>


More information about the loom-dev mailing list