# HG changeset patch # User Andrew John Hughes # Date 1477548093 -3600 # Node ID 18f2aec9b67091bd10c5db45bfd5df821c7dcc89 # Parent cebac2cc1f7a193d970bede3ae1d66368599d4b7 PR3211: AArch64 build fails with pre-compiled headers disabled 2016-10-26 Andrew John Hughes PR3211: AArch64 build fails with pre-compiled headers disabled * Makefile.am: (ICEDTEA_PATCHES): Add patch for PR3211. * NEWS: Updated. * patches/pr3211.patch: Add missing includes to AArch64 port. diff -r cebac2cc1f7a -r 18f2aec9b670 ChangeLog --- a/ChangeLog Thu Oct 27 06:23:54 2016 +0100 +++ b/ChangeLog Thu Oct 27 07:01:33 2016 +0100 @@ -1,3 +1,13 @@ +2016-10-26 Andrew John Hughes + + PR3211: AArch64 build fails with pre-compiled + headers disabled + * Makefile.am: + (ICEDTEA_PATCHES): Add patch for PR3211. + * NEWS: Updated. + * patches/pr3211.patch: + Add missing includes to AArch64 port. + 2016-10-26 Andrew John Hughes PR3180: Support building without pre-compiled headers diff -r cebac2cc1f7a -r 18f2aec9b670 Makefile.am --- a/Makefile.am Thu Oct 27 06:23:54 2016 +0100 +++ b/Makefile.am Thu Oct 27 07:01:33 2016 +0100 @@ -371,7 +371,7 @@ # Patch list -ICEDTEA_PATCHES = +ICEDTEA_PATCHES = patches/pr3211.patch # Conditional patches diff -r cebac2cc1f7a -r 18f2aec9b670 NEWS --- a/NEWS Thu Oct 27 06:23:54 2016 +0100 +++ b/NEWS Thu Oct 27 07:01:33 2016 +0100 @@ -62,6 +62,7 @@ * AArch64 port - S8157306, PR3209: Random infrequent null pointer exceptions in javac - S8167200: AArch64: Broken stack pointer adjustment in interpreter + - PR3211: AArch64 build fails with pre-compiled headers disabled New in release 2.6.7 (2016-07-28): diff -r cebac2cc1f7a -r 18f2aec9b670 patches/pr3211.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/pr3211.patch Thu Oct 27 07:01:33 2016 +0100 @@ -0,0 +1,33 @@ +# HG changeset patch +# User andrew +# Date 1477547871 -3600 +# Thu Oct 27 06:57:51 2016 +0100 +# Node ID f23cc792224c21431b71da6a31ab751ac6f5c236 +# Parent 76e61db9631544414570a5238b66c12465e6a821 +PR3211: AArch64 build fails with pre-compiled headers disabled +Contributed-by: Tiago Stürmer Daitx + +diff --git a/src/cpu/aarch64/vm/assembler_aarch64.cpp b/src/cpu/aarch64/vm/assembler_aarch64.cpp +--- openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp ++++ openjdk/hotspot/src/cpu/aarch64/vm/assembler_aarch64.cpp +@@ -64,6 +64,7 @@ + #include "gc_implementation/g1/heapRegion.hpp" + #endif + ++#include "opto/compile.hpp" + + extern "C" void entry(CodeBuffer *cb); + +diff --git a/src/cpu/aarch64/vm/vm_version_aarch64.cpp b/src/cpu/aarch64/vm/vm_version_aarch64.cpp +--- openjdk/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp ++++ openjdk/hotspot/src/cpu/aarch64/vm/vm_version_aarch64.cpp +@@ -25,6 +25,9 @@ + */ + + #include "precompiled.hpp" ++#include "asm/assembler.hpp" ++#include "asm/assembler.inline.hpp" ++#include "utilities/sizes.hpp" + #include "assembler_aarch64.hpp" + #include "memory/resourceArea.hpp" + #include "runtime/java.hpp"