diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-10-16 19:29:38 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-10-19 10:12:53 -0200 |
commit | 2dcff5266a6c1ed39e49b24b8d2984a165ad9c35 (patch) | |
tree | 86757e1611e29bc17a3decf678f2c5e25c2ed0a6 /recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch | |
parent | a73939323984fca1e919d3408d3301ccdbceac9c (diff) | |
download | meta-java-2dcff5266a6c1ed39e49b24b8d2984a165ad9c35.tar.gz |
openjdk-6: remove
Since OpenJDK-6 is not maintained anymore, it's more reasonable to move to OpenJDK-8 instead
of sticking at unmaintained, upstream not supported VM version.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch | 229 |
1 files changed, 0 insertions, 229 deletions
diff --git a/recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch b/recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch deleted file mode 100644 index 6ec83bb..0000000 --- a/recipes-core/openjdk/openjdk-6/icedtea-crosscompile-fix.patch +++ /dev/null | |||
@@ -1,229 +0,0 @@ | |||
1 | Index: openjdk/jdk/make/sun/awt/Makefile | ||
2 | =================================================================== | ||
3 | --- openjdk.orig/jdk/make/sun/awt/Makefile 2009-01-24 17:54:57.000000000 +0100 | ||
4 | +++ openjdk/jdk/make/sun/awt/Makefile 2009-01-24 17:55:07.000000000 +0100 | ||
5 | @@ -509,10 +509,10 @@ | ||
6 | # | ||
7 | |||
8 | ifeq ($(PLATFORM), linux) | ||
9 | -CPPFLAGS += -I$(MOTIF_DIR)/include \ | ||
10 | - -I$(OPENWIN_HOME)/include \ | ||
11 | - -I$(OPENWIN_HOME)/include/X11/extensions \ | ||
12 | - -I$(PLATFORM_SRC)/native/$(PKGDIR)/font | ||
13 | +#CPPFLAGS += -I$(MOTIF_DIR)/include \ | ||
14 | +# -I$(OPENWIN_HOME)/include \ | ||
15 | +# -I$(OPENWIN_HOME)/include/X11/extensions \ | ||
16 | +CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/font | ||
17 | endif | ||
18 | CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \ | ||
19 | -I$(SHARE_SRC)/native/$(PKGDIR)/../font \ | ||
20 | @@ -536,7 +536,7 @@ | ||
21 | $(EVENT_MODEL) | ||
22 | |||
23 | ifeq ($(PLATFORM), linux) | ||
24 | -LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) | ||
25 | +#LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) | ||
26 | endif | ||
27 | |||
28 | LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \ | ||
29 | Index: openjdk/jdk/make/sun/awt/mawt.gmk | ||
30 | =================================================================== | ||
31 | --- openjdk.orig/jdk/make/sun/awt/mawt.gmk 2009-01-24 17:54:57.000000000 +0100 | ||
32 | +++ openjdk/jdk/make/sun/awt/mawt.gmk 2009-01-24 17:55:07.000000000 +0100 | ||
33 | @@ -194,8 +194,8 @@ | ||
34 | CPPFLAGS += -I$(CUPS_HEADERS_PATH) | ||
35 | |||
36 | ifndef HEADLESS | ||
37 | -CPPFLAGS += -I$(OPENWIN_HOME)/include | ||
38 | -LDFLAGS += -L$(OPENWIN_LIB) | ||
39 | +#CPPFLAGS += -I$(OPENWIN_HOME)/include | ||
40 | +#LDFLAGS += -L$(OPENWIN_LIB) | ||
41 | |||
42 | endif # !HEADLESS | ||
43 | |||
44 | @@ -223,8 +223,8 @@ | ||
45 | |||
46 | ifeq ($(PLATFORM), linux) | ||
47 | # Checking for the X11/extensions headers at the additional location | ||
48 | - CPPFLAGS += -I/X11R6/include/X11/extensions \ | ||
49 | - -I/usr/include/X11/extensions | ||
50 | +# CPPFLAGS += -I/X11R6/include/X11/extensions \ | ||
51 | +# -I/usr/include/X11/extensions | ||
52 | endif | ||
53 | |||
54 | ifeq ($(PLATFORM), solaris) | ||
55 | Index: openjdk/jdk/make/sun/xawt/Makefile | ||
56 | =================================================================== | ||
57 | --- openjdk.orig/jdk/make/sun/xawt/Makefile 2009-01-24 17:54:57.000000000 +0100 | ||
58 | +++ openjdk/jdk/make/sun/xawt/Makefile 2009-01-24 17:55:07.000000000 +0100 | ||
59 | @@ -123,11 +123,12 @@ | ||
60 | -I$(PLATFORM_SRC)/native/sun/awt | ||
61 | |||
62 | ifeq ($(PLATFORM), linux) | ||
63 | +# Very unsuitable for cross-compilation. | ||
64 | # Allows for builds on Debian GNU Linux, X11 is in a different place | ||
65 | - CPPFLAGS += -I/usr/X11R6/include/X11/extensions \ | ||
66 | - -I/usr/include/X11/extensions \ | ||
67 | - -I$(MOTIF_DIR)/include \ | ||
68 | - -I$(OPENWIN_HOME)/include | ||
69 | +# CPPFLAGS += -I/usr/X11R6/include/X11/extensions \ | ||
70 | +# -I/usr/include/X11/extensions \ | ||
71 | +# -I$(MOTIF_DIR)/include \ | ||
72 | +# -I$(OPENWIN_HOME)/include | ||
73 | endif | ||
74 | |||
75 | ifeq ($(PLATFORM), solaris) | ||
76 | Index: openjdk/hotspot/make/linux/makefiles/vm.make | ||
77 | =================================================================== | ||
78 | --- openjdk.orig/hotspot/make/linux/makefiles/vm.make 2009-01-24 17:54:57.000000000 +0100 | ||
79 | +++ openjdk/hotspot/make/linux/makefiles/vm.make 2009-01-24 17:55:07.000000000 +0100 | ||
80 | @@ -170,6 +170,7 @@ | ||
81 | LIBS_VM += $(LLVM_LIBS) | ||
82 | endif | ||
83 | |||
84 | +LFLAGS_VM += $(OE_LDFLAGS) | ||
85 | LINK_VM = $(LINK_LIB.c) | ||
86 | |||
87 | # rule for building precompiled header | ||
88 | Index: openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
89 | =================================================================== | ||
90 | --- openjdk.orig/hotspot/make/linux/makefiles/buildtree.make 2009-01-24 17:54:57.000000000 +0100 | ||
91 | +++ openjdk/hotspot/make/linux/makefiles/buildtree.make 2009-01-24 17:55:07.000000000 +0100 | ||
92 | @@ -343,7 +343,7 @@ | ||
93 | echo "rm -f Queens.class"; \ | ||
94 | echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \ | ||
95 | echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \ | ||
96 | - echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \ | ||
97 | + echo 'echo Silently skipping the execution of the gamma program'; \ | ||
98 | ) > $@ | ||
99 | $(QUIETLY) chmod +x $@ | ||
100 | |||
101 | Index: openjdk/corba/make/common/Defs-linux.gmk | ||
102 | =================================================================== | ||
103 | --- openjdk.orig/corba/make/common/Defs-linux.gmk 2009-01-24 17:54:57.000000000 +0100 | ||
104 | +++ openjdk/corba/make/common/Defs-linux.gmk 2009-01-24 17:55:07.000000000 +0100 | ||
105 | @@ -82,9 +82,9 @@ | ||
106 | CC_NO_OPT = | ||
107 | |||
108 | ifeq ($(PRODUCT), java) | ||
109 | - _OPT = $(CC_HIGHER_OPT) | ||
110 | + _OPT = $(OE_CFLAGS) | ||
111 | else | ||
112 | - _OPT = $(CC_LOWER_OPT) | ||
113 | + _OPT = $(OE_CFLAGS) | ||
114 | CPPFLAGS_DBG += -DLOGGING | ||
115 | endif | ||
116 | |||
117 | @@ -94,7 +94,7 @@ | ||
118 | # as the default. | ||
119 | CFLAGS_REQUIRED_alpha += -mieee -D_LITTLE_ENDIAN | ||
120 | CFLAGS_REQUIRED_amd64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
121 | -CFLAGS_REQUIRED_arm += -D_LITTLE_ENDIAN | ||
122 | +CFLAGS_REQUIRED_arm += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
123 | CFLAGS_REQUIRED_hppa += | ||
124 | CFLAGS_REQUIRED_i586 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
125 | CFLAGS_REQUIRED_ia64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
126 | @@ -221,7 +221,7 @@ | ||
127 | # | ||
128 | # -L paths for finding and -ljava | ||
129 | # | ||
130 | -LDFLAGS_OPT = -Xlinker -O1 | ||
131 | +LDFLAGS_OPT = $(OE_LDFLAGS) | ||
132 | LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) | ||
133 | LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) | ||
134 | |||
135 | Index: openjdk/jdk/make/common/Defs-linux.gmk | ||
136 | =================================================================== | ||
137 | --- openjdk.orig/jdk/make/common/Defs-linux.gmk 2009-01-24 17:54:57.000000000 +0100 | ||
138 | +++ openjdk/jdk/make/common/Defs-linux.gmk 2009-01-24 17:55:07.000000000 +0100 | ||
139 | @@ -92,9 +92,9 @@ | ||
140 | CC_NO_OPT = | ||
141 | |||
142 | ifeq ($(PRODUCT), java) | ||
143 | - _OPT = $(CC_HIGHER_OPT) | ||
144 | + _OPT = $(OE_CFLAGS) | ||
145 | else | ||
146 | - _OPT = $(CC_LOWER_OPT) | ||
147 | + _OPT = $(OE_CFLAGS) | ||
148 | CPPFLAGS_DBG += -DLOGGING | ||
149 | endif | ||
150 | |||
151 | @@ -104,7 +104,7 @@ | ||
152 | # as the default. | ||
153 | CFLAGS_REQUIRED_alpha += -mieee -D_LITTLE_ENDIAN | ||
154 | CFLAGS_REQUIRED_amd64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
155 | -CFLAGS_REQUIRED_arm += -D_LITTLE_ENDIAN | ||
156 | +CFLAGS_REQUIRED_arm += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
157 | CFLAGS_REQUIRED_hppa += | ||
158 | CFLAGS_REQUIRED_i586 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
159 | CFLAGS_REQUIRED_ia64 += -fno-omit-frame-pointer -D_LITTLE_ENDIAN | ||
160 | @@ -231,7 +231,7 @@ | ||
161 | # | ||
162 | # -L paths for finding and -ljava | ||
163 | # | ||
164 | -LDFLAGS_OPT = -Xlinker -O1 | ||
165 | +LDFLAGS_OPT = $(OE_LDFLAGS) | ||
166 | LDFLAGS_COMMON += -L$(LIBDIR)/$(LIBARCH) | ||
167 | LDFLAGS_COMMON += -Wl,-soname=$(LIB_PREFIX)$(LIBRARY).$(LIBRARY_SUFFIX) | ||
168 | |||
169 | Index: openjdk/hotspot/make/linux/makefiles/gcc.make | ||
170 | =================================================================== | ||
171 | --- openjdk.orig/hotspot/make/linux/makefiles/gcc.make 2009-01-24 17:54:57.000000000 +0100 | ||
172 | +++ openjdk/hotspot/make/linux/makefiles/gcc.make 2009-01-24 17:55:07.000000000 +0100 | ||
173 | @@ -119,7 +119,7 @@ | ||
174 | CFLAGS_WARN/BYFILE = $(CFLAGS_WARN/$@)$(CFLAGS_WARN/DEFAULT$(CFLAGS_WARN/$@)) | ||
175 | |||
176 | # The flags to use for an Optimized g++ build | ||
177 | -OPT_CFLAGS += -O3 | ||
178 | +OPT_CFLAGS += $(OE_CFLAGS) | ||
179 | |||
180 | # Hotspot uses very unstrict aliasing turn this optimization off | ||
181 | OPT_CFLAGS += -fno-strict-aliasing | ||
182 | @@ -148,7 +148,7 @@ | ||
183 | endif | ||
184 | |||
185 | # Enable linker optimization | ||
186 | -LFLAGS += -Xlinker -O1 | ||
187 | +LFLAGS += $(OE_LDFLAGS) | ||
188 | |||
189 | # Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file. | ||
190 | MAPFLAG = -Xlinker --version-script=FILENAME | ||
191 | Index: openjdk/hotspot/make/linux/makefiles/launcher.make | ||
192 | =================================================================== | ||
193 | --- openjdk.orig/hotspot/make/linux/makefiles/launcher.make 2009-01-24 17:55:19.000000000 +0100 | ||
194 | +++ openjdk/hotspot/make/linux/makefiles/launcher.make 2009-01-24 17:56:05.000000000 +0100 | ||
195 | @@ -44,7 +44,7 @@ | ||
196 | LIBS_LAUNCHER += $(STATIC_STDCXX) $(LIBS) | ||
197 | else | ||
198 | LAUNCHER.o = launcher.o | ||
199 | - LFLAGS_LAUNCHER += -L `pwd` | ||
200 | + LFLAGS_LAUNCHER += -L `pwd` $(OE_LAUNCHER_LDFLAGS) $(OE_LDFLAGS) | ||
201 | LIBS_LAUNCHER += -l$(JVM) $(LIBS) -lstdc++ | ||
202 | endif | ||
203 | |||
204 | Index: icedtea6-1.8.5/build/openjdk/jdk/make/sun/xawt/Makefile | ||
205 | =================================================================== | ||
206 | --- openjdk/jdk/make/sun/xawt/Makefile 2011-03-14 14:17:03.926207269 +0100 | ||
207 | +++ openjdk/jdk/make/sun/xawt/Makefile 2011-03-14 14:30:11.956186631 +0100 | ||
208 | @@ -245,7 +245,7 @@ | ||
209 | $(CHMOD) +w $@;\ | ||
210 | else \ | ||
211 | $(ECHO) GENERATING $@; \ | ||
212 | - $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \ | ||
213 | + $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \ | ||
214 | fi | ||
215 | @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \ | ||
216 | $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \ | ||
217 | Index: openjdk/hotspot/make/linux/makefiles/jsig.make | ||
218 | =================================================================== | ||
219 | --- openjdk/hotspot/make/linux/makefiles/jsig.make 2010-02-17 04:11:04.000000000 +0100 | ||
220 | +++ openjdk/hotspot/make/linux/makefiles/jsig.make 2011-11-18 22:56:03.923900991 +0100 | ||
221 | @@ -39,7 +39,7 @@ | ||
222 | # cause problems with interposing. See CR: 6466665 | ||
223 | # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE)) | ||
224 | |||
225 | -LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT | ||
226 | +LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(OE_LDFLAGS) | ||
227 | |||
228 | # DEBUG_BINARIES overrides everything, use full -g debug information | ||
229 | ifeq ($(DEBUG_BINARIES), true) | ||