# HG changeset patch # User Andrew John Hughes # Date 1482964004 0 # Node ID 31cd20a94f67fc58f2dbc043a5da81d0e571b70c # Parent 4034994bef71577a7abfda3bff47fce9f395ed61 PR3152: Zero build fails with pch disabled 2016-12-28 Andrew John Hughes PR3152: Zero build fails with pch disabled * Makefile.am: (ICEDTEA_PATCHES): Add new patch. * NEWS: Updated. * patches/openjdk/8078628-pr3152-zero_pch_failure.patch: Backport patch from b41 to fix Zero build failure when building without pre-compiled headers. diff -r 4034994bef71 -r 31cd20a94f67 ChangeLog --- a/ChangeLog Fri Dec 23 18:52:53 2016 +0000 +++ b/ChangeLog Wed Dec 28 22:26:44 2016 +0000 @@ -1,3 +1,13 @@ +2016-12-28 Andrew John Hughes + + PR3152: Zero build fails with pch disabled + * Makefile.am: + (ICEDTEA_PATCHES): Add new patch. + * NEWS: Updated. + * patches/openjdk/8078628-pr3152-zero_pch_failure.patch: + Backport patch from b41 to fix Zero build failure when + building without pre-compiled headers. + 2016-12-23 Andrew John Hughes PR3205: Builds fails with pch disabled diff -r 4034994bef71 -r 31cd20a94f67 Makefile.am --- a/Makefile.am Fri Dec 23 18:52:53 2016 +0000 +++ b/Makefile.am Wed Dec 28 22:26:44 2016 +0000 @@ -642,7 +642,8 @@ patches/openjdk/6260348-pr3068.patch \ patches/openjdk/6961123-pr2975.patch \ patches/pr2800-missing_resources.patch \ - patches/openjdk/8169448-pr3205-pch_failure.patch + patches/openjdk/8169448-pr3205-pch_failure.patch \ + patches/openjdk/8078628-pr3152-zero_pch_failure.patch if WITH_RHINO ICEDTEA_PATCHES += \ diff -r 4034994bef71 -r 31cd20a94f67 NEWS --- a/NEWS Fri Dec 23 18:52:53 2016 +0000 +++ b/NEWS Wed Dec 28 22:26:44 2016 +0000 @@ -34,6 +34,7 @@ - PR2957: Build bootstrap code (rt-class-files.stamp) using bootstrap flags (source/target 1.5) - PR3139: Update documentation - PR3143: Fix typo in --with-openjdk-src-dir introduced by PR3139 + - PR3152: Zero build fails with pch disabled - PR3205: Builds fails with pch disabled New in release 1.13.12 (2016-08-24): diff -r 4034994bef71 -r 31cd20a94f67 patches/openjdk/8078628-pr3152-zero_pch_failure.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/openjdk/8078628-pr3152-zero_pch_failure.patch Wed Dec 28 22:26:44 2016 +0000 @@ -0,0 +1,49 @@ +# HG changeset patch +# User andrew +# Date 1482709933 0 +# Sun Dec 25 23:52:13 2016 +0000 +# Node ID 1ae05a34e052d1672b4a7894ddf5fc2f662eb861 +# Parent 598f4f521889aadf7abccaf0634e9cd0d8b75599 +8078628: Zero build fails with pre-compiled headers disabled +Summary: Add missing includes to make Zero builds without pre-compiled headers work +Reviewed-by: omajid + +diff -Nru openjdk.orig/hotspot/src/cpu/zero/vm/entry_zero.hpp openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp +--- openjdk.orig/hotspot/src/cpu/zero/vm/entry_zero.hpp 2016-08-22 15:02:02.000000000 +0100 ++++ openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp 2016-12-26 02:36:46.775167402 +0000 +@@ -1,6 +1,6 @@ + /* + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +- * Copyright 2008, 2009, 2010 Red Hat, Inc. ++ * Copyright 2016 Red Hat, Inc. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it +@@ -26,6 +26,8 @@ + #ifndef CPU_ZERO_VM_ENTRY_ZERO_HPP + #define CPU_ZERO_VM_ENTRY_ZERO_HPP + ++#include "interpreter/cppInterpreter.hpp" ++ + class ZeroEntry { + public: + ZeroEntry() { +diff -Nru openjdk.orig/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp openjdk/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp +--- openjdk.orig/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp 2016-08-22 15:02:03.000000000 +0100 ++++ openjdk/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp 2016-12-26 02:36:46.775167402 +0000 +@@ -1,6 +1,6 @@ + /* + * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. +- * Copyright 2008 Red Hat, Inc. ++ * Copyright 2016 Red Hat, Inc. + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it +@@ -25,6 +25,7 @@ + + #include "precompiled.hpp" + #include "assembler_zero.inline.hpp" ++#include "entry_zero.hpp" + #include "memory/resourceArea.hpp" + #include "nativeInst_zero.hpp" + #include "oops/oop.inline.hpp"