Mercurial > hg > release > icedtea6-1.10
view patches/openjdk/remove-mimpure-option-to-gcc.patch @ 2578:96394d394527
Add security patches for 2012/06/12.
2012-06-07 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
(ICEDTEA_PATCHES): Add security patches. Make more
patches HotSpot-build specific.
* patches/ecj/override.patch:
Add additional cases from 7143872.
* patches/arm.patch: Moved to HotSpot-specific versions.
* patches/arch.patch,
* patches/freetypeversion.patch,
* patches/gcc-suffix.patch:
Fix to work with no fuzz.
* patches/hotspot/hs20/arm.patch,
* patches/hotspot/hs20/gcc-stack-markings.patch,
* patches/hotspot/hs20/numa_on_early_glibc.patch,
* patches/hotspot/hs20/sparc-trapsfix.patch,
* patches/hotspot/hs20/version-hotspot.patch:
Split to work with hs20 with no fuzz.
* patches/hotspot/original/arm.patch,
* patches/hotspot/original/gcc-stack-markings.patch,
* patches/hotspot/original/numa_on_early_glibc.patch,
* patches/hotspot/original/sparc-trapsfix.patch,
* patches/hotspot/original/version-hotspot.patch:
Likewise for hs19 (original).
* patches/jaxp-serial-version-uid.patch,
* patches/libraries.patch,
* patches/nio2.patch,
* patches/no-static-linking.patch,
* patches/openjdk/6693253-security_warning.patch,
* patches/openjdk/6766342-AA-simple-shape-performance.patch,
* patches/openjdk/6797139-jbutton_truncation.patch,
* patches/openjdk/6851973-kerberos.patch,
* patches/openjdk/7102369-7094468-rmiregistry.patch:
Fixed to work with no fuzz.
* patches/openjdk/hs20/7034464-hugepage.patch,
* patches/openjdk/hs20/7103224-glibc_name_collision.patch,
Fixed to work with hs20 and no fuzz.
* patches/openjdk/mutter.patch:
Fixed to work with no fuzz.
* patches/openjdk/original/7034464-hugepage.patch,
* patches/openjdk/original/7103224-glibc_name_collision.patch,
Fixed to work with hs19 (original) and no fuzz.
* patches/openjdk/remove-mimpure-option-to-gcc.patch:
Fixed to work with no fuzz.
* patches/security/20120612/7079902.patch,
* patches/security/20120612/7143606.patch,
* patches/security/20120612/7143614.patch,
* patches/security/20120612/7143617.patch,
* patches/security/20120612/7143851.patch,
* patches/security/20120612/7143872.patch,
* patches/security/20120612/7145239.patch,
* patches/security/20120612/7157609.patch,
* patches/security/20120612/7160677.patch,
* patches/security/20120612/7160757.patch,
* patches/security/20120612/hs20/7110720.patch,
* patches/security/20120612/hs20/7152811.patch,
* patches/security/20120612/original/7110720.patch,
* patches/security/20120612/original/7152811.patch,
Security patches for 2012/06/12.
* NEWS: Updated.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Fri, 08 Jun 2012 14:23:28 +0100 |
parents | bfdaab44fa5a |
children |
line wrap: on
line source
diff -Nru openjdk.orig/jdk/make/common/shared/Compiler-gcc.gmk openjdk/jdk/make/common/shared/Compiler-gcc.gmk --- openjdk.orig/jdk/make/common/shared/Compiler-gcc.gmk 2012-06-08 12:21:43.258084850 +0100 +++ openjdk/jdk/make/common/shared/Compiler-gcc.gmk 2012-06-08 12:22:15.546607565 +0100 @@ -132,7 +132,7 @@ REQUIRED_GCC_VER = 4.0.* endif # Option used to create a shared library - SHARED_LIBRARY_FLAG = -shared -mimpure-text + SHARED_LIBRARY_FLAG = -shared SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 ) endif diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt 2012-06-08 12:22:15.546607565 +0100 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/gctest/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/heapTracker/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/heapViewer/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/hprof/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -130,7 +130,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES= -lnsl -ldl -lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/index.html openjdk/jdk/src/share/demo/jvmti/index.html --- openjdk.orig/jdk/src/share/demo/jvmti/index.html 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/index.html 2012-06-08 12:22:15.562607824 +0100 @@ -308,7 +308,7 @@ <code><ul> gcc -O2 -fPIC -pthread -DLINUX -c <i>*.c</i> <br> -gcc -z defs -static-libgcc -shared -mimpure-text -o <i>libXXX.so *.o</i> -lc +gcc -z defs -static-libgcc -shared -o <i>libXXX.so *.o</i> -lc </code></ul> <br> For AMD64: @@ -316,7 +316,7 @@ <code><ul> gcc -O2 -fPIC -pthread -DLINUX -D_LP64=1 -c <i>*.c</i> <br> -gcc -z defs -static-libgcc -shared -mimpure-text -o <i>libXXX.so *.o</i> -lc +gcc -z defs -static-libgcc -shared -o <i>libXXX.so *.o</i> -lc </code></ul> <br> </li> @@ -339,7 +339,7 @@ </li> <li> -Library: Use -static-libgcc -mimpure-text. +Library: Use -static-libgcc. <br> When building the shared library (-shared option), this option allows for maximum portability of the library between different diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/java_crw_demo/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/minst/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/minst/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/minst/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/minst/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/mtrace/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -94,7 +94,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-L $(JDK)/jre/lib/$(LIBARCH) -ljava_crw_demo -lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/versionCheck/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -90,7 +90,7 @@ OBJECTS=$(SOURCES:%.c=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES=-lc # Building a shared library diff -Nru openjdk.orig/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt openjdk/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt --- openjdk.orig/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt 2011-02-28 16:06:43.000000000 +0000 +++ openjdk/jdk/src/share/demo/jvmti/waiters/sample.makefile.txt 2012-06-08 12:22:15.562607824 +0100 @@ -91,7 +91,7 @@ OBJECTS=$(SOURCES:%.cpp=%.o) # Library name and options needed to build it LIBRARY=lib$(LIBNAME).so - LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc -mimpure-text + LDFLAGS=-Wl,-soname=$(LIBRARY) -static-libgcc # Libraries we are dependent on LIBRARIES= # Building a shared library