diff options
9 files changed, 0 insertions, 2115 deletions
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/build-hacks-native.patch b/recipes-core/icedtea/icedtea6-native-1.8/build-hacks-native.patch deleted file mode 100644 index 9432d03..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/build-hacks-native.patch +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | Index: icedtea6-1.6.1/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- icedtea6-1.6.1.orig/Makefile.am 2009-12-24 11:38:06.582572265 +0100 | ||
| 4 | +++ icedtea6-1.6.1/Makefile.am 2009-12-24 11:57:27.159578486 +0100 | ||
| 5 | @@ -265,6 +265,10 @@ | ||
| 6 | FT2_LIB="$(FREETYPE2_LIBS)" \ | ||
| 7 | ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \ | ||
| 8 | HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" \ | ||
| 9 | + OE_CFLAGS="$(OE_CFLAGS)" \ | ||
| 10 | + OE_CPPFLAGS="$(OE_CPPFLAGS)" \ | ||
| 11 | + OE_CXXFLAGS="$(OE_CXXFLAGS)" \ | ||
| 12 | + OE_LDFLAGS="$(OE_LDFLAGS)" \ | ||
| 13 | JAVAC="" \ | ||
| 14 | RHINO_JAR="$(RHINO_JAR)" \ | ||
| 15 | JAR_KNOWS_ATFILE="$(JAR_KNOWS_ATFILE)" \ | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/disable-library-checks.patch b/recipes-core/icedtea/icedtea6-native-1.8/disable-library-checks.patch deleted file mode 100644 index 23b8bed..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/disable-library-checks.patch +++ /dev/null | |||
| @@ -1,141 +0,0 @@ | |||
| 1 | Index: icedtea6-1.7/configure.ac | ||
| 2 | =================================================================== | ||
| 3 | --- icedtea6-1.7.orig/configure.ac 2010-01-26 04:52:18.000000000 +0100 | ||
| 4 | +++ icedtea6-1.7/configure.ac 2010-02-08 12:05:51.354556052 +0100 | ||
| 5 | @@ -205,9 +205,9 @@ | ||
| 6 | fi | ||
| 7 | |||
| 8 | dnl pkgconfig cannot be used to find these headers and libraries. | ||
| 9 | -AC_CHECK_HEADERS([cups/cups.h cups/ppd.h],[] | ||
| 10 | - ,[AC_MSG_ERROR("CUPS headers were not found - | ||
| 11 | - try installing cups-devel.")]) | ||
| 12 | +#AC_CHECK_HEADERS([cups/cups.h cups/ppd.h],[] | ||
| 13 | +# ,[AC_MSG_ERROR("CUPS headers were not found - | ||
| 14 | +# try installing cups-devel.")]) | ||
| 15 | AC_CHECK_HEADERS([X11/X.h],[] | ||
| 16 | ,[AC_MSG_ERROR("xorg headers were not found - | ||
| 17 | try installing xorg-x11-proto-devel.")]) | ||
| 18 | @@ -239,12 +239,12 @@ | ||
| 19 | AC_SUBST(XT_LIBS) | ||
| 20 | |||
| 21 | dnl Check for libXp headers and libraries. | ||
| 22 | -PKG_CHECK_MODULES(XP, xp,[XP_FOUND=yes],[XP_FOUND=no]) | ||
| 23 | -if test "x${XP_FOUND}" = xno | ||
| 24 | -then | ||
| 25 | - AC_MSG_ERROR([Could not find Xp - \ | ||
| 26 | - Try installing libXp-devel.]) | ||
| 27 | -fi | ||
| 28 | +#PKG_CHECK_MODULES(XP, xp,[XP_FOUND=yes],[XP_FOUND=no]) | ||
| 29 | +#if test "x${XP_FOUND}" = xno | ||
| 30 | +#then | ||
| 31 | +# AC_MSG_ERROR([Could not find Xp - \ | ||
| 32 | +# Try installing libXp-devel.]) | ||
| 33 | +#fi | ||
| 34 | AC_SUBST(XP_CFLAGS) | ||
| 35 | AC_SUBST(XP_LIBS) | ||
| 36 | |||
| 37 | @@ -258,16 +258,16 @@ | ||
| 38 | AC_SUBST(X11_CFLAGS) | ||
| 39 | AC_SUBST(X11_LIBS) | ||
| 40 | |||
| 41 | -dnl Check for libXinerama headers and libraries. | ||
| 42 | -PKG_CHECK_MODULES(XINERAMA, xinerama,[XINERAMA_FOUND=yes] | ||
| 43 | - ,[XINERAMA_FOUND=no]) | ||
| 44 | -if test "x${XINERAMA_FOUND}" = xno | ||
| 45 | -then | ||
| 46 | - AC_MSG_ERROR([Could not find Xinerama - \ | ||
| 47 | - Try installing libXinerama-devel.]) | ||
| 48 | -fi | ||
| 49 | -AC_SUBST(XINERAMA_CFLAGS) | ||
| 50 | -AC_SUBST(XINERAMA_LIBS) | ||
| 51 | +#dnl Check for libXinerama headers and libraries. | ||
| 52 | +#PKG_CHECK_MODULES(XINERAMA, xinerama,[XINERAMA_FOUND=yes] | ||
| 53 | +# ,[XINERAMA_FOUND=no]) | ||
| 54 | +#if test "x${XINERAMA_FOUND}" = xno | ||
| 55 | +#then | ||
| 56 | +# AC_MSG_ERROR([Could not find Xinerama - \ | ||
| 57 | +# Try installing libXinerama-devel.]) | ||
| 58 | +#fi | ||
| 59 | +#AC_SUBST(XINERAMA_CFLAGS) | ||
| 60 | +#AC_SUBST(XINERAMA_LIBS) | ||
| 61 | |||
| 62 | if test "x${ENABLE_XRENDER}" = "xyes" | ||
| 63 | then | ||
| 64 | @@ -341,26 +341,26 @@ | ||
| 65 | AC_CONFIG_FILES([tapset/jstack.stp]) | ||
| 66 | fi | ||
| 67 | |||
| 68 | -dnl Check for libpng headers and libraries. | ||
| 69 | -PKG_CHECK_MODULES(LIBPNG, libpng,[LIBPNG_FOUND=yes] | ||
| 70 | - ,[LIBPNG_FOUND=no]) | ||
| 71 | -if test "x${LIBPNG_FOUND}" = xno | ||
| 72 | -then | ||
| 73 | - AC_MSG_ERROR([Could not find libpng - \ | ||
| 74 | - Try installing libpng-devel.]) | ||
| 75 | -fi | ||
| 76 | -AC_SUBST(LIBPNG_CFLAGS) | ||
| 77 | -AC_SUBST(LIBPNG_LIBS) | ||
| 78 | - | ||
| 79 | -dnl Check for libXtst headers and libraries. | ||
| 80 | -PKG_CHECK_MODULES(XTST, xtst,[XTST_FOUND=yes],[XTST_FOUND=no]) | ||
| 81 | -if test "x${XTST_FOUND}" = xno | ||
| 82 | -then | ||
| 83 | - AC_MSG_ERROR([Could not find Xtst - \ | ||
| 84 | - Try installing libXtst-devel.]) | ||
| 85 | -fi | ||
| 86 | -AC_SUBST(XTST_CFLAGS) | ||
| 87 | -AC_SUBST(XTST_LIBS) | ||
| 88 | +#dnl Check for libpng headers and libraries. | ||
| 89 | +#PKG_CHECK_MODULES(LIBPNG, libpng,[LIBPNG_FOUND=yes] | ||
| 90 | +# ,[LIBPNG_FOUND=no]) | ||
| 91 | +#if test "x${LIBPNG_FOUND}" = xno | ||
| 92 | +#then | ||
| 93 | +# AC_MSG_ERROR([Could not find libpng - \ | ||
| 94 | +# Try installing libpng-devel.]) | ||
| 95 | +#fi | ||
| 96 | +#AC_SUBST(LIBPNG_CFLAGS) | ||
| 97 | +#AC_SUBST(LIBPNG_LIBS) | ||
| 98 | + | ||
| 99 | +#dnl Check for libXtst headers and libraries. | ||
| 100 | +#PKG_CHECK_MODULES(XTST, xtst,[XTST_FOUND=yes],[XTST_FOUND=no]) | ||
| 101 | +#if test "x${XTST_FOUND}" = xno | ||
| 102 | +#then | ||
| 103 | +# AC_MSG_ERROR([Could not find Xtst - \ | ||
| 104 | +# Try installing libXtst-devel.]) | ||
| 105 | +#fi | ||
| 106 | +#AC_SUBST(XTST_CFLAGS) | ||
| 107 | +#AC_SUBST(XTST_LIBS) | ||
| 108 | |||
| 109 | dnl Check for freetype2 headers and libraries. | ||
| 110 | PKG_CHECK_MODULES(FREETYPE2, freetype2,[FREETYPE2_FOUND=yes] | ||
| 111 | @@ -373,18 +373,18 @@ | ||
| 112 | AC_SUBST(FREETYPE2_CFLAGS) | ||
| 113 | AC_SUBST(FREETYPE2_LIBS) | ||
| 114 | |||
| 115 | -dnl Check for alsa headers and libraries (only required for Linux). | ||
| 116 | -if test "x${BUILD_OS_DIR}" = "xlinux" | ||
| 117 | -then | ||
| 118 | - PKG_CHECK_MODULES(ALSA, alsa,[ALSA_FOUND=yes],[ALSA_FOUND=no]) | ||
| 119 | - if test "x${ALSA_FOUND}" = xno | ||
| 120 | - then | ||
| 121 | - AC_MSG_ERROR([Could not find alsa - \ | ||
| 122 | - Try installing alsa-lib-devel.]) | ||
| 123 | - fi | ||
| 124 | -AC_SUBST(ALSA_CFLAGS) | ||
| 125 | -AC_SUBST(ALSA_LIBS) | ||
| 126 | -fi | ||
| 127 | +#dnl Check for alsa headers and libraries (only required for Linux). | ||
| 128 | +#if test "x${BUILD_OS_DIR}" = "xlinux" | ||
| 129 | +#then | ||
| 130 | +# PKG_CHECK_MODULES(ALSA, alsa,[ALSA_FOUND=yes],[ALSA_FOUND=no]) | ||
| 131 | +# if test "x${ALSA_FOUND}" = xno | ||
| 132 | +# then | ||
| 133 | +# AC_MSG_ERROR([Could not find alsa - \ | ||
| 134 | +# Try installing alsa-lib-devel.]) | ||
| 135 | +# fi | ||
| 136 | +#AC_SUBST(ALSA_CFLAGS) | ||
| 137 | +#AC_SUBST(ALSA_LIBS) | ||
| 138 | +#fi | ||
| 139 | |||
| 140 | if test "x${enable_pulse_java}" = "xyes" | ||
| 141 | then | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-disable-compilation.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-disable-compilation.patch deleted file mode 100644 index cd0f68a..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-disable-compilation.patch +++ /dev/null | |||
| @@ -1,513 +0,0 @@ | |||
| 1 | Index: openjdk/jdk/make/sun/awt/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- openjdk.orig/jdk/make/sun/awt/Makefile 2009-04-24 09:33:55.000000000 +0200 | ||
| 4 | +++ openjdk/jdk/make/sun/awt/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 5 | @@ -180,7 +180,8 @@ | ||
| 6 | include $(BUILDDIR)/common/Mapfile-vers.gmk | ||
| 7 | include $(BUILDDIR)/common/Library.gmk | ||
| 8 | |||
| 9 | -build: fontconfigs | ||
| 10 | +#build: fontconfigs | ||
| 11 | +build: | ||
| 12 | |||
| 13 | |||
| 14 | ifeq ($(PLATFORM), windows) | ||
| 15 | @@ -535,9 +536,9 @@ | ||
| 16 | -I$(PLATFORM_SRC)/native/$(PKGDIR) \ | ||
| 17 | $(EVENT_MODEL) | ||
| 18 | |||
| 19 | -ifeq ($(PLATFORM), linux) | ||
| 20 | -LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) | ||
| 21 | -endif | ||
| 22 | +#ifeq ($(PLATFORM), linux) | ||
| 23 | +#LDFLAGS += -L$(MOTIF_LIB) -L$(OPENWIN_LIB) | ||
| 24 | +#endif | ||
| 25 | |||
| 26 | LDFLAGS += -L$(LIBDIR)/$(LIBARCH)/$(TSOBJDIR) \ | ||
| 27 | $(AWT_RUNPATH) | ||
| 28 | Index: openjdk/jdk/make/javax/sound/jsoundalsa/Makefile | ||
| 29 | =================================================================== | ||
| 30 | --- openjdk.orig/jdk/make/javax/sound/jsoundalsa/Makefile 2009-09-29 13:48:34.534565581 +0200 | ||
| 31 | +++ openjdk/jdk/make/javax/sound/jsoundalsa/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 32 | @@ -44,34 +44,35 @@ | ||
| 33 | # Files | ||
| 34 | # | ||
| 35 | |||
| 36 | -FILES_c = \ | ||
| 37 | - Utilities.c \ | ||
| 38 | - $(DAUDIOFILES_c) \ | ||
| 39 | - $(MIDIFILES_c) \ | ||
| 40 | - $(PORTFILES_c) | ||
| 41 | +#FILES_c = \ | ||
| 42 | +# Utilities.c \ | ||
| 43 | +# $(DAUDIOFILES_c) \ | ||
| 44 | +# $(MIDIFILES_c) \ | ||
| 45 | +# $(PORTFILES_c) | ||
| 46 | |||
| 47 | # platform dependent files | ||
| 48 | -FILES_c += \ | ||
| 49 | - PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \ | ||
| 50 | - PLATFORM_API_LinuxOS_ALSA_PCM.c \ | ||
| 51 | - PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \ | ||
| 52 | - PLATFORM_API_LinuxOS_ALSA_MidiIn.c \ | ||
| 53 | - PLATFORM_API_LinuxOS_ALSA_MidiOut.c \ | ||
| 54 | - PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \ | ||
| 55 | - PLATFORM_API_LinuxOS_ALSA_Ports.c | ||
| 56 | - | ||
| 57 | -FILES_export = \ | ||
| 58 | - $(DAUDIOFILES_export) \ | ||
| 59 | - $(MIDIFILES_export) \ | ||
| 60 | - $(PORTFILES_export) | ||
| 61 | +#FILES_c += \ | ||
| 62 | +# PLATFORM_API_LinuxOS_ALSA_CommonUtils.c \ | ||
| 63 | +# PLATFORM_API_LinuxOS_ALSA_PCM.c \ | ||
| 64 | +# PLATFORM_API_LinuxOS_ALSA_PCMUtils.c \ | ||
| 65 | +# PLATFORM_API_LinuxOS_ALSA_MidiIn.c \ | ||
| 66 | +# PLATFORM_API_LinuxOS_ALSA_MidiOut.c \ | ||
| 67 | +# PLATFORM_API_LinuxOS_ALSA_MidiUtils.c \ | ||
| 68 | +# PLATFORM_API_LinuxOS_ALSA_Ports.c | ||
| 69 | + | ||
| 70 | +FILES_export = | ||
| 71 | +#FILES_export = \ | ||
| 72 | +# $(DAUDIOFILES_export) \ | ||
| 73 | +# $(MIDIFILES_export) \ | ||
| 74 | +# $(PORTFILES_export) | ||
| 75 | |||
| 76 | -OTHER_LDLIBS += -lasound | ||
| 77 | +#OTHER_LDLIBS += -lasound | ||
| 78 | |||
| 79 | CPPFLAGS += \ | ||
| 80 | - -DUSE_DAUDIO=TRUE \ | ||
| 81 | - -DUSE_PORTS=TRUE \ | ||
| 82 | - -DUSE_PLATFORM_MIDI_OUT=TRUE \ | ||
| 83 | - -DUSE_PLATFORM_MIDI_IN=TRUE \ | ||
| 84 | + -DUSE_DAUDIO=FALSE \ | ||
| 85 | + -DUSE_PORTS=FALSE \ | ||
| 86 | + -DUSE_PLATFORM_MIDI_OUT=FALSE \ | ||
| 87 | + -DUSE_PLATFORM_MIDI_IN=FALSE \ | ||
| 88 | -I$(SHARE_SRC)/native/com/sun/media/sound | ||
| 89 | |||
| 90 | # | ||
| 91 | Index: openjdk/jdk/make/sun/splashscreen/Makefile | ||
| 92 | =================================================================== | ||
| 93 | --- openjdk.orig/jdk/make/sun/splashscreen/Makefile 2009-09-29 13:48:33.738565601 +0200 | ||
| 94 | +++ openjdk/jdk/make/sun/splashscreen/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 95 | @@ -32,7 +32,8 @@ | ||
| 96 | # | ||
| 97 | # Files | ||
| 98 | # | ||
| 99 | -include FILES_c.gmk | ||
| 100 | +#include FILES_c.gmk | ||
| 101 | +FILES_c = | ||
| 102 | |||
| 103 | FILES_java = \ | ||
| 104 | java/awt/SplashScreen.java | ||
| 105 | @@ -62,9 +63,9 @@ | ||
| 106 | CFLAGS += -DSPLASHSCREEN -DPNG_NO_MMX_CODE | ||
| 107 | |||
| 108 | ifneq ($(PLATFORM), windows) | ||
| 109 | - CFLAGS += -DWITH_X11 | ||
| 110 | - CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions | ||
| 111 | - OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpng -ljpeg -lgif -lz -lpthread | ||
| 112 | +# CFLAGS += -DWITH_X11 | ||
| 113 | +# CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions | ||
| 114 | +# OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpng -ljpeg -lgif -lz -lpthread | ||
| 115 | else # PLATFORM | ||
| 116 | CFLAGS += -DWITH_WIN32 | ||
| 117 | OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib | ||
| 118 | @@ -79,7 +80,7 @@ | ||
| 119 | vpath %.c $(SHARE_SRC)/native/$(PKGDIR)/image/jpeg | ||
| 120 | vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen | ||
| 121 | |||
| 122 | -CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen | ||
| 123 | +#CPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen | ||
| 124 | |||
| 125 | ifeq ($(PLATFORM), linux) | ||
| 126 | ifeq ($(ARCH_DATA_MODEL), 64) | ||
| 127 | Index: openjdk/jdk/make/sun/xawt/Makefile | ||
| 128 | =================================================================== | ||
| 129 | --- openjdk.orig/jdk/make/sun/xawt/Makefile 2009-04-24 09:33:56.000000000 +0200 | ||
| 130 | +++ openjdk/jdk/make/sun/xawt/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 131 | @@ -41,15 +41,16 @@ | ||
| 132 | # | ||
| 133 | # Files | ||
| 134 | # | ||
| 135 | -include FILES_c_unix.gmk | ||
| 136 | -include FILES_export_unix.gmk | ||
| 137 | +#include FILES_c_unix.gmk | ||
| 138 | +FILES_c = | ||
| 139 | +#include FILES_export_unix.gmk | ||
| 140 | AUTO_FILES_JAVA_DIRS = sun/awt/X11 | ||
| 141 | AUTO_JAVA_PRUNE = WrapperGenerator.java | ||
| 142 | |||
| 143 | LDFLAGS += -L$(OPENWIN_LIB) | ||
| 144 | |||
| 145 | ifeq ($(PLATFORM), linux) | ||
| 146 | -LDFLAGS += -lpthread | ||
| 147 | +#LDFLAGS += -lpthread | ||
| 148 | dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) | ||
| 149 | endif | ||
| 150 | |||
| 151 | @@ -86,16 +87,19 @@ | ||
| 152 | vpath %.c $(PLATFORM_SRC)/native/sun/java2d/opengl | ||
| 153 | vpath %.c $(PLATFORM_SRC)/native/sun/java2d/x11 | ||
| 154 | |||
| 155 | -OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 -ldl \ | ||
| 156 | - $(LDFLAGS_COMMON) $(AWT_RUNPATH) $(OTHER_LDFLAGS) -lXtst -lXi | ||
| 157 | +#OTHER_LDLIBS = $(LIBM) -lawt -lXext -lX11 -ldl \ | ||
| 158 | +# $(LDFLAGS_COMMON) $(AWT_RUNPATH) $(OTHER_LDFLAGS) -lXtst -lXi | ||
| 159 | |||
| 160 | ifeq ($(PLATFORM), solaris) | ||
| 161 | CPPFLAGS += -DFUNCPROTO=15 | ||
| 162 | dummy := $(shell $(MKDIR) -p $(LIB_LOCATION)) | ||
| 163 | endif | ||
| 164 | |||
| 165 | -CPPFLAGS += -I$(CUPS_HEADERS_PATH) | ||
| 166 | +#CPPFLAGS += -I$(CUPS_HEADERS_PATH) | ||
| 167 | |||
| 168 | +# Normally we would like to patch these includes away but | ||
| 169 | +# we need them for the successfull compilation of the sizer | ||
| 170 | +# executables. | ||
| 171 | CPPFLAGS += -DXAWT -DXAWT_HACK \ | ||
| 172 | -I$(TEMPDIR)/../../sun.awt/awt/CClassHeaders \ | ||
| 173 | -I$(PLATFORM_SRC)/native/sun/awt \ | ||
| 174 | @@ -124,10 +128,10 @@ | ||
| 175 | |||
| 176 | ifeq ($(PLATFORM), linux) | ||
| 177 | # Allows for builds on Debian GNU Linux, X11 is in a different place | ||
| 178 | - CPPFLAGS += -I/usr/X11R6/include/X11/extensions \ | ||
| 179 | - -I/usr/include/X11/extensions \ | ||
| 180 | - -I$(MOTIF_DIR)/include \ | ||
| 181 | - -I$(OPENWIN_HOME)/include | ||
| 182 | +# CPPFLAGS += -I/usr/X11R6/include/X11/extensions \ | ||
| 183 | +# -I/usr/include/X11/extensions \ | ||
| 184 | +# -I$(MOTIF_DIR)/include \ | ||
| 185 | +# -I$(OPENWIN_HOME)/include | ||
| 186 | endif | ||
| 187 | |||
| 188 | ifeq ($(PLATFORM), solaris) | ||
| 189 | @@ -238,18 +242,20 @@ | ||
| 190 | $(SIZER_DIR) $(XLIBTYPES) "sizer" $(subst .,,$(suffix $(basename $@))) | ||
| 191 | |||
| 192 | $(SIZES): $(SIZERS) | ||
| 193 | - @if [ "$(DOHACK)$@" = "true$(PREDEFINED_SIZES)" ]; then \ | ||
| 194 | - $(ECHO) COPYING $(PREDEFINED_SIZES_TMPL) into $@; \ | ||
| 195 | - $(CP) $(PREDEFINED_SIZES_TMPL) $@; \ | ||
| 196 | - $(CHMOD) +w $@;\ | ||
| 197 | - else \ | ||
| 198 | - $(ECHO) GENERATING $@; \ | ||
| 199 | - $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \ | ||
| 200 | - fi | ||
| 201 | - @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \ | ||
| 202 | - $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \ | ||
| 203 | - $(DIFF) $@ $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \ | ||
| 204 | - fi | ||
| 205 | + touch $(SIZES) | ||
| 206 | +# | ||
| 207 | +# @if [ "$(DOHACK)$@" = "true$(PREDEFINED_SIZES)" ]; then \ | ||
| 208 | +# $(ECHO) COPYING $(PREDEFINED_SIZES_TMPL) into $@; \ | ||
| 209 | +# $(CP) $(PREDEFINED_SIZES_TMPL) $@; \ | ||
| 210 | +# $(CHMOD) +w $@;\ | ||
| 211 | +# else \ | ||
| 212 | +# $(ECHO) GENERATING $@; \ | ||
| 213 | +# $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \ | ||
| 214 | +# fi | ||
| 215 | +# @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \ | ||
| 216 | +# $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \ | ||
| 217 | +# $(DIFF) $@ $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \ | ||
| 218 | +# fi | ||
| 219 | |||
| 220 | $(TEMPDIR)/.gen.wrappers: $(SIZES) $(WRAPPER_GENERATOR_CLASS) $(XLIBTYPES) | ||
| 221 | $(BOOT_JAVA_CMD) -cp $(WRAPPER_GENERATOR_TEMPDIR) WrapperGenerator \ | ||
| 222 | Index: openjdk/jdk/make/sun/jawt/Makefile | ||
| 223 | =================================================================== | ||
| 224 | --- openjdk.orig/jdk/make/sun/jawt/Makefile 2009-09-29 13:48:34.186565471 +0200 | ||
| 225 | +++ openjdk/jdk/make/sun/jawt/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 226 | @@ -36,7 +36,8 @@ | ||
| 227 | ifeq ($(PLATFORM), windows) | ||
| 228 | FILES_cpp = jawt.cpp | ||
| 229 | else # PLATFORM | ||
| 230 | -FILES_c = jawt.c | ||
| 231 | +FILES_c = | ||
| 232 | +#FILES_c = jawt.c | ||
| 233 | endif # PLATFORM | ||
| 234 | |||
| 235 | FILES_h = $(INCLUDEDIR)/jawt.h \ | ||
| 236 | Index: openjdk/jdk/make/sun/jpeg/Makefile | ||
| 237 | =================================================================== | ||
| 238 | --- openjdk.orig/jdk/make/sun/jpeg/Makefile 2009-09-29 13:48:33.726565626 +0200 | ||
| 239 | +++ openjdk/jdk/make/sun/jpeg/Makefile 2009-09-29 13:57:14.446815782 +0200 | ||
| 240 | @@ -37,7 +37,8 @@ | ||
| 241 | # | ||
| 242 | # Files | ||
| 243 | # | ||
| 244 | -include FILES_c.gmk | ||
| 245 | +FILES_c = | ||
| 246 | +#include FILES_c.gmk | ||
| 247 | |||
| 248 | AUTO_FILES_JAVA_DIRS = sun/awt/image com/sun/imageio/plugins/jpeg | ||
| 249 | |||
| 250 | Index: openjdk/jdk/make/common/shared/Defs-java.gmk | ||
| 251 | =================================================================== | ||
| 252 | --- openjdk.orig/jdk/make/common/shared/Defs-java.gmk 2009-09-29 13:48:55.954565215 +0200 | ||
| 253 | +++ openjdk/jdk/make/common/shared/Defs-java.gmk 2009-09-29 13:57:14.446815782 +0200 | ||
| 254 | @@ -36,14 +36,14 @@ | ||
| 255 | # Memory related -J flags that all uses of java tools should use. | ||
| 256 | # | ||
| 257 | JAVA_MEM_FLAGS = -Xmx$(MAX_VM_MEMORY)m | ||
| 258 | -ifneq (,$(filter $(ARCH), ia64 s390)) | ||
| 259 | +#ifneq (,$(filter $(ARCH), ia64 s390)) | ||
| 260 | # Special flags for javac on ia64 to work around a VM problem with | ||
| 261 | # bad code generation during inlining (what version had this problem?): | ||
| 262 | # Suspect this may not be needed anymore. | ||
| 263 | - JAVA_MEM_FLAGS += -Xms$(MAX_VM_MEMORY)m -XX:-Inline | ||
| 264 | -else | ||
| 265 | - JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m -XX:PermSize=32m -XX:MaxPermSize=160m | ||
| 266 | -endif | ||
| 267 | +# JAVA_MEM_FLAGS += -Xms$(MAX_VM_MEMORY)m -XX:-Inline | ||
| 268 | +#else | ||
| 269 | +# JAVA_MEM_FLAGS += -Xms$(MIN_VM_MEMORY)m -XX:PermSize=32m -XX:MaxPermSize=160m | ||
| 270 | +#endif | ||
| 271 | |||
| 272 | # | ||
| 273 | # All java tools (javac, javah, and javadoc) run faster with certain java | ||
| 274 | Index: openjdk/jdk/src/share/classes/java/awt/GraphicsEnvironment.java | ||
| 275 | =================================================================== | ||
| 276 | --- openjdk.orig/jdk/src/share/classes/java/awt/GraphicsEnvironment.java 2009-04-24 09:34:04.000000000 +0200 | ||
| 277 | +++ openjdk/jdk/src/share/classes/java/awt/GraphicsEnvironment.java 2009-09-29 13:57:14.450815511 +0200 | ||
| 278 | @@ -113,7 +113,7 @@ | ||
| 279 | * @since 1.4 | ||
| 280 | */ | ||
| 281 | public static boolean isHeadless() { | ||
| 282 | - return getHeadlessProperty(); | ||
| 283 | + return true; | ||
| 284 | } | ||
| 285 | |||
| 286 | /** | ||
| 287 | Index: openjdk/corba/make/common/Defs.gmk | ||
| 288 | =================================================================== | ||
| 289 | --- openjdk.orig/corba/make/common/Defs.gmk 2009-04-24 09:30:19.000000000 +0200 | ||
| 290 | +++ openjdk/corba/make/common/Defs.gmk 2009-09-29 13:57:14.450815511 +0200 | ||
| 291 | @@ -444,11 +444,11 @@ | ||
| 292 | # Tool flags | ||
| 293 | # | ||
| 294 | ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) | ||
| 295 | -CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) | ||
| 296 | -CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) | ||
| 297 | -CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ | ||
| 298 | +CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(OE_CFLAGS) | ||
| 299 | +CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) $(OE_CXXFLAGS) | ||
| 300 | +CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) $(OE_CPPFLAGS) \ | ||
| 301 | $(DEFINES) $(OPTIONS:%=-D%) | ||
| 302 | -LDFLAGS = $(LDFLAGS_$(VARIANT)) $(LDFLAGS_COMMON) $(OTHER_LDFLAGS) | ||
| 303 | +LDFLAGS = $(LDFLAGS_$(VARIANT)) $(LDFLAGS_COMMON) $(OTHER_LDFLAGS) $(OE_LDFLAGS) | ||
| 304 | LDLIBS = $(OTHER_LDLIBS) $(LDLIBS_$(VARIANT)) $(LDLIBS_COMMON) | ||
| 305 | LINTFLAGS = $(LINTFLAGS_$(VARIANT)) $(LINTFLAGS_COMMON) \ | ||
| 306 | $(OTHER_LINTFLAGS) | ||
| 307 | Index: openjdk/jdk/make/common/Defs.gmk | ||
| 308 | =================================================================== | ||
| 309 | --- openjdk.orig/jdk/make/common/Defs.gmk 2009-09-29 13:48:33.590565061 +0200 | ||
| 310 | +++ openjdk/jdk/make/common/Defs.gmk 2009-09-29 13:57:14.450815511 +0200 | ||
| 311 | @@ -662,11 +662,11 @@ | ||
| 312 | # Tool flags | ||
| 313 | # | ||
| 314 | ASFLAGS = $(ASFLAGS_$(VARIANT)) $(ASFLAGS_COMMON) $(OTHER_ASFLAGS) | ||
| 315 | -CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) | ||
| 316 | -CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) | ||
| 317 | -CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) \ | ||
| 318 | +CFLAGS = $(CFLAGS_$(VARIANT)/BYFILE) $(CFLAGS_COMMON) $(OTHER_CFLAGS) $(OE_CFLAGS) | ||
| 319 | +CXXFLAGS = $(CXXFLAGS_$(VARIANT)/BYFILE) $(CXXFLAGS_COMMON) $(OTHER_CXXFLAGS) $(OE_CXXFLAGS) | ||
| 320 | +CPPFLAGS = $(CPPFLAGS_$(VARIANT)) $(CPPFLAGS_COMMON) $(OTHER_CPPFLAGS) $(OE_CPPFLAGS) \ | ||
| 321 | $(DEFINES) $(OPTIONS:%=-D%) | ||
| 322 | -LDFLAGS = $(LDFLAGS_$(VARIANT)) $(LDFLAGS_COMMON) $(OTHER_LDFLAGS) | ||
| 323 | +LDFLAGS = $(LDFLAGS_$(VARIANT)) $(LDFLAGS_COMMON) $(OTHER_LDFLAGS) $(OE_LDFLAGS) | ||
| 324 | LDLIBS = $(OTHER_LDLIBS) $(LDLIBS_$(VARIANT)) $(LDLIBS_COMMON) | ||
| 325 | LINTFLAGS = $(LINTFLAGS_$(VARIANT)) $(LINTFLAGS_COMMON) \ | ||
| 326 | $(OTHER_LINTFLAGS) | ||
| 327 | Index: openjdk/hotspot/make/linux/makefiles/vm.make | ||
| 328 | =================================================================== | ||
| 329 | --- openjdk.orig/hotspot/make/linux/makefiles/vm.make 2009-09-29 13:48:34.098565716 +0200 | ||
| 330 | +++ openjdk/hotspot/make/linux/makefiles/vm.make 2009-09-29 13:57:14.450815511 +0200 | ||
| 331 | @@ -170,6 +170,7 @@ | ||
| 332 | LIBS_VM += $(LLVM_LIBS) | ||
| 333 | endif | ||
| 334 | |||
| 335 | +LFLAGS_VM = $(OE_LDFLAGS) | ||
| 336 | LINK_VM = $(LINK_LIB.c) | ||
| 337 | |||
| 338 | # rule for building precompiled header | ||
| 339 | Index: openjdk/jdk/src/solaris/native/sun/awt/CUPSfuncs.c | ||
| 340 | =================================================================== | ||
| 341 | --- openjdk.orig/jdk/src/solaris/native/sun/awt/CUPSfuncs.c 2009-04-24 09:34:34.000000000 +0200 | ||
| 342 | +++ openjdk/jdk/src/solaris/native/sun/awt/CUPSfuncs.c 2009-09-29 13:57:14.450815511 +0200 | ||
| 343 | @@ -26,8 +26,10 @@ | ||
| 344 | #include <jni.h> | ||
| 345 | #include <jni_util.h> | ||
| 346 | #include <dlfcn.h> | ||
| 347 | +#if 0 | ||
| 348 | #include <cups/cups.h> | ||
| 349 | #include <cups/ppd.h> | ||
| 350 | +#endif | ||
| 351 | |||
| 352 | //#define CUPS_DEBUG | ||
| 353 | |||
| 354 | @@ -37,6 +39,7 @@ | ||
| 355 | #define DPRINTF(x, y) | ||
| 356 | #endif | ||
| 357 | |||
| 358 | +#if 0 | ||
| 359 | typedef const char* (*fn_cupsServer)(void); | ||
| 360 | typedef int (*fn_ippPort)(void); | ||
| 361 | typedef http_t* (*fn_httpConnect)(const char *, int); | ||
| 362 | @@ -56,7 +59,7 @@ | ||
| 363 | fn_ppdClose j2d_ppdClose; | ||
| 364 | fn_ppdFindOption j2d_ppdFindOption; | ||
| 365 | fn_ppdPageSize j2d_ppdPageSize; | ||
| 366 | - | ||
| 367 | +#endif | ||
| 368 | |||
| 369 | /* | ||
| 370 | * Initialize library functions. | ||
| 371 | @@ -65,6 +68,7 @@ | ||
| 372 | JNIEXPORT jboolean JNICALL | ||
| 373 | Java_sun_print_CUPSPrinter_initIDs(JNIEnv *env, | ||
| 374 | jobject printObj) { | ||
| 375 | +#if 0 | ||
| 376 | void *handle = dlopen("libcups.so.2", RTLD_LAZY | RTLD_GLOBAL); | ||
| 377 | |||
| 378 | if (handle == NULL) { | ||
| 379 | @@ -131,6 +135,8 @@ | ||
| 380 | } | ||
| 381 | |||
| 382 | return JNI_TRUE; | ||
| 383 | +#endif | ||
| 384 | + return JNI_FALSE; | ||
| 385 | } | ||
| 386 | |||
| 387 | /* | ||
| 388 | @@ -141,6 +147,7 @@ | ||
| 389 | Java_sun_print_CUPSPrinter_getCupsServer(JNIEnv *env, | ||
| 390 | jobject printObj) | ||
| 391 | { | ||
| 392 | +#if 0 | ||
| 393 | jstring cServer = NULL; | ||
| 394 | const char* server = j2d_cupsServer(); | ||
| 395 | if (server != NULL) { | ||
| 396 | @@ -152,6 +159,8 @@ | ||
| 397 | } | ||
| 398 | } | ||
| 399 | return cServer; | ||
| 400 | +#endif | ||
| 401 | + return NULL; | ||
| 402 | } | ||
| 403 | |||
| 404 | /* | ||
| 405 | @@ -162,8 +171,11 @@ | ||
| 406 | Java_sun_print_CUPSPrinter_getCupsPort(JNIEnv *env, | ||
| 407 | jobject printObj) | ||
| 408 | { | ||
| 409 | +#if 0 | ||
| 410 | int port = j2d_ippPort(); | ||
| 411 | return (jint) port; | ||
| 412 | +#endif | ||
| 413 | + return 0; | ||
| 414 | } | ||
| 415 | |||
| 416 | |||
| 417 | @@ -177,6 +189,7 @@ | ||
| 418 | jstring server, | ||
| 419 | jint port) | ||
| 420 | { | ||
| 421 | +#if 0 | ||
| 422 | const char *serverName; | ||
| 423 | serverName = (*env)->GetStringUTFChars(env, server, NULL); | ||
| 424 | if (serverName != NULL) { | ||
| 425 | @@ -187,6 +200,7 @@ | ||
| 426 | return JNI_TRUE; | ||
| 427 | } | ||
| 428 | } | ||
| 429 | +#endif | ||
| 430 | return JNI_FALSE; | ||
| 431 | } | ||
| 432 | |||
| 433 | @@ -199,6 +213,7 @@ | ||
| 434 | jobject printObj, | ||
| 435 | jstring printer) | ||
| 436 | { | ||
| 437 | +#if 0 | ||
| 438 | ppd_file_t *ppd; | ||
| 439 | ppd_option_t *optionTray, *optionPage; | ||
| 440 | ppd_choice_t *choice; | ||
| 441 | @@ -304,6 +319,8 @@ | ||
| 442 | j2d_ppdClose(ppd); | ||
| 443 | unlink(filename); | ||
| 444 | return nameArray; | ||
| 445 | +#endif | ||
| 446 | + return NULL; | ||
| 447 | } | ||
| 448 | |||
| 449 | |||
| 450 | @@ -315,6 +332,7 @@ | ||
| 451 | jobject printObj, | ||
| 452 | jstring printer) | ||
| 453 | { | ||
| 454 | +#if 0 | ||
| 455 | ppd_file_t *ppd; | ||
| 456 | ppd_option_t *option; | ||
| 457 | ppd_choice_t *choice; | ||
| 458 | @@ -374,4 +392,6 @@ | ||
| 459 | j2d_ppdClose(ppd); | ||
| 460 | unlink(filename); | ||
| 461 | return sizeArray; | ||
| 462 | +#endif | ||
| 463 | + return NULL; | ||
| 464 | } | ||
| 465 | Index: openjdk/jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java | ||
| 466 | =================================================================== | ||
| 467 | --- openjdk.orig/jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java 2009-04-24 09:34:17.000000000 +0200 | ||
| 468 | +++ openjdk/jdk/src/share/classes/sun/java2d/SunGraphicsEnvironment.java 2009-09-29 13:57:14.454815276 +0200 | ||
| 469 | @@ -244,6 +244,8 @@ | ||
| 470 | * that might be specified. | ||
| 471 | */ | ||
| 472 | fontConfig = createFontConfiguration(); | ||
| 473 | + if (fontConfig == null) | ||
| 474 | + return null; | ||
| 475 | getPlatformFontPathFromFontConfig(); | ||
| 476 | |||
| 477 | String extraFontPath = fontConfig.getExtraFontPath(); | ||
| 478 | Index: openjdk/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java | ||
| 479 | =================================================================== | ||
| 480 | --- openjdk.orig/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java 2009-04-24 09:34:33.000000000 +0200 | ||
| 481 | +++ openjdk/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java 2009-09-29 13:57:14.454815276 +0200 | ||
| 482 | @@ -899,7 +899,8 @@ | ||
| 483 | |||
| 484 | // Implements SunGraphicsEnvironment.createFontConfiguration. | ||
| 485 | protected FontConfiguration createFontConfiguration() { | ||
| 486 | - return new MFontConfiguration(this); | ||
| 487 | +// return new MFontConfiguration(this); | ||
| 488 | + return null; | ||
| 489 | } | ||
| 490 | public FontConfiguration | ||
| 491 | createFontConfiguration(boolean preferLocaleFonts, | ||
| 492 | Index: openjdk/jdk/make/launchers/Makefile | ||
| 493 | =================================================================== | ||
| 494 | --- openjdk.orig/jdk/make/launchers/Makefile 2009-09-29 13:48:33.490815135 +0200 | ||
| 495 | +++ openjdk/jdk/make/launchers/Makefile 2009-09-29 13:57:14.454815276 +0200 | ||
| 496 | @@ -57,7 +57,7 @@ | ||
| 497 | endif | ||
| 498 | # Run MAKE $@ for all generic launchers | ||
| 499 | define make-all-launchers | ||
| 500 | -$(call make-launcher, appletviewer, sun.applet.Main, , ) | ||
| 501 | +#$(call make-launcher, appletviewer, sun.applet.Main, , ) | ||
| 502 | $(call make-launcher, apt, com.sun.tools.apt.Main, , ) | ||
| 503 | $(call make-launcher, extcheck, com.sun.tools.extcheck.Main, , ) | ||
| 504 | $(call make-launcher, idlj, com.sun.tools.corba.se.idl.toJavaPortable.Compile, , ) | ||
| 505 | @@ -93,7 +93,7 @@ | ||
| 506 | -J-Dcom.sun.CORBA.activation.Port=1049 \ | ||
| 507 | -J-Dcom.sun.CORBA.POA.ORBServerId=1, ) | ||
| 508 | $(call make-launcher, pack200, com.sun.java.util.jar.pack.Driver, , --pack) | ||
| 509 | -$(call make-launcher, policytool, sun.security.tools.PolicyTool, , ) | ||
| 510 | +#$(call make-launcher, policytool, sun.security.tools.PolicyTool, , ) | ||
| 511 | $(call make-launcher, rmic, sun.rmi.rmic.Main, , ) | ||
| 512 | $(call make-launcher, rmid, sun.rmi.server.Activation, , ) | ||
| 513 | $(call make-launcher, rmiregistry, sun.rmi.registry.RegistryImpl, , ) | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-freetype.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-freetype.patch deleted file mode 100644 index 3420fbd..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-freetype.patch +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | Index: openjdk/jdk/make/tools/freetypecheck/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- openjdk.orig/jdk/make/tools/freetypecheck/Makefile 2009-09-29 13:48:33.590565061 +0200 | ||
| 4 | +++ openjdk/jdk/make/tools/freetypecheck/Makefile 2009-09-29 14:00:04.470566156 +0200 | ||
| 5 | @@ -45,7 +45,7 @@ | ||
| 6 | FT_OPTIONS = $(CFLAGS) | ||
| 7 | endif | ||
| 8 | |||
| 9 | -FT_OPTIONS += -I$(FT_HEADERS) -I$(FT_HEADERS)/freetype2 | ||
| 10 | +FT_OPTIONS += -I$(FT_HEADERS) -I$(FT_HEADERS)/freetype2 $(FREETYPE2_CFLAGS) $(FREETYPE2_LIBS) $(FREETYPE2_HEADERS) | ||
| 11 | FT_OPTIONS += $(XARCH) | ||
| 12 | |||
| 13 | #add runtime library search path | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-zlib.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-zlib.patch deleted file mode 100644 index eff7e48..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-ecj-fix-zlib.patch +++ /dev/null | |||
| @@ -1,61 +0,0 @@ | |||
| 1 | Index: openjdk/jdk/make/com/sun/java/pack/Makefile | ||
| 2 | =================================================================== | ||
| 3 | --- openjdk.orig/jdk/make/com/sun/java/pack/Makefile 2009-09-29 13:48:34.538565136 +0200 | ||
| 4 | +++ openjdk/jdk/make/com/sun/java/pack/Makefile 2009-09-29 14:00:26.226565853 +0200 | ||
| 5 | @@ -80,7 +80,7 @@ | ||
| 6 | OTHER_LDLIBS += $(JVMLIB) | ||
| 7 | endif | ||
| 8 | |||
| 9 | -OTHER_LDLIBS += -lz | ||
| 10 | +OTHER_LDLIBS += -L$(libdir) -lz | ||
| 11 | CXXFLAGS_DBG += -DFULL | ||
| 12 | CXXFLAGS_OPT += -DPRODUCT | ||
| 13 | CXXFLAGS_COMMON += -DFULL | ||
| 14 | Index: openjdk/jdk/make/common/Defs.gmk | ||
| 15 | =================================================================== | ||
| 16 | --- openjdk.orig/jdk/make/common/Defs.gmk 2009-09-29 13:57:14.450815511 +0200 | ||
| 17 | +++ openjdk/jdk/make/common/Defs.gmk 2009-09-29 14:00:26.226565853 +0200 | ||
| 18 | @@ -289,7 +289,7 @@ | ||
| 19 | |||
| 20 | endif # PROGRAM | ||
| 21 | |||
| 22 | -LDLIBS_COMMON += $(EXTRA_LIBS) | ||
| 23 | +LDLIBS_COMMON += $(EXTRA_LIBS) -L$(libdir) | ||
| 24 | |||
| 25 | # | ||
| 26 | # Default is to build, not import native binaries | ||
| 27 | @@ -425,7 +425,7 @@ | ||
| 28 | CLASSDESTDIR = $(CLASSBINDIR) | ||
| 29 | endif | ||
| 30 | |||
| 31 | -INCLUDES = -I. -I$(CLASSHDRDIR) \ | ||
| 32 | +INCLUDES = -I$(includedir) -I. -I$(CLASSHDRDIR) \ | ||
| 33 | $(patsubst %,-I%,$(subst $(CLASSPATH_SEPARATOR), ,$(VPATH.h))) $(OTHER_INCLUDES) | ||
| 34 | OTHER_CPPFLAGS = $(INCLUDES) | ||
| 35 | |||
| 36 | Index: openjdk/jdk/make/common/Program.gmk | ||
| 37 | =================================================================== | ||
| 38 | --- openjdk.orig/jdk/make/common/Program.gmk 2009-09-29 13:48:33.914565255 +0200 | ||
| 39 | +++ openjdk/jdk/make/common/Program.gmk 2009-09-29 14:00:26.226565853 +0200 | ||
| 40 | @@ -73,7 +73,7 @@ | ||
| 41 | # itself, as with all the Windows libraries. | ||
| 42 | # | ||
| 43 | ifneq (,$(findstring $(PLATFORM), linux solaris)) # UNIX systems | ||
| 44 | - LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli | ||
| 45 | + LDFLAGS += -L $(LIBDIR)/$(LIBARCH)/jli -L $(libdir) | ||
| 46 | OTHER_LDLIBS += -ljli | ||
| 47 | ifeq ($(PLATFORM), solaris) | ||
| 48 | ifeq ($(ARCH_DATA_MODEL), 32) | ||
| 49 | Index: openjdk/jdk/make/java/jli/Makefile | ||
| 50 | =================================================================== | ||
| 51 | --- openjdk.orig/jdk/make/java/jli/Makefile 2009-09-29 13:48:33.806565054 +0200 | ||
| 52 | +++ openjdk/jdk/make/java/jli/Makefile 2009-09-29 14:00:26.230565844 +0200 | ||
| 53 | @@ -61,7 +61,7 @@ | ||
| 54 | ifneq (,$(findstring $(PLATFORM), linux solaris)) # UNIX systems | ||
| 55 | LIB_LOCATION = $(LIBDIR)/$(LIBARCH)/jli | ||
| 56 | # Guarantee very limited dependencies | ||
| 57 | - LDLIBS = -lz -lc | ||
| 58 | + LDLIBS = -L$(libdir) -lz -lc | ||
| 59 | endif | ||
| 60 | |||
| 61 | ifeq ($(PLATFORM), windows) | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-hotspot-make-arch-sane-for-x86.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-hotspot-make-arch-sane-for-x86.patch deleted file mode 100644 index 9d7b9bb..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-hotspot-make-arch-sane-for-x86.patch +++ /dev/null | |||
| @@ -1,1130 +0,0 @@ | |||
| 1 | From b8a51665ada45e3beb0823c03c025d5514f5e745 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: woglinde <woglinde@rhein.zuhause.netz> | ||
| 3 | Date: Thu, 22 Oct 2009 16:35:25 +0200 | ||
| 4 | Subject: [PATCH] hotspot: make arch sane for x86 | ||
| 5 | |||
| 6 | diff --git openjdk/hotspot/agent/make/saenv.sh openjdk/hotspot/agent/make/saenv.sh | ||
| 7 | index 38e0f78..64c8410 100644 | ||
| 8 | --- openjdk/hotspot/agent/make/saenv.sh | ||
| 9 | +++ openjdk/hotspot/agent/make/saenv.sh | ||
| 10 | @@ -43,9 +43,9 @@ if [ "$OS" = "Linux" ]; then | ||
| 11 | OPTIONS="-Dsa.library.path=$SA_LIBPATH" | ||
| 12 | CPU=amd64 | ||
| 13 | else | ||
| 14 | - SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386 | ||
| 15 | + SA_LIBPATH=$STARTDIR/../src/os/linux/x86:$STARTDIR/linux/x86 | ||
| 16 | OPTIONS="-Dsa.library.path=$SA_LIBPATH" | ||
| 17 | - CPU=i386 | ||
| 18 | + CPU=x86 | ||
| 19 | fi | ||
| 20 | else | ||
| 21 | SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p` | ||
| 22 | diff --git openjdk/hotspot/make/defs.make openjdk/hotspot/make/defs.make | ||
| 23 | index 83ddd1a..c20c7eb 100644 | ||
| 24 | --- openjdk/hotspot/make/defs.make | ||
| 25 | +++ openjdk/hotspot/make/defs.make | ||
| 26 | @@ -207,7 +207,7 @@ ifneq ($(OSNAME),windows) | ||
| 27 | ifdef LP64 | ||
| 28 | BUILDARCH = amd64 | ||
| 29 | else | ||
| 30 | - BUILDARCH = i486 | ||
| 31 | + BUILDARCH = x86 | ||
| 32 | endif | ||
| 33 | endif | ||
| 34 | ifeq ($(BUILDARCH), sparc) | ||
| 35 | @@ -218,7 +218,7 @@ ifneq ($(OSNAME),windows) | ||
| 36 | |||
| 37 | # LIBARCH is 1:1 mapping from BUILDARCH | ||
| 38 | LIBARCH = $(LIBARCH/$(BUILDARCH)) | ||
| 39 | - LIBARCH/i486 = i386 | ||
| 40 | + LIBARCH/x86 = x86 | ||
| 41 | LIBARCH/amd64 = amd64 | ||
| 42 | LIBARCH/sparc = sparc | ||
| 43 | LIBARCH/sparcv9 = sparcv9 | ||
| 44 | diff --git openjdk/hotspot/make/jprt.config openjdk/hotspot/make/jprt.config | ||
| 45 | index bc82543..4a1ef4e 100644 | ||
| 46 | --- openjdk/hotspot/make/jprt.config | ||
| 47 | +++ openjdk/hotspot/make/jprt.config | ||
| 48 | @@ -111,7 +111,7 @@ elif [ "${osname}" = Linux ] ; then | ||
| 49 | # LINUX: X86, AMD64 | ||
| 50 | osarch=`uname -m` | ||
| 51 | if [ "${osarch}" = i686 ] ; then | ||
| 52 | - linux_arch=i586 | ||
| 53 | + linux_arch=x86 | ||
| 54 | elif [ "${osarch}" = x86_64 ] ; then | ||
| 55 | linux_arch=amd64 | ||
| 56 | fi | ||
| 57 | diff --git openjdk/hotspot/make/jprt.properties openjdk/hotspot/make/jprt.properties | ||
| 58 | index eb2ce82..7193de0 100644 | ||
| 59 | --- openjdk/hotspot/make/jprt.properties | ||
| 60 | +++ openjdk/hotspot/make/jprt.properties | ||
| 61 | @@ -70,7 +70,7 @@ jprt.my.solaris.x64.jdk6u10=solaris_x64_5.10 | ||
| 62 | jprt.my.solaris.x64.jdk6u14=solaris_x64_5.10 | ||
| 63 | jprt.my.solaris.x64=${jprt.my.solaris.x64.${jprt.tools.default.release}} | ||
| 64 | |||
| 65 | -jprt.my.linux.i586=linux_i586 | ||
| 66 | +jprt.my.linux.x86=linux_x86 | ||
| 67 | jprt.my.linux.x64=linux_x64 | ||
| 68 | jprt.my.windows.i586=windows_i586 | ||
| 69 | jprt.my.windows.x64=windows_x64 | ||
| 70 | @@ -201,30 +201,30 @@ jprt.my.solaris.i586.test.targets= \ | ||
| 71 | ${jprt.my.solaris.i586}-{product|fastdebug}-{c1|c2}-scimark_2, \ | ||
| 72 | ${jprt.my.solaris.i586}-{product|fastdebug}-{c1|c2}-scimark_3 | ||
| 73 | |||
| 74 | -jprt.my.linux.i586.test.targets = \ | ||
| 75 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-jvm98, \ | ||
| 76 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-scimark, \ | ||
| 77 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp, \ | ||
| 78 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp_2, \ | ||
| 79 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp_3, \ | ||
| 80 | - ${jprt.my.linux.i586}-fastdebug-c1-runThese_Xshare, \ | ||
| 81 | - ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp, \ | ||
| 82 | - ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp_2, \ | ||
| 83 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_default, \ | ||
| 84 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ | ||
| 85 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ | ||
| 86 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParNewGC, \ | ||
| 87 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ | ||
| 88 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_default, \ | ||
| 89 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_SerialGC, \ | ||
| 90 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_ParallelGC, \ | ||
| 91 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_ParNewGC, \ | ||
| 92 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_CMS, \ | ||
| 93 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_default, \ | ||
| 94 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_ParallelGC, \ | ||
| 95 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_CMS, \ | ||
| 96 | - ${jprt.my.linux.i586}-{product|fastdebug}-c2-scimark_2, \ | ||
| 97 | - ${jprt.my.linux.i586}-{product|fastdebug}-c2-scimark_3 | ||
| 98 | +jprt.my.linux.x86.test.targets = \ | ||
| 99 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-jvm98, \ | ||
| 100 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-scimark, \ | ||
| 101 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp, \ | ||
| 102 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp_2, \ | ||
| 103 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp_3, \ | ||
| 104 | + ${jprt.my.linux.x86}-fastdebug-c1-runThese_Xshare, \ | ||
| 105 | + ${jprt.my.linux.x86}-fastdebug-c2-runThese_Xcomp, \ | ||
| 106 | + ${jprt.my.linux.x86}-fastdebug-c2-runThese_Xcomp_2, \ | ||
| 107 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_default, \ | ||
| 108 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ | ||
| 109 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ | ||
| 110 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_ParNewGC, \ | ||
| 111 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ | ||
| 112 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_default, \ | ||
| 113 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_SerialGC, \ | ||
| 114 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_ParallelGC, \ | ||
| 115 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_ParNewGC, \ | ||
| 116 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_CMS, \ | ||
| 117 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_default, \ | ||
| 118 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_ParallelGC, \ | ||
| 119 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_CMS, \ | ||
| 120 | + ${jprt.my.linux.x86}-{product|fastdebug}-c2-scimark_2, \ | ||
| 121 | + ${jprt.my.linux.x86}-{product|fastdebug}-c2-scimark_3 | ||
| 122 | |||
| 123 | jprt.my.linux.x64.test.targets = \ | ||
| 124 | ${jprt.my.linux.x64}-{product|fastdebug}-c2-jvm98, \ | ||
| 125 | @@ -294,7 +294,7 @@ jprt.test.targets = \ | ||
| 126 | ${jprt.my.solaris.sparcv9.test.targets}, \ | ||
| 127 | ${jprt.my.solaris.i586.test.targets}, \ | ||
| 128 | ${jprt.my.solaris.x64.test.targets}, \ | ||
| 129 | - ${jprt.my.linux.i586.test.targets}, \ | ||
| 130 | + ${jprt.my.linux.x86.test.targets}, \ | ||
| 131 | ${jprt.my.linux.x64.test.targets}, \ | ||
| 132 | ${jprt.my.windows.i586.test.targets}, \ | ||
| 133 | ${jprt.my.windows.x64.test.targets} | ||
| 134 | diff --git openjdk/hotspot/make/linux/build.sh openjdk/hotspot/make/linux/build.sh | ||
| 135 | index e317fdd..5d3b1ff 100644 | ||
| 136 | --- openjdk/hotspot/make/linux/build.sh | ||
| 137 | +++ openjdk/hotspot/make/linux/build.sh | ||
| 138 | @@ -43,7 +43,7 @@ esac | ||
| 139 | |||
| 140 | case `uname -m` in | ||
| 141 | i386|i486|i586|i686) | ||
| 142 | - mach=i386 | ||
| 143 | + mach=x86 | ||
| 144 | ;; | ||
| 145 | *) | ||
| 146 | echo "Unsupported machine: " `uname -m` | ||
| 147 | diff --git openjdk/hotspot/make/linux/makefiles/buildtree.make openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 148 | index add9823..cbbf81f 100644 | ||
| 149 | --- openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 150 | +++ openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 151 | @@ -30,7 +30,7 @@ | ||
| 152 | # The macros ARCH, GAMMADIR, OS_FAMILY and VARIANT must be defined in the | ||
| 153 | # environment or on the command-line: | ||
| 154 | # | ||
| 155 | -# ARCH - sparc, i486, ... HotSpot cpu and os_cpu source directory | ||
| 156 | +# ARCH - sparc, x86, ... HotSpot cpu and os_cpu source directory | ||
| 157 | # BUILDARCH - build directory | ||
| 158 | # LIBARCH - the corresponding directory in JDK/JRE | ||
| 159 | # GAMMADIR - top of workspace | ||
| 160 | @@ -316,7 +316,7 @@ NO_JAVA_HOME_MSG = \ | ||
| 161 | DATA_MODE = $(DATA_MODE/$(BUILDARCH)) | ||
| 162 | JAVA_FLAG = $(JAVA_FLAG/$(DATA_MODE)) | ||
| 163 | |||
| 164 | -DATA_MODE/i486 = 32 | ||
| 165 | +DATA_MODE/x86 = 32 | ||
| 166 | DATA_MODE/sparc = 32 | ||
| 167 | DATA_MODE/sparcv9 = 64 | ||
| 168 | DATA_MODE/amd64 = 64 | ||
| 169 | diff --git openjdk/hotspot/make/linux/makefiles/cscope.make openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 170 | index 113d4f8..d3f06cb 100644 | ||
| 171 | --- openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 172 | +++ openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 173 | @@ -78,7 +78,7 @@ endif | ||
| 174 | # Processor-specific files for other processors are excluded by default. Use | ||
| 175 | # CS_CPU=x to include platform-specific files for other platforms. | ||
| 176 | ifndef CS_CPU | ||
| 177 | -CS_CPU = i486 sparc amd64 ia64 | ||
| 178 | +CS_CPU = x86 sparc amd64 ia64 | ||
| 179 | CS_PRUNE_CPU = $(patsubst %,-o -name '*%*',$(filter-out ${SRCARCH},${CS_CPU})) | ||
| 180 | endif | ||
| 181 | |||
| 182 | diff --git openjdk/hotspot/make/linux/makefiles/defs.make openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 183 | index 9131c79..138dfb3 100644 | ||
| 184 | --- openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 185 | +++ openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 186 | @@ -85,6 +85,14 @@ ifeq ($(ARCH), sparc) | ||
| 187 | HS_ARCH = sparc | ||
| 188 | endif | ||
| 189 | |||
| 190 | +# x86 | ||
| 191 | +ifeq ($(findstring 86,$(ARCH)), 86) | ||
| 192 | + ARCH_DATA_MODEL = 32 | ||
| 193 | + PLATFORM = linux-x86 | ||
| 194 | + VM_PLATFORM = linux_x86 | ||
| 195 | + HS_ARCH = x86 | ||
| 196 | +endif | ||
| 197 | + | ||
| 198 | # x86_64 | ||
| 199 | ifeq ($(ARCH), x86_64) | ||
| 200 | ifeq ($(ARCH_DATA_MODEL), 64) | ||
| 201 | @@ -95,22 +103,12 @@ ifeq ($(ARCH), x86_64) | ||
| 202 | HS_ARCH = x86 | ||
| 203 | else | ||
| 204 | ARCH_DATA_MODEL = 32 | ||
| 205 | - PLATFORM = linux-i586 | ||
| 206 | - VM_PLATFORM = linux_i486 | ||
| 207 | + PLATFORM = linux-x86 | ||
| 208 | + VM_PLATFORM = linux_x86 | ||
| 209 | HS_ARCH = x86 | ||
| 210 | - # We have to reset ARCH to i686 since SRCARCH relies on it | ||
| 211 | - ARCH = i686 | ||
| 212 | endif | ||
| 213 | endif | ||
| 214 | |||
| 215 | -# i686 | ||
| 216 | -ifeq ($(ARCH), i686) | ||
| 217 | - ARCH_DATA_MODEL = 32 | ||
| 218 | - PLATFORM = linux-i586 | ||
| 219 | - VM_PLATFORM = linux_i486 | ||
| 220 | - HS_ARCH = x86 | ||
| 221 | -endif | ||
| 222 | - | ||
| 223 | JDK_INCLUDE_SUBDIR=linux | ||
| 224 | |||
| 225 | # FIXUP: The subdirectory for a debug build is NOT the same on all platforms | ||
| 226 | diff --git openjdk/hotspot/make/linux/makefiles/sparcWorks.make openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 227 | index 0a9f75b..2e29bb9 100644 | ||
| 228 | --- openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 229 | +++ openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 230 | @@ -30,7 +30,7 @@ CC = cc | ||
| 231 | AS = $(CC) -c | ||
| 232 | |||
| 233 | ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) | ||
| 234 | -ARCHFLAG/i486 = -m32 | ||
| 235 | +ARCHFLAG/x86 = -m32 | ||
| 236 | ARCHFLAG/amd64 = -m64 | ||
| 237 | |||
| 238 | CFLAGS += $(ARCHFLAG) | ||
| 239 | diff --git openjdk/hotspot/make/linux/platform_i486 openjdk/hotspot/make/linux/platform_i486 | ||
| 240 | deleted file mode 100644 | ||
| 241 | index 610ac91..0000000 | ||
| 242 | --- openjdk/hotspot/make/linux/platform_i486 | ||
| 243 | +++ /dev/null | ||
| 244 | @@ -1,15 +0,0 @@ | ||
| 245 | -os_family = linux | ||
| 246 | - | ||
| 247 | -arch = x86 | ||
| 248 | - | ||
| 249 | -arch_model = x86_32 | ||
| 250 | - | ||
| 251 | -os_arch = linux_x86 | ||
| 252 | - | ||
| 253 | -os_arch_model = linux_x86_32 | ||
| 254 | - | ||
| 255 | -lib_arch = i386 | ||
| 256 | - | ||
| 257 | -compiler = gcc | ||
| 258 | - | ||
| 259 | -sysdefs = -DLINUX -D_GNU_SOURCE -DIA32 | ||
| 260 | diff --git openjdk/hotspot/make/linux/platform_i486.suncc openjdk/hotspot/make/linux/platform_i486.suncc | ||
| 261 | index 325a3fe..717fc75 100644 | ||
| 262 | --- openjdk/hotspot/make/linux/platform_i486.suncc | ||
| 263 | +++ openjdk/hotspot/make/linux/platform_i486.suncc | ||
| 264 | @@ -8,10 +8,10 @@ os_arch = linux_x86 | ||
| 265 | |||
| 266 | os_arch_model = linux_x86_32 | ||
| 267 | |||
| 268 | -lib_arch = i386 | ||
| 269 | +lib_arch = x86 | ||
| 270 | |||
| 271 | compiler = sparcWorks | ||
| 272 | |||
| 273 | -gnu_dis_arch = i386 | ||
| 274 | +gnu_dis_arch = x86 | ||
| 275 | |||
| 276 | sysdefs = -DLINUX -DSPARC_WORKS -D_GNU_SOURCE -DIA32 | ||
| 277 | diff --git openjdk/hotspot/make/linux/platform_x86 openjdk/hotspot/make/linux/platform_x86 | ||
| 278 | new file mode 100644 | ||
| 279 | index 0000000..5c613fe | ||
| 280 | --- /dev/null | ||
| 281 | +++ openjdk/hotspot/make/linux/platform_x86 | ||
| 282 | @@ -0,0 +1,15 @@ | ||
| 283 | +os_family = linux | ||
| 284 | + | ||
| 285 | +arch = x86 | ||
| 286 | + | ||
| 287 | +arch_model = x86_32 | ||
| 288 | + | ||
| 289 | +os_arch = linux_x86 | ||
| 290 | + | ||
| 291 | +os_arch_model = linux_x86_32 | ||
| 292 | + | ||
| 293 | +lib_arch = x86 | ||
| 294 | + | ||
| 295 | +compiler = gcc | ||
| 296 | + | ||
| 297 | +sysdefs = -DLINUX -D_GNU_SOURCE -DIA32 | ||
| 298 | diff --git openjdk/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 299 | index b2b3162..a4bbe70 100644 | ||
| 300 | --- openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 301 | +++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 302 | @@ -164,7 +164,7 @@ bool os::have_special_privileges() { | ||
| 303 | // i386: 224, ia64: 1105, amd64: 186, sparc 143 | ||
| 304 | #ifdef __ia64__ | ||
| 305 | #define SYS_gettid 1105 | ||
| 306 | -#elif __i386__ | ||
| 307 | +#elif __x86__ | ||
| 308 | #define SYS_gettid 224 | ||
| 309 | #elif __amd64__ | ||
| 310 | #define SYS_gettid 186 | ||
| 311 | @@ -181,7 +181,7 @@ static char cpu_arch[] = ZERO_LIBARCH; | ||
| 312 | #elif defined(IA64) | ||
| 313 | static char cpu_arch[] = "ia64"; | ||
| 314 | #elif defined(IA32) | ||
| 315 | -static char cpu_arch[] = "i386"; | ||
| 316 | +static char cpu_arch[] = "x86"; | ||
| 317 | #elif defined(AMD64) | ||
| 318 | static char cpu_arch[] = "amd64"; | ||
| 319 | #elif defined(SPARC) | ||
| 320 | diff --git openjdk/hotspot/src/share/tools/hsdis/Makefile openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 321 | index 6bdf4b8..fd43c6e 100644 | ||
| 322 | --- openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 323 | +++ openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 324 | @@ -32,7 +32,7 @@ BINUTILS = $(shell cd ../../../../..;pwd)/binutils-2.17-$(LIBARCH) | ||
| 325 | endif | ||
| 326 | |||
| 327 | # Default arch; it is changed below as needed. | ||
| 328 | -ARCH = i386 | ||
| 329 | +ARCH = x86 | ||
| 330 | OS = $(shell uname) | ||
| 331 | |||
| 332 | CPPFLAGS += -I$(BINUTILS)/include -I$(BINUTILS)/bfd | ||
| 333 | @@ -87,7 +87,7 @@ endif # SunOS | ||
| 334 | LIBARCH = $(ARCH) | ||
| 335 | ifdef LP64 | ||
| 336 | LIBARCH64/sparc = sparcv9 | ||
| 337 | -LIBARCH64/i386 = amd64 | ||
| 338 | +LIBARCH64/x86 = amd64 | ||
| 339 | LIBARCH64 = $(LIBARCH64/$(ARCH)) | ||
| 340 | ifneq ($(LIBARCH64),) | ||
| 341 | LIBARCH = $(LIBARCH64) | ||
| 342 | diff --git openjdk/hotspot/src/share/tools/hsdis/hsdis.c openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 343 | index 75b7efe..62c692b 100644 | ||
| 344 | --- openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 345 | +++ openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 346 | @@ -383,8 +383,8 @@ static void print_help(struct hsdis_app_data* app_data, | ||
| 347 | else | ||
| 348 | disassembler_usage(stderr); /* better than nothing */ | ||
| 349 | (*printf_callback)(printf_stream, " mach=<arch> select disassembly mode\n"); | ||
| 350 | -#if defined(LIBARCH_i386) || defined(LIBARCH_amd64) | ||
| 351 | - (*printf_callback)(printf_stream, " mach=i386 select 32-bit mode\n"); | ||
| 352 | +#if defined(LIBARCH_x86) || defined(LIBARCH_amd64) | ||
| 353 | + (*printf_callback)(printf_stream, " mach=x86 select 32-bit mode\n"); | ||
| 354 | (*printf_callback)(printf_stream, " mach=x86-64 select 64-bit mode\n"); | ||
| 355 | (*printf_callback)(printf_stream, " suffix always print instruction suffix\n"); | ||
| 356 | #endif | ||
| 357 | @@ -406,7 +406,7 @@ static const bfd_arch_info_type* find_arch_info(const char* arch_name) { | ||
| 358 | static const char* native_arch_name() { | ||
| 359 | const char* res = HOTSPOT_LIB_ARCH; | ||
| 360 | #ifdef LIBARCH_amd64 | ||
| 361 | - res = "i386:x86-64"; | ||
| 362 | + res = "x86:x86-64"; | ||
| 363 | #endif | ||
| 364 | #ifdef LIBARCH_sparc | ||
| 365 | res = "sparc:v8plusb"; | ||
| 366 | diff --git openjdk/hotspot/test/Makefile openjdk/hotspot/test/Makefile | ||
| 367 | index 2596d85..c2f3eb9 100644 | ||
| 368 | --- openjdk/hotspot/test/Makefile | ||
| 369 | +++ openjdk/hotspot/test/Makefile | ||
| 370 | @@ -33,14 +33,14 @@ ifeq ($(OSNAME), SunOS) | ||
| 371 | PLATFORM = solaris | ||
| 372 | ARCH = $(shell uname -p) | ||
| 373 | ifeq ($(ARCH), i386) | ||
| 374 | - ARCH=i586 | ||
| 375 | + ARCH=x86 | ||
| 376 | endif | ||
| 377 | endif | ||
| 378 | ifeq ($(OSNAME), Linux) | ||
| 379 | PLATFORM = linux | ||
| 380 | ARCH = $(shell uname -m) | ||
| 381 | - ifeq ($(ARCH), i386) | ||
| 382 | - ARCH = i586 | ||
| 383 | + ifeq ($(findstring 86,$(ARCH)), 86) | ||
| 384 | + ARCH = x86 | ||
| 385 | endif | ||
| 386 | endif | ||
| 387 | ifeq ($(OSNAME), Windows_NT) | ||
| 388 | @@ -55,7 +55,7 @@ ifeq ($(OSNAME), Windows_NT) | ||
| 389 | ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),EM64T) | ||
| 390 | ARCH = x64 | ||
| 391 | else | ||
| 392 | - ARCH = i586 | ||
| 393 | + ARCH = x86 | ||
| 394 | endif | ||
| 395 | endif | ||
| 396 | endif | ||
| 397 | diff --git openjdk/hotspot/agent/make/saenv.sh openjdk/hotspot/agent/make/saenv.sh | ||
| 398 | index 38e0f78..64c8410 100644 | ||
| 399 | --- openjdk/hotspot/agent/make/saenv.sh | ||
| 400 | +++ openjdk/hotspot/agent/make/saenv.sh | ||
| 401 | @@ -43,9 +43,9 @@ if [ "$OS" = "Linux" ]; then | ||
| 402 | OPTIONS="-Dsa.library.path=$SA_LIBPATH" | ||
| 403 | CPU=amd64 | ||
| 404 | else | ||
| 405 | - SA_LIBPATH=$STARTDIR/../src/os/linux/i386:$STARTDIR/linux/i386 | ||
| 406 | + SA_LIBPATH=$STARTDIR/../src/os/linux/x86:$STARTDIR/linux/x86 | ||
| 407 | OPTIONS="-Dsa.library.path=$SA_LIBPATH" | ||
| 408 | - CPU=i386 | ||
| 409 | + CPU=x86 | ||
| 410 | fi | ||
| 411 | else | ||
| 412 | SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p` | ||
| 413 | diff --git openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c | ||
| 414 | index c4ca7de..54c12ca 100644 | ||
| 415 | --- openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c | ||
| 416 | +++ openjdk/hotspot/agent/src/os/linux/LinuxDebuggerLocal.c | ||
| 417 | @@ -29,7 +29,7 @@ | ||
| 418 | #define amd64 1 | ||
| 419 | #endif | ||
| 420 | |||
| 421 | -#ifdef i386 | ||
| 422 | +#ifdef x86 | ||
| 423 | #include "sun_jvm_hotspot_debugger_x86_X86ThreadContext.h" | ||
| 424 | #endif | ||
| 425 | |||
| 426 | @@ -295,7 +295,7 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo | ||
| 427 | } | ||
| 428 | |||
| 429 | #undef NPRGREG | ||
| 430 | -#ifdef i386 | ||
| 431 | +#ifdef x86 | ||
| 432 | #define NPRGREG sun_jvm_hotspot_debugger_x86_X86ThreadContext_NPRGREG | ||
| 433 | #endif | ||
| 434 | #ifdef ia64 | ||
| 435 | @@ -314,7 +314,7 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo | ||
| 436 | |||
| 437 | #undef REG_INDEX | ||
| 438 | |||
| 439 | -#ifdef i386 | ||
| 440 | +#ifdef x86 | ||
| 441 | #define REG_INDEX(reg) sun_jvm_hotspot_debugger_x86_X86ThreadContext_##reg | ||
| 442 | |||
| 443 | regs[REG_INDEX(GS)] = (uintptr_t) gregs.xgs; | ||
| 444 | @@ -333,7 +333,7 @@ JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLo | ||
| 445 | regs[REG_INDEX(CS)] = (uintptr_t) gregs.xcs; | ||
| 446 | regs[REG_INDEX(SS)] = (uintptr_t) gregs.xss; | ||
| 447 | |||
| 448 | -#endif /* i386 */ | ||
| 449 | +#endif /* x86 */ | ||
| 450 | |||
| 451 | #if ia64 | ||
| 452 | regs = (*env)->GetLongArrayElements(env, array, &isCopy); | ||
| 453 | diff --git openjdk/hotspot/agent/src/os/linux/Makefile openjdk/hotspot/agent/src/os/linux/Makefile | ||
| 454 | index a16f3a7..85fecb1 100644 | ||
| 455 | --- openjdk/hotspot/agent/src/os/linux/Makefile | ||
| 456 | +++ openjdk/hotspot/agent/src/os/linux/Makefile | ||
| 457 | @@ -22,7 +22,7 @@ | ||
| 458 | # | ||
| 459 | # | ||
| 460 | |||
| 461 | -ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo i386 ; fi ) | ||
| 462 | +ARCH := $(shell if ([ `uname -m` = "ia64" ]) ; then echo ia64 ; elif ([ `uname -m` = "x86_64" ]) ; then echo amd64; elif ([ `uname -m` = "sparc64" ]) ; then echo sparc; else echo x86 ; fi ) | ||
| 463 | GCC = gcc$(GCC_SUFFIX) | ||
| 464 | |||
| 465 | JAVAH = ${JAVA_HOME}/bin/javah | ||
| 466 | diff --git openjdk/hotspot/agent/src/os/linux/ps_core.c openjdk/hotspot/agent/src/os/linux/ps_core.c | ||
| 467 | index 3562f2d..47ab01b 100644 | ||
| 468 | --- openjdk/hotspot/agent/src/os/linux/ps_core.c | ||
| 469 | +++ openjdk/hotspot/agent/src/os/linux/ps_core.c | ||
| 470 | @@ -540,7 +540,7 @@ static bool core_handle_prstatus(struct ps_prochandle* ph, const char* buf, size | ||
| 471 | |||
| 472 | if (is_debug()) { | ||
| 473 | print_debug("integer regset\n"); | ||
| 474 | -#ifdef i386 | ||
| 475 | +#ifdef x86 | ||
| 476 | // print the regset | ||
| 477 | print_debug("\teax = 0x%x\n", newthr->regs.eax); | ||
| 478 | print_debug("\tebx = 0x%x\n", newthr->regs.ebx); | ||
| 479 | diff --git openjdk/hotspot/make/defs.make openjdk/hotspot/make/defs.make | ||
| 480 | index 83ddd1a..c20c7eb 100644 | ||
| 481 | --- openjdk/hotspot/make/defs.make | ||
| 482 | +++ openjdk/hotspot/make/defs.make | ||
| 483 | @@ -207,7 +207,7 @@ ifneq ($(OSNAME),windows) | ||
| 484 | ifdef LP64 | ||
| 485 | BUILDARCH = amd64 | ||
| 486 | else | ||
| 487 | - BUILDARCH = i486 | ||
| 488 | + BUILDARCH = x86 | ||
| 489 | endif | ||
| 490 | endif | ||
| 491 | ifeq ($(BUILDARCH), sparc) | ||
| 492 | @@ -218,7 +218,7 @@ ifneq ($(OSNAME),windows) | ||
| 493 | |||
| 494 | # LIBARCH is 1:1 mapping from BUILDARCH | ||
| 495 | LIBARCH = $(LIBARCH/$(BUILDARCH)) | ||
| 496 | - LIBARCH/i486 = i386 | ||
| 497 | + LIBARCH/x86 = x86 | ||
| 498 | LIBARCH/amd64 = amd64 | ||
| 499 | LIBARCH/sparc = sparc | ||
| 500 | LIBARCH/sparcv9 = sparcv9 | ||
| 501 | diff --git openjdk/hotspot/make/jprt.config openjdk/hotspot/make/jprt.config | ||
| 502 | index bc82543..4a1ef4e 100644 | ||
| 503 | --- openjdk/hotspot/make/jprt.config | ||
| 504 | +++ openjdk/hotspot/make/jprt.config | ||
| 505 | @@ -111,7 +111,7 @@ elif [ "${osname}" = Linux ] ; then | ||
| 506 | # LINUX: X86, AMD64 | ||
| 507 | osarch=`uname -m` | ||
| 508 | if [ "${osarch}" = i686 ] ; then | ||
| 509 | - linux_arch=i586 | ||
| 510 | + linux_arch=x86 | ||
| 511 | elif [ "${osarch}" = x86_64 ] ; then | ||
| 512 | linux_arch=amd64 | ||
| 513 | fi | ||
| 514 | diff --git openjdk/hotspot/make/jprt.properties openjdk/hotspot/make/jprt.properties | ||
| 515 | index eb2ce82..7193de0 100644 | ||
| 516 | --- openjdk/hotspot/make/jprt.properties | ||
| 517 | +++ openjdk/hotspot/make/jprt.properties | ||
| 518 | @@ -70,7 +70,7 @@ jprt.my.solaris.x64.jdk6u10=solaris_x64_5.10 | ||
| 519 | jprt.my.solaris.x64.jdk6u14=solaris_x64_5.10 | ||
| 520 | jprt.my.solaris.x64=${jprt.my.solaris.x64.${jprt.tools.default.release}} | ||
| 521 | |||
| 522 | -jprt.my.linux.i586=linux_i586 | ||
| 523 | +jprt.my.linux.x86=linux_x86 | ||
| 524 | jprt.my.linux.x64=linux_x64 | ||
| 525 | jprt.my.windows.i586=windows_i586 | ||
| 526 | jprt.my.windows.x64=windows_x64 | ||
| 527 | @@ -201,30 +201,30 @@ jprt.my.solaris.i586.test.targets= \ | ||
| 528 | ${jprt.my.solaris.i586}-{product|fastdebug}-{c1|c2}-scimark_2, \ | ||
| 529 | ${jprt.my.solaris.i586}-{product|fastdebug}-{c1|c2}-scimark_3 | ||
| 530 | |||
| 531 | -jprt.my.linux.i586.test.targets = \ | ||
| 532 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-jvm98, \ | ||
| 533 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-scimark, \ | ||
| 534 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp, \ | ||
| 535 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp_2, \ | ||
| 536 | - ${jprt.my.linux.i586}-product-c1-runThese_Xcomp_3, \ | ||
| 537 | - ${jprt.my.linux.i586}-fastdebug-c1-runThese_Xshare, \ | ||
| 538 | - ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp, \ | ||
| 539 | - ${jprt.my.linux.i586}-fastdebug-c2-runThese_Xcomp_2, \ | ||
| 540 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_default, \ | ||
| 541 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ | ||
| 542 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ | ||
| 543 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_ParNewGC, \ | ||
| 544 | - ${jprt.my.linux.i586}-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ | ||
| 545 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_default, \ | ||
| 546 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_SerialGC, \ | ||
| 547 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_ParallelGC, \ | ||
| 548 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_ParNewGC, \ | ||
| 549 | - ${jprt.my.linux.i586}-product-{c1|c2}-GCOld_CMS, \ | ||
| 550 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_default, \ | ||
| 551 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_ParallelGC, \ | ||
| 552 | - ${jprt.my.linux.i586}-{product|fastdebug}-c1-jbb_CMS, \ | ||
| 553 | - ${jprt.my.linux.i586}-{product|fastdebug}-c2-scimark_2, \ | ||
| 554 | - ${jprt.my.linux.i586}-{product|fastdebug}-c2-scimark_3 | ||
| 555 | +jprt.my.linux.x86.test.targets = \ | ||
| 556 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-jvm98, \ | ||
| 557 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-scimark, \ | ||
| 558 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp, \ | ||
| 559 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp_2, \ | ||
| 560 | + ${jprt.my.linux.x86}-product-c1-runThese_Xcomp_3, \ | ||
| 561 | + ${jprt.my.linux.x86}-fastdebug-c1-runThese_Xshare, \ | ||
| 562 | + ${jprt.my.linux.x86}-fastdebug-c2-runThese_Xcomp, \ | ||
| 563 | + ${jprt.my.linux.x86}-fastdebug-c2-runThese_Xcomp_2, \ | ||
| 564 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_default, \ | ||
| 565 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_SerialGC, \ | ||
| 566 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_ParallelGC, \ | ||
| 567 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_ParNewGC, \ | ||
| 568 | + ${jprt.my.linux.x86}-{product|fastdebug}-{c1|c2}-GCBasher_CMS, \ | ||
| 569 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_default, \ | ||
| 570 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_SerialGC, \ | ||
| 571 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_ParallelGC, \ | ||
| 572 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_ParNewGC, \ | ||
| 573 | + ${jprt.my.linux.x86}-product-{c1|c2}-GCOld_CMS, \ | ||
| 574 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_default, \ | ||
| 575 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_ParallelGC, \ | ||
| 576 | + ${jprt.my.linux.x86}-{product|fastdebug}-c1-jbb_CMS, \ | ||
| 577 | + ${jprt.my.linux.x86}-{product|fastdebug}-c2-scimark_2, \ | ||
| 578 | + ${jprt.my.linux.x86}-{product|fastdebug}-c2-scimark_3 | ||
| 579 | |||
| 580 | jprt.my.linux.x64.test.targets = \ | ||
| 581 | ${jprt.my.linux.x64}-{product|fastdebug}-c2-jvm98, \ | ||
| 582 | @@ -294,7 +294,7 @@ jprt.test.targets = \ | ||
| 583 | ${jprt.my.solaris.sparcv9.test.targets}, \ | ||
| 584 | ${jprt.my.solaris.i586.test.targets}, \ | ||
| 585 | ${jprt.my.solaris.x64.test.targets}, \ | ||
| 586 | - ${jprt.my.linux.i586.test.targets}, \ | ||
| 587 | + ${jprt.my.linux.x86.test.targets}, \ | ||
| 588 | ${jprt.my.linux.x64.test.targets}, \ | ||
| 589 | ${jprt.my.windows.i586.test.targets}, \ | ||
| 590 | ${jprt.my.windows.x64.test.targets} | ||
| 591 | diff --git openjdk/hotspot/make/linux/build.sh openjdk/hotspot/make/linux/build.sh | ||
| 592 | index e317fdd..5d3b1ff 100644 | ||
| 593 | --- openjdk/hotspot/make/linux/build.sh | ||
| 594 | +++ openjdk/hotspot/make/linux/build.sh | ||
| 595 | @@ -43,7 +43,7 @@ esac | ||
| 596 | |||
| 597 | case `uname -m` in | ||
| 598 | i386|i486|i586|i686) | ||
| 599 | - mach=i386 | ||
| 600 | + mach=x86 | ||
| 601 | ;; | ||
| 602 | *) | ||
| 603 | echo "Unsupported machine: " `uname -m` | ||
| 604 | diff --git openjdk/hotspot/make/linux/makefiles/buildtree.make openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 605 | index add9823..cbbf81f 100644 | ||
| 606 | --- openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 607 | +++ openjdk/hotspot/make/linux/makefiles/buildtree.make | ||
| 608 | @@ -30,7 +30,7 @@ | ||
| 609 | # The macros ARCH, GAMMADIR, OS_FAMILY and VARIANT must be defined in the | ||
| 610 | # environment or on the command-line: | ||
| 611 | # | ||
| 612 | -# ARCH - sparc, i486, ... HotSpot cpu and os_cpu source directory | ||
| 613 | +# ARCH - sparc, x86, ... HotSpot cpu and os_cpu source directory | ||
| 614 | # BUILDARCH - build directory | ||
| 615 | # LIBARCH - the corresponding directory in JDK/JRE | ||
| 616 | # GAMMADIR - top of workspace | ||
| 617 | @@ -316,7 +316,7 @@ NO_JAVA_HOME_MSG = \ | ||
| 618 | DATA_MODE = $(DATA_MODE/$(BUILDARCH)) | ||
| 619 | JAVA_FLAG = $(JAVA_FLAG/$(DATA_MODE)) | ||
| 620 | |||
| 621 | -DATA_MODE/i486 = 32 | ||
| 622 | +DATA_MODE/x86 = 32 | ||
| 623 | DATA_MODE/sparc = 32 | ||
| 624 | DATA_MODE/sparcv9 = 64 | ||
| 625 | DATA_MODE/amd64 = 64 | ||
| 626 | diff --git openjdk/hotspot/make/linux/makefiles/cscope.make openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 627 | index 113d4f8..d3f06cb 100644 | ||
| 628 | --- openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 629 | +++ openjdk/hotspot/make/linux/makefiles/cscope.make | ||
| 630 | @@ -78,7 +78,7 @@ endif | ||
| 631 | # Processor-specific files for other processors are excluded by default. Use | ||
| 632 | # CS_CPU=x to include platform-specific files for other platforms. | ||
| 633 | ifndef CS_CPU | ||
| 634 | -CS_CPU = i486 sparc amd64 ia64 | ||
| 635 | +CS_CPU = x86 sparc amd64 ia64 | ||
| 636 | CS_PRUNE_CPU = $(patsubst %,-o -name '*%*',$(filter-out ${SRCARCH},${CS_CPU})) | ||
| 637 | endif | ||
| 638 | |||
| 639 | diff --git openjdk/hotspot/make/linux/makefiles/defs.make openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 640 | index 9131c79..138dfb3 100644 | ||
| 641 | --- openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 642 | +++ openjdk/hotspot/make/linux/makefiles/defs.make | ||
| 643 | @@ -85,6 +85,14 @@ ifeq ($(ARCH), sparc) | ||
| 644 | HS_ARCH = sparc | ||
| 645 | endif | ||
| 646 | |||
| 647 | +# x86 | ||
| 648 | +ifeq ($(findstring 86,$(ARCH)), 86) | ||
| 649 | + ARCH_DATA_MODEL = 32 | ||
| 650 | + PLATFORM = linux-x86 | ||
| 651 | + VM_PLATFORM = linux_x86 | ||
| 652 | + HS_ARCH = x86 | ||
| 653 | +endif | ||
| 654 | + | ||
| 655 | # x86_64 | ||
| 656 | ifeq ($(ARCH), x86_64) | ||
| 657 | ifeq ($(ARCH_DATA_MODEL), 64) | ||
| 658 | @@ -95,22 +103,12 @@ ifeq ($(ARCH), x86_64) | ||
| 659 | HS_ARCH = x86 | ||
| 660 | else | ||
| 661 | ARCH_DATA_MODEL = 32 | ||
| 662 | - PLATFORM = linux-i586 | ||
| 663 | - VM_PLATFORM = linux_i486 | ||
| 664 | + PLATFORM = linux-x86 | ||
| 665 | + VM_PLATFORM = linux_x86 | ||
| 666 | HS_ARCH = x86 | ||
| 667 | - # We have to reset ARCH to i686 since SRCARCH relies on it | ||
| 668 | - ARCH = i686 | ||
| 669 | endif | ||
| 670 | endif | ||
| 671 | |||
| 672 | -# i686 | ||
| 673 | -ifeq ($(ARCH), i686) | ||
| 674 | - ARCH_DATA_MODEL = 32 | ||
| 675 | - PLATFORM = linux-i586 | ||
| 676 | - VM_PLATFORM = linux_i486 | ||
| 677 | - HS_ARCH = x86 | ||
| 678 | -endif | ||
| 679 | - | ||
| 680 | JDK_INCLUDE_SUBDIR=linux | ||
| 681 | |||
| 682 | # FIXUP: The subdirectory for a debug build is NOT the same on all platforms | ||
| 683 | diff --git openjdk/hotspot/make/linux/makefiles/gcc.make openjdk/hotspot/make/linux/makefiles/gcc.make | ||
| 684 | index a2c24bc..27bad01 100644 | ||
| 685 | --- openjdk/hotspot/make/linux/makefiles/gcc.make | ||
| 686 | +++ openjdk/hotspot/make/linux/makefiles/gcc.make | ||
| 687 | @@ -77,7 +77,7 @@ CFLAGS += -fcheck-new | ||
| 688 | CFLAGS += -g | ||
| 689 | |||
| 690 | ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) | ||
| 691 | -ARCHFLAG/i486 = -m32 -march=i586 | ||
| 692 | +ARCHFLAG/x86 = -m32 | ||
| 693 | ARCHFLAG/amd64 = -m64 | ||
| 694 | ARCHFLAG/ia64 = | ||
| 695 | ARCHFLAG/sparc = -m32 -mcpu=v9 | ||
| 696 | diff --git openjdk/hotspot/make/linux/makefiles/sparcWorks.make openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 697 | index 0a9f75b..2e29bb9 100644 | ||
| 698 | --- openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 699 | +++ openjdk/hotspot/make/linux/makefiles/sparcWorks.make | ||
| 700 | @@ -30,7 +30,7 @@ CC = cc | ||
| 701 | AS = $(CC) -c | ||
| 702 | |||
| 703 | ARCHFLAG = $(ARCHFLAG/$(BUILDARCH)) | ||
| 704 | -ARCHFLAG/i486 = -m32 | ||
| 705 | +ARCHFLAG/x86 = -m32 | ||
| 706 | ARCHFLAG/amd64 = -m64 | ||
| 707 | |||
| 708 | CFLAGS += $(ARCHFLAG) | ||
| 709 | diff --git openjdk/hotspot/make/linux/platform_i486 openjdk/hotspot/make/linux/platform_i486 | ||
| 710 | deleted file mode 100644 | ||
| 711 | index 610ac91..0000000 | ||
| 712 | --- openjdk/hotspot/make/linux/platform_i486 | ||
| 713 | +++ /dev/null | ||
| 714 | @@ -1,15 +0,0 @@ | ||
| 715 | -os_family = linux | ||
| 716 | - | ||
| 717 | -arch = x86 | ||
| 718 | - | ||
| 719 | -arch_model = x86_32 | ||
| 720 | - | ||
| 721 | -os_arch = linux_x86 | ||
| 722 | - | ||
| 723 | -os_arch_model = linux_x86_32 | ||
| 724 | - | ||
| 725 | -lib_arch = i386 | ||
| 726 | - | ||
| 727 | -compiler = gcc | ||
| 728 | - | ||
| 729 | -sysdefs = -DLINUX -D_GNU_SOURCE -DIA32 | ||
| 730 | diff --git openjdk/hotspot/make/linux/platform_i486.suncc openjdk/hotspot/make/linux/platform_i486.suncc | ||
| 731 | deleted file mode 100644 | ||
| 732 | index 325a3fe..0000000 | ||
| 733 | --- openjdk/hotspot/make/linux/platform_i486.suncc | ||
| 734 | +++ /dev/null | ||
| 735 | @@ -1,17 +0,0 @@ | ||
| 736 | -os_family = linux | ||
| 737 | - | ||
| 738 | -arch = x86 | ||
| 739 | - | ||
| 740 | -arch_model = x86_32 | ||
| 741 | - | ||
| 742 | -os_arch = linux_x86 | ||
| 743 | - | ||
| 744 | -os_arch_model = linux_x86_32 | ||
| 745 | - | ||
| 746 | -lib_arch = i386 | ||
| 747 | - | ||
| 748 | -compiler = sparcWorks | ||
| 749 | - | ||
| 750 | -gnu_dis_arch = i386 | ||
| 751 | - | ||
| 752 | -sysdefs = -DLINUX -DSPARC_WORKS -D_GNU_SOURCE -DIA32 | ||
| 753 | diff --git openjdk/hotspot/make/linux/platform_x86 openjdk/hotspot/make/linux/platform_x86 | ||
| 754 | new file mode 100644 | ||
| 755 | index 0000000..5c613fe | ||
| 756 | --- /dev/null | ||
| 757 | +++ openjdk/hotspot/make/linux/platform_x86 | ||
| 758 | @@ -0,0 +1,15 @@ | ||
| 759 | +os_family = linux | ||
| 760 | + | ||
| 761 | +arch = x86 | ||
| 762 | + | ||
| 763 | +arch_model = x86_32 | ||
| 764 | + | ||
| 765 | +os_arch = linux_x86 | ||
| 766 | + | ||
| 767 | +os_arch_model = linux_x86_32 | ||
| 768 | + | ||
| 769 | +lib_arch = x86 | ||
| 770 | + | ||
| 771 | +compiler = gcc | ||
| 772 | + | ||
| 773 | +sysdefs = -DLINUX -D_GNU_SOURCE -DIA32 | ||
| 774 | diff --git openjdk/hotspot/make/linux/platform_x86.suncc openjdk/hotspot/make/linux/platform_x86.suncc | ||
| 775 | new file mode 100644 | ||
| 776 | index 0000000..717fc75 | ||
| 777 | --- /dev/null | ||
| 778 | +++ openjdk/hotspot/make/linux/platform_x86.suncc | ||
| 779 | @@ -0,0 +1,17 @@ | ||
| 780 | +os_family = linux | ||
| 781 | + | ||
| 782 | +arch = x86 | ||
| 783 | + | ||
| 784 | +arch_model = x86_32 | ||
| 785 | + | ||
| 786 | +os_arch = linux_x86 | ||
| 787 | + | ||
| 788 | +os_arch_model = linux_x86_32 | ||
| 789 | + | ||
| 790 | +lib_arch = x86 | ||
| 791 | + | ||
| 792 | +compiler = sparcWorks | ||
| 793 | + | ||
| 794 | +gnu_dis_arch = x86 | ||
| 795 | + | ||
| 796 | +sysdefs = -DLINUX -DSPARC_WORKS -D_GNU_SOURCE -DIA32 | ||
| 797 | diff --git openjdk/hotspot/src/os/linux/launcher/java_md.c openjdk/hotspot/src/os/linux/launcher/java_md.c | ||
| 798 | index 50a86cd..48141be 100644 | ||
| 799 | --- openjdk/hotspot/src/os/linux/launcher/java_md.c | ||
| 800 | +++ openjdk/hotspot/src/os/linux/launcher/java_md.c | ||
| 801 | @@ -56,8 +56,8 @@ | ||
| 802 | * models is supported, then DUAL_MODE is defined. When DUAL_MODE is | ||
| 803 | * defined, the architecture names for the narrow and wide version of | ||
| 804 | * the architecture are defined in BIG_ARCH and SMALL_ARCH. Currently | ||
| 805 | - * only Solaris on sparc/sparcv9 and i586/amd64 is DUAL_MODE; linux | ||
| 806 | - * i586/amd64 could be defined as DUAL_MODE but that is not the | ||
| 807 | + * only Solaris on sparc/sparcv9 and x86/amd64 is DUAL_MODE; linux | ||
| 808 | + * x86/amd64 could be defined as DUAL_MODE but that is not the | ||
| 809 | * current policy. | ||
| 810 | */ | ||
| 811 | |||
| 812 | @@ -75,8 +75,8 @@ | ||
| 813 | |||
| 814 | #else /* 32-bit data model */ | ||
| 815 | |||
| 816 | -# ifdef i586 | ||
| 817 | -# define ARCH "i386" | ||
| 818 | +# ifdef x86 | ||
| 819 | +# define ARCH "x86" | ||
| 820 | # elif defined(__sparc) | ||
| 821 | # define ARCH "sparc" | ||
| 822 | # endif | ||
| 823 | @@ -90,7 +90,7 @@ | ||
| 824 | # define SMALL_ARCH "sparc" | ||
| 825 | # else | ||
| 826 | # define BIG_ARCH "amd64" | ||
| 827 | -# define SMALL_ARCH "i386" | ||
| 828 | +# define SMALL_ARCH "x86" | ||
| 829 | # endif | ||
| 830 | # include <sys/systeminfo.h> | ||
| 831 | # include <sys/elf.h> | ||
| 832 | @@ -1103,7 +1103,7 @@ void PrintMachineDependentOptions() { | ||
| 833 | * This code is somewhat more confused with #ifdef's than we'd | ||
| 834 | * like because this file is used by both Solaris and Linux | ||
| 835 | * platforms, and so needs to be parameterized for SPARC and | ||
| 836 | - * i586 hardware. The other Linux platforms (amd64 and ia64) | ||
| 837 | + * x86 hardware. The other Linux platforms (amd64 and ia64) | ||
| 838 | * don't even ask this question, because they only come with | ||
| 839 | * server JVMs. */ | ||
| 840 | |||
| 841 | @@ -1168,11 +1168,11 @@ solaris_sparc_ServerClassMachine(void) { | ||
| 842 | |||
| 843 | #endif /* __sun && __sparc */ | ||
| 844 | |||
| 845 | -#if defined(__sun) && defined(i586) | ||
| 846 | +#if defined(__sun) && defined(x86) | ||
| 847 | |||
| 848 | /* | ||
| 849 | * A utility method for asking the CPU about itself. | ||
| 850 | - * There's a corresponding version of linux-i586 | ||
| 851 | + * There's a corresponding version of linux-x86 | ||
| 852 | * because the compilers are different. | ||
| 853 | */ | ||
| 854 | void | ||
| 855 | @@ -1218,13 +1218,13 @@ get_cpuid(uint32_t arg, | ||
| 856 | #endif | ||
| 857 | } | ||
| 858 | |||
| 859 | -#endif /* __sun && i586 */ | ||
| 860 | +#endif /* __sun && x86 */ | ||
| 861 | |||
| 862 | -#if defined(__linux__) && defined(i586) | ||
| 863 | +#if defined(__linux__) && defined(x86) | ||
| 864 | |||
| 865 | /* | ||
| 866 | * A utility method for asking the CPU about itself. | ||
| 867 | - * There's a corresponding version of solaris-i586 | ||
| 868 | + * There's a corresponding version of solaris-x86 | ||
| 869 | * because the compilers are different. | ||
| 870 | */ | ||
| 871 | void | ||
| 872 | @@ -1286,11 +1286,11 @@ get_cpuid(uint32_t arg, | ||
| 873 | #endif | ||
| 874 | } | ||
| 875 | |||
| 876 | -#endif /* __linux__ && i586 */ | ||
| 877 | +#endif /* __linux__ && x86 */ | ||
| 878 | |||
| 879 | -#ifdef i586 | ||
| 880 | +#ifdef x86 | ||
| 881 | /* | ||
| 882 | - * Routines shared by solaris-i586 and linux-i586. | ||
| 883 | + * Routines shared by solaris-x86 and linux-x86. | ||
| 884 | */ | ||
| 885 | |||
| 886 | enum HyperThreadingSupport_enum { | ||
| 887 | @@ -1430,11 +1430,11 @@ physical_processors(void) { | ||
| 888 | return result; | ||
| 889 | } | ||
| 890 | |||
| 891 | -#endif /* i586 */ | ||
| 892 | +#endif /* x86 */ | ||
| 893 | |||
| 894 | -#if defined(__sun) && defined(i586) | ||
| 895 | +#if defined(__sun) && defined(x86) | ||
| 896 | |||
| 897 | -/* The definition of a server-class machine for solaris-i586/amd64 */ | ||
| 898 | +/* The definition of a server-class machine for solaris-x86/amd64 */ | ||
| 899 | jboolean | ||
| 900 | solaris_i586_ServerClassMachine(void) { | ||
| 901 | jboolean result = JNI_FALSE; | ||
| 902 | @@ -1463,11 +1463,11 @@ solaris_i586_ServerClassMachine(void) { | ||
| 903 | return result; | ||
| 904 | } | ||
| 905 | |||
| 906 | -#endif /* __sun && i586 */ | ||
| 907 | +#endif /* __sun && x86 */ | ||
| 908 | |||
| 909 | -#if defined(__linux__) && defined(i586) | ||
| 910 | +#if defined(__linux__) && defined(x86) | ||
| 911 | |||
| 912 | -/* The definition of a server-class machine for linux-i586 */ | ||
| 913 | +/* The definition of a server-class machine for linux-x86 */ | ||
| 914 | jboolean | ||
| 915 | linux_i586_ServerClassMachine(void) { | ||
| 916 | jboolean result = JNI_FALSE; | ||
| 917 | @@ -1496,7 +1496,7 @@ linux_i586_ServerClassMachine(void) { | ||
| 918 | return result; | ||
| 919 | } | ||
| 920 | |||
| 921 | -#endif /* __linux__ && i586 */ | ||
| 922 | +#endif /* __linux__ && x86 */ | ||
| 923 | |||
| 924 | /* Dispatch to the platform-specific definition of "server-class" */ | ||
| 925 | jboolean | ||
| 926 | @@ -1504,9 +1504,9 @@ ServerClassMachine(void) { | ||
| 927 | jboolean result = JNI_FALSE; | ||
| 928 | #if defined(__sun) && defined(__sparc) | ||
| 929 | result = solaris_sparc_ServerClassMachine(); | ||
| 930 | -#elif defined(__sun) && defined(i586) | ||
| 931 | +#elif defined(__sun) && defined(x86) | ||
| 932 | result = solaris_i586_ServerClassMachine(); | ||
| 933 | -#elif defined(__linux__) && defined(i586) | ||
| 934 | +#elif defined(__linux__) && defined(x86) | ||
| 935 | result = linux_i586_ServerClassMachine(); | ||
| 936 | #else | ||
| 937 | if (_launcher_debug) { | ||
| 938 | diff --git openjdk/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 939 | index b2b3162..a4bbe70 100644 | ||
| 940 | --- openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 941 | +++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp | ||
| 942 | @@ -164,7 +164,7 @@ bool os::have_special_privileges() { | ||
| 943 | // i386: 224, ia64: 1105, amd64: 186, sparc 143 | ||
| 944 | #ifdef __ia64__ | ||
| 945 | #define SYS_gettid 1105 | ||
| 946 | -#elif __i386__ | ||
| 947 | +#elif __x86__ | ||
| 948 | #define SYS_gettid 224 | ||
| 949 | #elif __amd64__ | ||
| 950 | #define SYS_gettid 186 | ||
| 951 | @@ -181,7 +181,7 @@ static char cpu_arch[] = ZERO_LIBARCH; | ||
| 952 | #elif defined(IA64) | ||
| 953 | static char cpu_arch[] = "ia64"; | ||
| 954 | #elif defined(IA32) | ||
| 955 | -static char cpu_arch[] = "i386"; | ||
| 956 | +static char cpu_arch[] = "x86"; | ||
| 957 | #elif defined(AMD64) | ||
| 958 | static char cpu_arch[] = "amd64"; | ||
| 959 | #elif defined(SPARC) | ||
| 960 | diff --git openjdk/hotspot/src/share/tools/hsdis/Makefile openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 961 | index 6bdf4b8..fd43c6e 100644 | ||
| 962 | --- openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 963 | +++ openjdk/hotspot/src/share/tools/hsdis/Makefile | ||
| 964 | @@ -32,7 +32,7 @@ BINUTILS = $(shell cd ../../../../..;pwd)/binutils-2.17-$(LIBARCH) | ||
| 965 | endif | ||
| 966 | |||
| 967 | # Default arch; it is changed below as needed. | ||
| 968 | -ARCH = i386 | ||
| 969 | +ARCH = x86 | ||
| 970 | OS = $(shell uname) | ||
| 971 | |||
| 972 | CPPFLAGS += -I$(BINUTILS)/include -I$(BINUTILS)/bfd | ||
| 973 | @@ -87,7 +87,7 @@ endif # SunOS | ||
| 974 | LIBARCH = $(ARCH) | ||
| 975 | ifdef LP64 | ||
| 976 | LIBARCH64/sparc = sparcv9 | ||
| 977 | -LIBARCH64/i386 = amd64 | ||
| 978 | +LIBARCH64/x86 = amd64 | ||
| 979 | LIBARCH64 = $(LIBARCH64/$(ARCH)) | ||
| 980 | ifneq ($(LIBARCH64),) | ||
| 981 | LIBARCH = $(LIBARCH64) | ||
| 982 | diff --git openjdk/hotspot/src/share/tools/hsdis/hsdis.c openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 983 | index 75b7efe..62c692b 100644 | ||
| 984 | --- openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 985 | +++ openjdk/hotspot/src/share/tools/hsdis/hsdis.c | ||
| 986 | @@ -383,8 +383,8 @@ static void print_help(struct hsdis_app_data* app_data, | ||
| 987 | else | ||
| 988 | disassembler_usage(stderr); /* better than nothing */ | ||
| 989 | (*printf_callback)(printf_stream, " mach=<arch> select disassembly mode\n"); | ||
| 990 | -#if defined(LIBARCH_i386) || defined(LIBARCH_amd64) | ||
| 991 | - (*printf_callback)(printf_stream, " mach=i386 select 32-bit mode\n"); | ||
| 992 | +#if defined(LIBARCH_x86) || defined(LIBARCH_amd64) | ||
| 993 | + (*printf_callback)(printf_stream, " mach=x86 select 32-bit mode\n"); | ||
| 994 | (*printf_callback)(printf_stream, " mach=x86-64 select 64-bit mode\n"); | ||
| 995 | (*printf_callback)(printf_stream, " suffix always print instruction suffix\n"); | ||
| 996 | #endif | ||
| 997 | @@ -406,7 +406,7 @@ static const bfd_arch_info_type* find_arch_info(const char* arch_name) { | ||
| 998 | static const char* native_arch_name() { | ||
| 999 | const char* res = HOTSPOT_LIB_ARCH; | ||
| 1000 | #ifdef LIBARCH_amd64 | ||
| 1001 | - res = "i386:x86-64"; | ||
| 1002 | + res = "x86:x86-64"; | ||
| 1003 | #endif | ||
| 1004 | #ifdef LIBARCH_sparc | ||
| 1005 | res = "sparc:v8plusb"; | ||
| 1006 | diff --git openjdk/hotspot/src/share/vm/adlc/Test/i486.ad openjdk/hotspot/src/share/vm/adlc/Test/i486.ad | ||
| 1007 | deleted file mode 100644 | ||
| 1008 | index e69de29..0000000 | ||
| 1009 | diff --git openjdk/hotspot/src/share/vm/adlc/Test/x86.ad openjdk/hotspot/src/share/vm/adlc/Test/x86.ad | ||
| 1010 | new file mode 100644 | ||
| 1011 | index 0000000..e69de29 | ||
| 1012 | diff --git openjdk/hotspot/test/Makefile openjdk/hotspot/test/Makefile | ||
| 1013 | index 2596d85..c2f3eb9 100644 | ||
| 1014 | --- openjdk/hotspot/test/Makefile | ||
| 1015 | +++ openjdk/hotspot/test/Makefile | ||
| 1016 | @@ -33,14 +33,14 @@ ifeq ($(OSNAME), SunOS) | ||
| 1017 | PLATFORM = solaris | ||
| 1018 | ARCH = $(shell uname -p) | ||
| 1019 | ifeq ($(ARCH), i386) | ||
| 1020 | - ARCH=i586 | ||
| 1021 | + ARCH=x86 | ||
| 1022 | endif | ||
| 1023 | endif | ||
| 1024 | ifeq ($(OSNAME), Linux) | ||
| 1025 | PLATFORM = linux | ||
| 1026 | ARCH = $(shell uname -m) | ||
| 1027 | - ifeq ($(ARCH), i386) | ||
| 1028 | - ARCH = i586 | ||
| 1029 | + ifeq ($(findstring 86,$(ARCH)), 86) | ||
| 1030 | + ARCH = x86 | ||
| 1031 | endif | ||
| 1032 | endif | ||
| 1033 | ifeq ($(OSNAME), Windows_NT) | ||
| 1034 | @@ -55,7 +55,7 @@ ifeq ($(OSNAME), Windows_NT) | ||
| 1035 | ifeq ($(word 1, $(PROCESSOR_IDENTIFIER)),EM64T) | ||
| 1036 | ARCH = x64 | ||
| 1037 | else | ||
| 1038 | - ARCH = i586 | ||
| 1039 | + ARCH = x86 | ||
| 1040 | endif | ||
| 1041 | endif | ||
| 1042 | endif | ||
| 1043 | -- | ||
| 1044 | 1.6.5 | ||
| 1045 | |||
| 1046 | diff --git openjdk/hotspot/make/linux/makefiles/i486.make b/hotspot/make/linux/makefiles/i486.make | ||
| 1047 | deleted file mode 100644 | ||
| 1048 | index 9dd0b44..0000000 | ||
| 1049 | --- openjdk/hotspot/make/linux/makefiles/i486.make | ||
| 1050 | +++ /dev/null | ||
| 1051 | @@ -1,36 +0,0 @@ | ||
| 1052 | -# | ||
| 1053 | -# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. | ||
| 1054 | -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| 1055 | -# | ||
| 1056 | -# This code is free software; you can redistribute it and/or modify it | ||
| 1057 | -# under the terms of the GNU General Public License version 2 only, as | ||
| 1058 | -# published by the Free Software Foundation. | ||
| 1059 | -# | ||
| 1060 | -# This code is distributed in the hope that it will be useful, but WITHOUT | ||
| 1061 | -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 1062 | -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 1063 | -# version 2 for more details (a copy is included in the LICENSE file that | ||
| 1064 | -# accompanied this code). | ||
| 1065 | -# | ||
| 1066 | -# You should have received a copy of the GNU General Public License version | ||
| 1067 | -# 2 along with this work; if not, write to the Free Software Foundation, | ||
| 1068 | -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 1069 | -# | ||
| 1070 | -# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | ||
| 1071 | -# CA 95054 USA or visit www.sun.com if you need additional information or | ||
| 1072 | -# have any questions. | ||
| 1073 | -# | ||
| 1074 | -# | ||
| 1075 | - | ||
| 1076 | -# TLS helper, assembled from .s file | ||
| 1077 | -# Not included in includeDB because it has no dependencies | ||
| 1078 | -Obj_Files += linux_x86_32.o | ||
| 1079 | - | ||
| 1080 | -# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized | ||
| 1081 | -OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) | ||
| 1082 | -# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized | ||
| 1083 | -OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT) | ||
| 1084 | -# Must also specify if CPU is little endian | ||
| 1085 | -CFLAGS += -DVM_LITTLE_ENDIAN | ||
| 1086 | - | ||
| 1087 | -OPT_CFLAGS/compactingPermGenGen.o = -O1 | ||
| 1088 | diff --git openjdk/hotspot/make/linux/makefiles/x86.make openjdk/hotspot/make/linux/makefiles/x86.make | ||
| 1089 | new file mode 100644 | ||
| 1090 | index 0000000..9dd0b44 | ||
| 1091 | --- /dev/null | ||
| 1092 | +++ openjdk/hotspot/make/linux/makefiles/x86.make | ||
| 1093 | @@ -0,0 +1,36 @@ | ||
| 1094 | +# | ||
| 1095 | +# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved. | ||
| 1096 | +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| 1097 | +# | ||
| 1098 | +# This code is free software; you can redistribute it and/or modify it | ||
| 1099 | +# under the terms of the GNU General Public License version 2 only, as | ||
| 1100 | +# published by the Free Software Foundation. | ||
| 1101 | +# | ||
| 1102 | +# This code is distributed in the hope that it will be useful, but WITHOUT | ||
| 1103 | +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 1104 | +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 1105 | +# version 2 for more details (a copy is included in the LICENSE file that | ||
| 1106 | +# accompanied this code). | ||
| 1107 | +# | ||
| 1108 | +# You should have received a copy of the GNU General Public License version | ||
| 1109 | +# 2 along with this work; if not, write to the Free Software Foundation, | ||
| 1110 | +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 1111 | +# | ||
| 1112 | +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | ||
| 1113 | +# CA 95054 USA or visit www.sun.com if you need additional information or | ||
| 1114 | +# have any questions. | ||
| 1115 | +# | ||
| 1116 | +# | ||
| 1117 | + | ||
| 1118 | +# TLS helper, assembled from .s file | ||
| 1119 | +# Not included in includeDB because it has no dependencies | ||
| 1120 | +Obj_Files += linux_x86_32.o | ||
| 1121 | + | ||
| 1122 | +# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized | ||
| 1123 | +OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) | ||
| 1124 | +# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized | ||
| 1125 | +OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT) | ||
| 1126 | +# Must also specify if CPU is little endian | ||
| 1127 | +CFLAGS += -DVM_LITTLE_ENDIAN | ||
| 1128 | + | ||
| 1129 | +OPT_CFLAGS/compactingPermGenGen.o = -O1 | ||
| 1130 | |||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-jdk-sane-x86-arch.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-jdk-sane-x86-arch.patch deleted file mode 100644 index f730c4a..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-jdk-sane-x86-arch.patch +++ /dev/null | |||
| @@ -1,186 +0,0 @@ | |||
| 1 | From 662e11a8b6017f39ceb6d00dcdbfe11473b56174 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: woglinde <woglinde@rhein.zuhause.netz> | ||
| 3 | Date: Fri, 23 Oct 2009 18:06:43 +0200 | ||
| 4 | Subject: [PATCH] sane-arch2 | ||
| 5 | |||
| 6 | --- | ||
| 7 | openjdk/jdk/make/common/shared/Compiler-gcc.gmk | 4 ++-- | ||
| 8 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
| 9 | |||
| 10 | Index: openjdk/jdk/make/common/shared/Compiler-gcc.gmk | ||
| 11 | =================================================================== | ||
| 12 | --- openjdk/jdk/make/common/shared/Compiler-gcc.gmk.orig 2010-04-22 12:04:08.000000000 +0200 | ||
| 13 | +++ openjdk/jdk/make/common/shared/Compiler-gcc.gmk 2010-04-22 12:13:53.335169757 +0200 | ||
| 14 | @@ -85,8 +85,8 @@ | ||
| 15 | REQUIRED_CC_VER = 3.2 | ||
| 16 | REQUIRED_GCC_VER = 3.2.* | ||
| 17 | endif | ||
| 18 | - ifeq ($(ARCH), i586) | ||
| 19 | - # i586 | ||
| 20 | + ifeq ($(ARCH), x86) | ||
| 21 | + # x86 | ||
| 22 | REQUIRED_CC_VER = 3.2 | ||
| 23 | REQUIRED_GCC_VER = 3.2.1* | ||
| 24 | REQUIRED_GCC_VER_INT = 3.2.1-7a | ||
| 25 | Index: openjdk/jdk/src/solaris/bin/i586/jvm.cfg | ||
| 26 | =================================================================== | ||
| 27 | --- openjdk/jdk/src/solaris/bin/i586/jvm.cfg 2010-02-17 04:14:46.000000000 +0100 | ||
| 28 | +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 29 | @@ -1,38 +0,0 @@ | ||
| 30 | -# Copyright 2001-2004 Sun Microsystems, Inc. All Rights Reserved. | ||
| 31 | -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| 32 | -# | ||
| 33 | -# This code is free software; you can redistribute it and/or modify it | ||
| 34 | -# under the terms of the GNU General Public License version 2 only, as | ||
| 35 | -# published by the Free Software Foundation. Sun designates this | ||
| 36 | -# particular file as subject to the "Classpath" exception as provided | ||
| 37 | -# by Sun in the LICENSE file that accompanied this code. | ||
| 38 | -# | ||
| 39 | -# This code is distributed in the hope that it will be useful, but WITHOUT | ||
| 40 | -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 41 | -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 42 | -# version 2 for more details (a copy is included in the LICENSE file that | ||
| 43 | -# accompanied this code). | ||
| 44 | -# | ||
| 45 | -# You should have received a copy of the GNU General Public License version | ||
| 46 | -# 2 along with this work; if not, write to the Free Software Foundation, | ||
| 47 | -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 48 | -# | ||
| 49 | -# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | ||
| 50 | -# CA 95054 USA or visit www.sun.com if you need additional information or | ||
| 51 | -# have any questions. | ||
| 52 | -# | ||
| 53 | -# List of JVMs that can be used as an option to java, javac, etc. | ||
| 54 | -# Order is important -- first in this list is the default JVM. | ||
| 55 | -# NOTE that this both this file and its format are UNSUPPORTED and | ||
| 56 | -# WILL GO AWAY in a future release. | ||
| 57 | -# | ||
| 58 | -# You may also select a JVM in an arbitrary location with the | ||
| 59 | -# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported | ||
| 60 | -# and may not be available in a future release. | ||
| 61 | -# | ||
| 62 | --client IF_SERVER_CLASS -server | ||
| 63 | --server KNOWN | ||
| 64 | --hotspot ALIASED_TO -client | ||
| 65 | --classic WARN | ||
| 66 | --native ERROR | ||
| 67 | --green ERROR | ||
| 68 | Index: openjdk/jdk/src/solaris/bin/x86/jvm.cfg | ||
| 69 | =================================================================== | ||
| 70 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
| 71 | +++ openjdk/jdk/src/solaris/bin/x86/jvm.cfg 2010-04-22 12:12:10.545603344 +0200 | ||
| 72 | @@ -0,0 +1,38 @@ | ||
| 73 | +# Copyright 2001-2004 Sun Microsystems, Inc. All Rights Reserved. | ||
| 74 | +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
| 75 | +# | ||
| 76 | +# This code is free software; you can redistribute it and/or modify it | ||
| 77 | +# under the terms of the GNU General Public License version 2 only, as | ||
| 78 | +# published by the Free Software Foundation. Sun designates this | ||
| 79 | +# particular file as subject to the "Classpath" exception as provided | ||
| 80 | +# by Sun in the LICENSE file that accompanied this code. | ||
| 81 | +# | ||
| 82 | +# This code is distributed in the hope that it will be useful, but WITHOUT | ||
| 83 | +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 84 | +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
| 85 | +# version 2 for more details (a copy is included in the LICENSE file that | ||
| 86 | +# accompanied this code). | ||
| 87 | +# | ||
| 88 | +# You should have received a copy of the GNU General Public License version | ||
| 89 | +# 2 along with this work; if not, write to the Free Software Foundation, | ||
| 90 | +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 91 | +# | ||
| 92 | +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | ||
| 93 | +# CA 95054 USA or visit www.sun.com if you need additional information or | ||
| 94 | +# have any questions. | ||
| 95 | +# | ||
| 96 | +# List of JVMs that can be used as an option to java, javac, etc. | ||
| 97 | +# Order is important -- first in this list is the default JVM. | ||
| 98 | +# NOTE that this both this file and its format are UNSUPPORTED and | ||
| 99 | +# WILL GO AWAY in a future release. | ||
| 100 | +# | ||
| 101 | +# You may also select a JVM in an arbitrary location with the | ||
| 102 | +# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported | ||
| 103 | +# and may not be available in a future release. | ||
| 104 | +# | ||
| 105 | +-client IF_SERVER_CLASS -server | ||
| 106 | +-server KNOWN | ||
| 107 | +-hotspot ALIASED_TO -client | ||
| 108 | +-classic WARN | ||
| 109 | +-native ERROR | ||
| 110 | +-green ERROR | ||
| 111 | Index: openjdk/jdk/make/common/shared/Platform.gmk | ||
| 112 | =================================================================== | ||
| 113 | --- openjdk/jdk/make/common/shared/Platform.gmk.orig 2010-04-22 12:04:08.000000000 +0200 | ||
| 114 | +++ openjdk/jdk/make/common/shared/Platform.gmk 2010-04-22 12:16:43.848486263 +0200 | ||
| 115 | @@ -56,8 +56,8 @@ | ||
| 116 | # OS_VENDOR company name | ||
| 117 | # TEMP_DISK /tmp or C:/temp | ||
| 118 | # ARCH_DATA_MODEL 32 or 64 | ||
| 119 | -# ARCH sparc, sparcv9, i586, amd64, or ia64 | ||
| 120 | -# ARCH_FAMILY sparc or i586 | ||
| 121 | +# ARCH sparc, sparcv9, x86, amd64, or ia64 | ||
| 122 | +# ARCH_FAMILY sparc or x86 | ||
| 123 | # ARCHPROP sparc or x86 | ||
| 124 | # ARCH_VM_SUBDIR jre/bin, jre/lib/sparc, etc. | ||
| 125 | # LIBARCH sparc, sparcv9, i386, amd64, or ia64 | ||
| 126 | @@ -124,7 +124,7 @@ | ||
| 127 | processor := $(shell uname -p) | ||
| 128 | archExpr = case "$(processor)" in \ | ||
| 129 | i[3-9]86) \ | ||
| 130 | - echo i586 \ | ||
| 131 | + echo 586 \ | ||
| 132 | ;; \ | ||
| 133 | sparc*) \ | ||
| 134 | echo sparc \ | ||
| 135 | @@ -200,7 +200,7 @@ | ||
| 136 | endif | ||
| 137 | archExpr = case "$(mach)" in \ | ||
| 138 | i[3-9]86) \ | ||
| 139 | - echo i586 \ | ||
| 140 | + echo x86 \ | ||
| 141 | ;; \ | ||
| 142 | ia64) \ | ||
| 143 | echo ia64 \ | ||
| 144 | @@ -237,7 +237,7 @@ | ||
| 145 | ARCH=sparcv9 | ||
| 146 | endif | ||
| 147 | else | ||
| 148 | - # i586 is 32-bit, amd64 is 64-bit | ||
| 149 | + # x86 is 32-bit, amd64 is 64-bit | ||
| 150 | ifndef ARCH_DATA_MODEL | ||
| 151 | ifeq ($(ARCH), alpha) | ||
| 152 | ARCH_DATA_MODEL=64 | ||
| 153 | @@ -248,7 +248,7 @@ | ||
| 154 | ifeq ($(ARCH), arm) | ||
| 155 | ARCH_DATA_MODEL=32 | ||
| 156 | endif | ||
| 157 | - ifeq ($(ARCH), i586) | ||
| 158 | + ifeq ($(ARCH), x86) | ||
| 159 | ARCH_DATA_MODEL=32 | ||
| 160 | endif | ||
| 161 | ifeq ($(ARCH), ia64) | ||
| 162 | @@ -281,12 +281,7 @@ | ||
| 163 | endif | ||
| 164 | endif | ||
| 165 | |||
| 166 | - # Need to maintain the jre/lib/i386 location for 32-bit Intel | ||
| 167 | - ifeq ($(ARCH), i586) | ||
| 168 | - LIBARCH = i386 | ||
| 169 | - else | ||
| 170 | - LIBARCH = $(ARCH) | ||
| 171 | - endif | ||
| 172 | + LIBARCH = $(ARCH) | ||
| 173 | |||
| 174 | # Value of Java os.arch property | ||
| 175 | ARCHPROP = $(LIBARCH) | ||
| 176 | @@ -378,8 +373,8 @@ | ||
| 177 | REQUIRED_WINDOWS_VERSION=2000 or Unknown | ||
| 178 | #REQUIRED_WINDOWS_VERSION=XP Professional | ||
| 179 | # LIBARCH is used to preserve the jre/lib/i386 directory name for 32-bit intel | ||
| 180 | - ARCH=i586 | ||
| 181 | - LIBARCH=i386 | ||
| 182 | + ARCH=x86 | ||
| 183 | + LIBARCH=x86 | ||
| 184 | # Value of Java os.arch property | ||
| 185 | ARCHPROP=x86 | ||
| 186 | endif | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-sane-x86-arch-name.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-sane-x86-arch-name.patch deleted file mode 100644 index b4c6857..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-sane-x86-arch-name.patch +++ /dev/null | |||
| @@ -1,38 +0,0 @@ | |||
| 1 | Index: icedtea6-1.8/acinclude.m4 | ||
| 2 | =================================================================== | ||
| 3 | --- icedtea6-1.8.orig/acinclude.m4 2010-04-10 21:58:40.000000000 +0200 | ||
| 4 | +++ icedtea6-1.8/acinclude.m4 2010-04-22 10:09:42.752587915 +0200 | ||
| 5 | @@ -9,11 +9,11 @@ | ||
| 6 | ARCHFLAG="-m64" | ||
| 7 | ;; | ||
| 8 | i?86) | ||
| 9 | - BUILD_ARCH_DIR=i586 | ||
| 10 | - INSTALL_ARCH_DIR=i386 | ||
| 11 | - JRE_ARCH_DIR=i386 | ||
| 12 | + BUILD_ARCH_DIR=x86 | ||
| 13 | + INSTALL_ARCH_DIR=x86 | ||
| 14 | + JRE_ARCH_DIR=x86 | ||
| 15 | ARCH_PREFIX=${LINUX32} | ||
| 16 | - CROSS_TARGET_ARCH=i386 | ||
| 17 | + CROSS_TARGET_ARCH=x86 | ||
| 18 | ARCHFLAG="-m32" | ||
| 19 | ;; | ||
| 20 | alpha*) | ||
| 21 | @@ -765,7 +765,7 @@ | ||
| 22 | ZERO_LIBARCH="${INSTALL_ARCH_DIR}" | ||
| 23 | dnl can't use AC_CHECK_SIZEOF on multilib | ||
| 24 | case "${ZERO_LIBARCH}" in | ||
| 25 | - i386|ppc|s390|sparc) | ||
| 26 | + x86|ppc|s390|sparc) | ||
| 27 | ZERO_BITSPERWORD=32 | ||
| 28 | ;; | ||
| 29 | amd64|ppc64|s390x|sparc64) | ||
| 30 | @@ -777,7 +777,7 @@ | ||
| 31 | esac | ||
| 32 | AC_C_BIGENDIAN([ZERO_ENDIANNESS="big"], [ZERO_ENDIANNESS="little"]) | ||
| 33 | case "${ZERO_LIBARCH}" in | ||
| 34 | - i386) | ||
| 35 | + x86) | ||
| 36 | ZERO_ARCHDEF="IA32" | ||
| 37 | ;; | ||
| 38 | ppc*) | ||
diff --git a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-unbreak-float.patch b/recipes-core/icedtea/icedtea6-native-1.8/icedtea-unbreak-float.patch deleted file mode 100644 index 9f875de..0000000 --- a/recipes-core/icedtea/icedtea6-native-1.8/icedtea-unbreak-float.patch +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | Index: openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h | ||
| 2 | =================================================================== | ||
| 3 | --- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2010-02-02 13:49:39.972718207 +0100 | ||
| 4 | +++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h 2010-02-02 13:50:04.635639302 +0100 | ||
| 5 | @@ -27,13 +27,11 @@ | ||
| 6 | |||
| 7 | #include "jfdlibm.h" | ||
| 8 | |||
| 9 | -#ifdef __NEWVALID /* special setup for Sun test regime */ | ||
| 10 | #if defined(i386) || defined(i486) || \ | ||
| 11 | defined(intel) || defined(x86) || \ | ||
| 12 | defined(i86pc) || defined(_M_IA64) || defined(ia64) | ||
| 13 | #define _LITTLE_ENDIAN | ||
| 14 | #endif | ||
| 15 | -#endif | ||
| 16 | |||
| 17 | #ifdef _LITTLE_ENDIAN | ||
| 18 | #define __HI(x) *(1+(int*)&x) | ||
