view patches/pr3211.patch @ 2896:18f2aec9b670

PR3211: AArch64 build fails with pre-compiled headers disabled 2016-10-26 Andrew John Hughes <gnu.andrew@member.fsf.org> 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.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Thu, 27 Oct 2016 07:01:33 +0100
parents
children
line wrap: on
line source

# 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 <tdaitx@gmail.com>

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"