Mercurial > hg > release > icedtea6-1.8
changeset 2030:c8d38c28900e
PR476: Enable building SystemTap on GCC 4.5.
2010-04-28 Andrew John Hughes <ahughes@redhat.com>
PR icedtea/476
* Makefile.am:
Add patch when SystemTap is enabled to support
building with GCC 4.5.
* patches/systemtap-gcc-4.5.patch:
Add cast to NULL (doesn't apply to DTrace due
to differences between SystemTap and DTrace macros).
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Wed, 28 Apr 2010 17:18:35 +0100 |
parents | c30ad3953745 |
children | 16943314ca9a |
files | ChangeLog Makefile.am patches/systemtap-gcc-4.5.patch |
diffstat | 3 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Apr 26 14:11:34 2010 +0200 +++ b/ChangeLog Wed Apr 28 17:18:35 2010 +0100 @@ -1,3 +1,13 @@ +2010-04-28 Andrew John Hughes <ahughes@redhat.com> + + PR icedtea/476 + * Makefile.am: + Add patch when SystemTap is enabled to support + building with GCC 4.5. + * patches/systemtap-gcc-4.5.patch: + Add cast to NULL (doesn't apply to DTrace due + to differences between SystemTap and DTrace macros). + 2010-04-24 Matthias Klose <doko@ubuntu.com> * Makefile.am (check-langtools, check-jdk): Allow overwriting -samevm
--- a/Makefile.am Mon Apr 26 14:11:34 2010 +0200 +++ b/Makefile.am Wed Apr 28 17:18:35 2010 +0100 @@ -374,7 +374,8 @@ endif if ENABLE_SYSTEMTAP -ICEDTEA_PATCHES += patches/icedtea-systemtap.patch +ICEDTEA_PATCHES += patches/icedtea-systemtap.patch \ + patches/systemtap-gcc-4.5.patch endif if ENABLE_NSS
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/systemtap-gcc-4.5.patch Wed Apr 28 17:18:35 2010 +0100 @@ -0,0 +1,11 @@ +--- openjdk.orig/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 08:51:29.000000000 +0100 ++++ openjdk/hotspot/src/share/vm/prims/jni.cpp 2010-04-28 09:29:22.000000000 +0100 +@@ -2723,7 +2723,7 @@ + + if (!directBufferSupportInitializeEnded) { + if (!initializeDirectBufferSupport(env, thread)) { +- DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, NULL); ++ DTRACE_PROBE1(hotspot_jni, NewDirectByteBuffer__return, (uintptr_t) NULL); + return NULL; + } + }