RFR: 8307110: zero build broken after JDK-8304265
Erik Joelsson
erikj at openjdk.org
Fri Apr 28 21:35:54 UTC 2023
On Fri, 28 Apr 2023 19:51:02 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> These changes were accidentally omitted from https://github.com/openjdk/jdk/pull/13079
>
> When building the zero VM on aarch64 and linux-x86 in our CI, compilation of `libFallbackLinker.c` can fails because the function `ffi_get_struct_offsets` can not be found.
>
> The issue is that the libffi version found on some of our build systems is too old, and doesn't contain the required function. This patch switches away from using the libffi found on the system, and to using a pre-built libffi 3.4.2 package (as we already do for linux-x64-zero)
>
> I tried getting the linux-x86-zero build working as well, but it's broken for other reasons. I've at least verified that it compiles `libFallbackLinker.c` when using libffi 3.4.2
>
> Testing: building linux-aarrch64-zero & linux-aarrch64-zero-debug, as well as linux-x86-zero and linux-x86-zero-debug (the x86 builds failed for other reasons)
Marked as reviewed by erikj (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/13728#pullrequestreview-1406616719
More information about the build-dev
mailing list