summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-release-172b11-common.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-release-172b11-common.inc146
1 files changed, 0 insertions, 146 deletions
diff --git a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc b/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
deleted file mode 100644
index f50b494..0000000
--- a/recipes-core/openjdk/openjdk-8-release-172b11-common.inc
+++ /dev/null
@@ -1,146 +0,0 @@
1PATCHES_URI = "\
2 file://remove-shell-variables-from-autoheader.patch;striplevel=0 \
3 file://filter-aclocal-copy-too.patch;striplevel=0 \
4 file://dont-expect-fqpn-for-make.patch;striplevel=0 \
5 file://openjdk8-no-genx11-in-headless.patch;striplevel=0 \
6 file://openjdk8-no-unused-deps.patch;striplevel=0 \
7 file://openjdk8-find-compiler-fix-env-respect.patch;striplevel=0 \
8 file://openjdk8-prevent-debuginfo-in-favour-of-openembedded-package-split.patch;striplevel=0 \
9 file://0001-jdk-comparison-between-pointer-and-integer.patch \
10 file://0002-hotspot-fix-compilation-with-security-flags-enabled.patch \
11 file://0003-jdk-Allow-using-a-system-installed-libjpeg.patch \
12 file://0004-jdk-Allow-using-a-system-installed-libpng.patch \
13 file://0005-hotspot-use-correct-include-for-poll.patch \
14 file://0006-hotspot-don-t-rely-on-old-SysV-SIGCLD.patch \
15 file://0007-jdk-use-correct-include-for-poll.patch \
16 file://0008-jdk-use-correct-include-for-signal.patch \
17 file://0009-jdk-disable-backtrace-musl-build-fix.patch \
18 file://0010-build-fix-build-on-as-needed-toolchains-generic.patch \
19 file://0011-hotspot-backport-patch-to-fix-misuses-of-strncpy-str.patch \
20 ${HOTSPOT_UB_PATCH} \
21 ${LIBPNG_NEON_PATCH} \
22 file://handle_extra_output.patch \
23 file://hotspot-handle-gcc7-format-overflow.patch \
24 file://0001-hotspot-fix-crash-on-JNI_CreateJavaVM.patch \
25"
26HOTSPOT_UB_PATCH = "\
27 file://0014-hotspot-zero-fix-undefined-behaviour-gcc-v8-fix.patch \
28 file://0015-hotspot-fix-Wreturn-type-issues-introduced-by-806165.patch \
29 file://0016-hotspot-Zero-build-requires-disabled-warnings.patch \
30 file://0017-hotspot-Missing-return-statement-in-__sync_val_compa.patch \
31 file://0018-hotspot-Fix-debug-build-after-8062808-Turn-on-the-Wr.patch \
32 file://0019-hotspot-Turn-on-the-Wreturn-type-warning.patch \
33 file://0020-Enable-HotSpot-builds-on-5.x-Linux-kernels.patch \
34"
35HOTSPOT_UB_PATCH_prepend_aarch64 = "\
36 file://0012-hotspot-aarch64-fix-undefined-behaviour-gcc-v8-fix.patch \
37 file://0013-hotspot-aarch64-Fix-further-functions-with-a-missing.patch \
38"
39HOTSPOT_UB_PATCH_append_armv7a = " file://0001-hotspot-aarch32-fix-missing-return-values.patch"
40HOTSPOT_UB_PATCH_append_armv7ve = " file://0001-hotspot-aarch32-fix-missing-return-values.patch"
41# some patches extracted from http://cr.openjdk.java.net/~rkennke/shark-build-hotspot/webrev.01/hotspot.patch
42# reported via http://mail.openjdk.java.net/pipermail/build-dev/2015-January/013972.html
43# by Roman Kennke (rkennke at redhat.com)
44LIBPNG_NEON_PATCH = "file://openjdk8-fix-libpng-neon-build.patch;striplevel=0"
45LIBPNG_NEON_PATCH_aarch64 = ""
46
47PATCHES_URI_append_class-target = "\
48 file://openjdk8-restrict-to-staging-dir.patch;striplevel=0 \
49 file://openjdk8-fix-shark-build-common.patch;striplevel=0 \
50 ${FIX_SHARK_BUILD_PT2_PATCH} \
51 file://openjdk8-fix-shark-stdc++11.patch;striplevel=0 \
52 file://openjdk8-fix-assembler-flag-handling-in-makefile.patch;striplevel=0 \
53 file://openjdk8-fix-adlc-flags.patch;striplevel=0 \
54 file://openjdk8-add-missing-linker-flags.patch;striplevel=0 \
55"
56FIX_SHARK_BUILD_PT2_PATCH = "file://openjdk8-fix-shark-build-pt2.patch;striplevel=0"
57FIX_SHARK_BUILD_PT2_PATCH_armv7a = "file://openjdk8-fix-shark-build-pt2-aarch32.patch;striplevel=0"
58FIX_SHARK_BUILD_PT2_PATCH_armv7ve = "file://openjdk8-fix-shark-build-pt2-aarch32.patch;striplevel=0"
59
60PATCHES_URI_append_libc-musl = "\
61 ${OBSOLETE_ISNANF_PATCH} \
62 file://musl-0002-jdk-give-a-much-bigger-buffer-to-getmntent_r.patch \
63 file://musl-0003-jdk-fix-libjvm-load-on-musl-set-LD_LIBRARY_PATH.patch \
64 file://musl-0004-jdk-remove-sysctl.h-include-musl-build-fix.patch \
65 file://musl-0005-hotspot-disable-agent-build-common.patch \
66 ${DISABLE_AGENT_BUILD_PT2} \
67 file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-common.patch \
68 ${REMOVE_GLIBC_DEPENDENCIES_PT2} \
69 file://musl-0007-hotspot-os_linux_x86-remove-glibc-dependencies-fpu_c.patch \
70 file://musl-0008-jdk-musl-build-fix-use-SIGRTMAX-rather-than-__SIGRTM.patch \
71 file://musl-0009-jdk-musl-has-gethostby_r.patch \
72"
73OBSOLETE_ISNANF_PATCH = "file://musl-0001-hotspot-stop-using-obsolete-isnanf.patch"
74OBSOLETE_ISNANF_PATCH_armv7a = ""
75OBSOLETE_ISNANF_PATCH_armv7ve = ""
76DISABLE_AGENT_BUILD_PT2 = "file://musl-0005-hotspot-disable-agent-build-pt2.patch"
77DISABLE_AGENT_BUILD_PT2_armv7a = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch"
78DISABLE_AGENT_BUILD_PT2_armv7ve = "file://musl-0005-hotspot-disable-agent-build-pt2-aarch32.patch"
79REMOVE_GLIBC_DEPENDENCIES_PT2 = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2.patch"
80REMOVE_GLIBC_DEPENDENCIES_PT2_armv7a = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch"
81REMOVE_GLIBC_DEPENDENCIES_PT2_armv7ve = "file://musl-0006-hotspot-os_linux-remove-glibc-dependencies-pt2-aarch.patch"
82
83PATCHES_URI_append_libc-musl_armv7a = " file://hotspot-remaining-musl-fixes-aarch32.patch"
84PATCHES_URI_append_libc-musl_armv7ve = " file://hotspot-remaining-musl-fixes-aarch32.patch"
85PATCHES_URI_append_libc-musl_aarch64 = " file://hotspot-remaining-musl-fixes-aarch64.patch"
86
87# Name of the directory containing the compiled output
88BUILD_DIR = "openjdk.build"
89BUILD_DIR_ECJ = "openjdk.build-ecj"
90
91# Force arm mode for now
92ARM_INSTRUCTION_SET_armv4t = "ARM"
93
94# readdir_r was deprecated in glibc-2.24. Ignore the error for now
95# NOTE: When updating the recipe, please check if this is still needed
96BUILD_CFLAGS_append = " -Wno-error=deprecated-declarations"
97TARGET_CFLAGS_append = " -Wno-error=deprecated-declarations"
98
99# WORKAROUND: disable the "specified bound depends on the length of the source argument"
100# compiler error until we update openjdk8 to a fixed version
101BUILD_CFLAGS_append = " -Wno-error=stringop-overflow"
102TARGET_CFLAGS_append = " -Wno-error=stringop-overflow"
103
104# Enable zero mode for arm based builds, as normal hotspot fails to build
105PACKAGECONFIG_append_armv4 = " zero"
106PACKAGECONFIG_append_armv5 = " zero"
107PACKAGECONFIG_append_armv6 = " zero"
108
109OPENJDK_ARCH_PORT = "jdk8u"
110OPENJDK_ARCH_PORT_aarch64 = "aarch64-port"
111OPENJDK_ARCH_PORT_armv7a = "aarch32-port"
112OPENJDK_ARCH_PORT_armv7ve = "aarch32-port"
113OPENJDK_HG_U = "jdk8u"
114OPENJDK_HG_URL = "http://hg.openjdk.java.net/${OPENJDK_ARCH_PORT}/${OPENJDK_HG_U}"
115
116OPENJDK_FILE = "${OPENJDK_CHANGESET}.tar.bz2"
117OPENJDK_FILE_LOCAL = "openjdk8-${PV}-jdk8u-${OPENJDK_FILE}"
118OPENJDK_URI = "${OPENJDK_HG_URL}/archive/${OPENJDK_FILE};downloadfilename=${OPENJDK_FILE_LOCAL};name=openjdk"
119
120HOTSPOT_FILE = "${HOTSPOT_CHANGESET}.tar.bz2"
121HOTSPOT_FILE_LOCAL = "openjdk8-${PV}-hotspot-${HOTSPOT_FILE}"
122HOTSPOT_URI = "${OPENJDK_HG_URL}/hotspot/archive/${HOTSPOT_FILE};downloadfilename=${HOTSPOT_FILE_LOCAL};name=hotspot;unpack=false"
123
124CORBA_FILE = "${CORBA_CHANGESET}.tar.bz2"
125CORBA_FILE_LOCAL = "openjdk8-${PV}-corba-${CORBA_FILE}"
126CORBA_URI = "${OPENJDK_HG_URL}/corba/archive/${CORBA_FILE};downloadfilename=${CORBA_FILE_LOCAL};name=corba;unpack=false"
127
128JAXP_FILE = "${JAXP_CHANGESET}.tar.bz2"
129JAXP_FILE_LOCAL = "openjdk8-${PV}-jaxp-${JAXP_FILE}"
130JAXP_URI = "${OPENJDK_HG_URL}/jaxp/archive/${JAXP_FILE};downloadfilename=${JAXP_FILE_LOCAL};name=jaxp;unpack=false"
131
132JAXWS_FILE = "${JAXWS_CHANGESET}.tar.bz2"
133JAXWS_FILE_LOCAL = "openjdk8-${PV}-jaxws-${JAXWS_FILE}"
134JAXWS_URI = "${OPENJDK_HG_URL}/jaxws/archive/${JAXWS_FILE};downloadfilename=${JAXWS_FILE_LOCAL};name=jaxws;unpack=false"
135
136JDK_FILE = "${JDK_CHANGESET}.tar.bz2"
137JDK_FILE_LOCAL = "openjdk8-${PV}-jdk-${JDK_FILE}"
138JDK_URI = "${OPENJDK_HG_URL}/jdk/archive/${JDK_FILE};downloadfilename=${JDK_FILE_LOCAL};name=jdk;unpack=false"
139
140LANGTOOLS_FILE = "${LANGTOOLS_CHANGESET}.tar.bz2"
141LANGTOOLS_FILE_LOCAL = "openjdk8-${PV}-langtools-${LANGTOOLS_FILE}"
142LANGTOOLS_URI = "${OPENJDK_HG_URL}/langtools/archive/${LANGTOOLS_FILE};downloadfilename=${LANGTOOLS_FILE_LOCAL};name=langtools;unpack=false"
143
144NASHORN_FILE = "${NASHORN_CHANGESET}.tar.bz2"
145NASHORN_FILE_LOCAL = "openjdk8-${PV}-nashorn-${NASHORN_FILE}"
146NASHORN_URI = "${OPENJDK_HG_URL}/nashorn/archive/${NASHORN_FILE};downloadfilename=${NASHORN_FILE_LOCAL};name=nashorn;unpack=false"