/hg/icedtea6: RH676659: Pass -export-dynamic option to linker no...
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Sun Feb 13 10:58:19 PST 2011
changeset fc0df075ea54 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=fc0df075ea54
author: Andrew John Hughes <ahughes at redhat.com>
date: Sun Feb 13 17:33:58 2011 +0000
RH676659: Pass -export-dynamic option to linker not gcc.
2011-02-13 Andrew John Hughes <ahughes at redhat.com>
* NEWS: Updated.
2011-02-11 Omair Majid <omajid at redhat.com>
RH676659: Pass -export-dynamic option to linker not gcc.
* Makefile.am: Add new patch.
* patches/rh676659-gcc-export-dynamic.patch: Pass -Wl,-export-
dynamic rather than -export-dynamic.
diffstat:
4 files changed, 26 insertions(+), 1 deletion(-)
ChangeLog | 11 +++++++++++
Makefile.am | 3 ++-
NEWS | 1 +
patches/rh676659-gcc-export-dynamic.patch | 12 ++++++++++++
diffs (58 lines):
diff -r a3ab67013879 -r fc0df075ea54 ChangeLog
--- a/ChangeLog Wed Feb 09 10:47:23 2011 +0000
+++ b/ChangeLog Sun Feb 13 17:33:58 2011 +0000
@@ -1,3 +1,14 @@ 2011-02-09 Andrew John Hughes <ahughes
+2011-02-13 Andrew John Hughes <ahughes at redhat.com>
+
+ * NEWS: Updated.
+
+2011-02-11 Omair Majid <omajid at redhat.com>
+
+ RH676659: Pass -export-dynamic option to linker not gcc.
+ * Makefile.am: Add new patch.
+ * patches/rh676659-gcc-export-dynamic.patch:
+ Pass -Wl,-export-dynamic rather than -export-dynamic.
+
2011-02-09 Andrew John Hughes <ahughes at redhat.com>
* Makefile.am: Add patch.
diff -r a3ab67013879 -r fc0df075ea54 Makefile.am
--- a/Makefile.am Wed Feb 09 10:47:23 2011 +0000
+++ b/Makefile.am Sun Feb 13 17:33:58 2011 +0000
@@ -291,7 +291,8 @@ ICEDTEA_PATCHES = \
patches/openjdk/4724552-CubicCurve2D.patch \
patches/openjdk/4493128-CubicCurve2D.patch \
patches/openjdk/4645692-CubicCurve2D.solveCubic.patch \
- patches/no-static-linking.patch
+ patches/no-static-linking.patch \
+ patches/rh676659-gcc-export-dynamic.patch
if !WITH_ALT_HSBUILD
ICEDTEA_PATCHES += \
diff -r a3ab67013879 -r fc0df075ea54 NEWS
--- a/NEWS Wed Feb 09 10:47:23 2011 +0000
+++ b/NEWS Sun Feb 13 17:33:58 2011 +0000
@@ -419,6 +419,7 @@ New in release 1.10 (2011-XX-XX):
* Bug fixes
- RH661505: JPEGs with sRGB IEC61966-2.1 color profiles have wrong colors
- PR616, PR99: Don't statically link libstdc++ or libgcc
+ - RH676659: Pass -export-dynamic flag to linker using -Wl as option is broken in gcc 4.6+
New in release 1.9.5 (2011-02-01):
diff -r a3ab67013879 -r fc0df075ea54 patches/rh676659-gcc-export-dynamic.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/rh676659-gcc-export-dynamic.patch Sun Feb 13 17:33:58 2011 +0000
@@ -0,0 +1,12 @@
+diff -r 55b9f498dbce make/linux/makefiles/gcc.make
+--- openjdk/hotspot/make/linux/makefiles/gcc.make Thu Feb 10 16:24:29 2011 -0800
++++ openjdk/hotspot/make/linux/makefiles/gcc.make Fri Feb 11 18:09:21 2011 -0500
+@@ -196,7 +196,7 @@
+ SHARED_FLAG = -shared
+
+ # Keep symbols even they are not used
+-AOUT_FLAGS += -export-dynamic
++AOUT_FLAGS += -Wl,-export-dynamic
+
+ #------------------------------------------------------------------------
+ # Debug flags
More information about the distro-pkg-dev
mailing list