diff options
author | Maurice van der Pot <griffon26@gentoo.org> | 2005-11-06 14:55:28 +0000 |
---|---|---|
committer | Maurice van der Pot <griffon26@gentoo.org> | 2005-11-06 14:55:28 +0000 |
commit | 1fa102a3cc4afef45394c78f90ab525dc66a049e (patch) | |
tree | cef10620ba90a0097d9379844a43c455907b534c /dev-util/valgrind/files | |
parent | Really fix pkitool (diff) | |
download | historical-1fa102a3cc4afef45394c78f90ab525dc66a049e.tar.gz historical-1fa102a3cc4afef45394c78f90ab525dc66a049e.tar.bz2 historical-1fa102a3cc4afef45394c78f90ab525dc66a049e.zip |
Added valgrind-3.0.1-r1 fixing bug #111233 and an issue mentioned in bug #101402
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'dev-util/valgrind/files')
-rw-r--r-- | dev-util/valgrind/files/digest-valgrind-3.0.1-r1 | 1 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.0.1-mfence.patch | 11 | ||||
-rw-r--r-- | dev-util/valgrind/files/valgrind-3.0.1-pic-fix.patch | 88 |
3 files changed, 100 insertions, 0 deletions
diff --git a/dev-util/valgrind/files/digest-valgrind-3.0.1-r1 b/dev-util/valgrind/files/digest-valgrind-3.0.1-r1 new file mode 100644 index 000000000000..ded1c704ce7a --- /dev/null +++ b/dev-util/valgrind/files/digest-valgrind-3.0.1-r1 @@ -0,0 +1 @@ +MD5 c29efdb7d1a93440f5644a6769054681 valgrind-3.0.1.tar.bz2 2688531 diff --git a/dev-util/valgrind/files/valgrind-3.0.1-mfence.patch b/dev-util/valgrind/files/valgrind-3.0.1-mfence.patch new file mode 100644 index 000000000000..abf6f9caf8fe --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.0.1-mfence.patch @@ -0,0 +1,11 @@ +diff -ruN valgrind-3.0.1/VEX/priv/host-x86/hdefs.c valgrind-3.0.1-fixed/VEX/priv/host-x86/hdefs.c +--- valgrind-3.0.1/VEX/priv/host-x86/hdefs.c 2005-08-10 20:03:36.000000000 +0200 ++++ valgrind-3.0.1-fixed/VEX/priv/host-x86/hdefs.c 2005-09-15 21:28:49.638912328 +0200 +@@ -2312,7 +2312,6 @@ + if (0) vex_printf("EMIT FENCE\n"); + switch (i->Xin.MFence.subarch) { + case VexSubArchX86_sse0: +- vassert(0); /* awaiting test case */ + /* lock addl $0,0(%esp) */ + *p++ = 0xF0; *p++ = 0x83; *p++ = 0x44; + *p++ = 0x24; *p++ = 0x00; *p++ = 0x00; diff --git a/dev-util/valgrind/files/valgrind-3.0.1-pic-fix.patch b/dev-util/valgrind/files/valgrind-3.0.1-pic-fix.patch new file mode 100644 index 000000000000..9356684ff6ac --- /dev/null +++ b/dev-util/valgrind/files/valgrind-3.0.1-pic-fix.patch @@ -0,0 +1,88 @@ +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/addrcheck/Makefile.am 2005-08-24 21:37:08.000000000 +0200 ++++ valgrind-3.0.1/addrcheck/Makefile.am 2005-10-31 22:57:24.000000000 +0100 +@@ -6,6 +6,7 @@ AM_CPPFLAGS += -I$(top_srcdir)/memcheck + val_PROGRAMS = vgtool_addrcheck.so vgpreload_addrcheck.so + + vgtool_addrcheck_so_SOURCES = ac_main.c ++vgtool_addrcheck_so_CFLAGS = -fpic + vgtool_addrcheck_so_LDFLAGS = -shared + vgtool_addrcheck_so_LDADD = \ + ../memcheck/mac_leakcheck.o \ +@@ -13,6 +14,7 @@ vgtool_addrcheck_so_LDADD = \ + ../memcheck/mac_shared.o + + vgpreload_addrcheck_so_SOURCES = ++vgpreload_addrcheck_so_CFLAGS = -fpic + vgpreload_addrcheck_so_LDADD = \ + ../memcheck/mac_replace_strmem.o + vgpreload_addrcheck_so_DEPENDENCIES = \ +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/cachegrind/Makefile.am 2005-08-10 17:28:20.000000000 +0200 ++++ valgrind-3.0.1/cachegrind/Makefile.am 2005-10-31 23:10:08.000000000 +0100 +@@ -14,5 +14,6 @@ val_PROGRAMS = vgtool_cachegrind.so + vgtool_cachegrind_so_SOURCES = \ + cg_main.c \ + cg-@VG_ARCH@.c ++vgtool_cachegrind_so_CFLAGS = -fpic + vgtool_cachegrind_so_LDFLAGS = -shared + +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/helgrind/Makefile.am 2005-08-10 17:27:51.000000000 +0200 ++++ valgrind-3.0.1/helgrind/Makefile.am 2005-10-31 23:11:55.000000000 +0100 +@@ -3,11 +3,13 @@ include $(top_srcdir)/Makefile.tool.am + val_PROGRAMS = vgtool_helgrind.so vgpreload_helgrind.so + + vgtool_helgrind_so_SOURCES = hg_main.c ++vgtool_helgrind_so_CFLAGS = -fpic + vgtool_helgrind_so_LDFLAGS = -shared + + vgpreload_helgrind_so_SOURCES = + vgpreload_helgrind_so_DEPENDENCIES = \ + $(LIBREPLACEMALLOC) ++vgpreload_helgrind_so_CFLAGS = -fpic + vgpreload_helgrind_so_LDFLAGS = -shared -Wl,-z,interpose,-z,initfirst \ + -Wl,--whole-archive \ + $(LIBREPLACEMALLOC) \ +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/lackey/Makefile.am 2005-08-10 17:28:36.000000000 +0200 ++++ valgrind-3.0.1/lackey/Makefile.am 2005-10-31 23:09:49.000000000 +0100 +@@ -3,5 +3,6 @@ include $(top_srcdir)/Makefile.tool.am + val_PROGRAMS = vgtool_lackey.so + + vgtool_lackey_so_SOURCES = lk_main.c ++vgtool_lackey_so_CFLAGS = -fpic + vgtool_lackey_so_LDFLAGS = -shared + +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/massif/Makefile.am 2005-08-10 17:28:11.000000000 +0200 ++++ valgrind-3.0.1/massif/Makefile.am 2005-10-31 23:11:32.000000000 +0100 +@@ -5,11 +5,13 @@ SUBDIRS += hp2ps + val_PROGRAMS = vgtool_massif.so vgpreload_massif.so + + vgtool_massif_so_SOURCES = ms_main.c ++vgtool_massif_so_CFLAGS = -fpic + vgtool_massif_so_LDFLAGS = -shared + + vgpreload_massif_so_SOURCES = + vgpreload_massif_so_DEPENDENCIES = \ + $(LIBREPLACEMALLOC) ++vgpreload_massif_so_CFLAGS = -fpic + vgpreload_massif_so_LDFLAGS = -shared -Wl,-z,interpose,-z,initfirst \ + -Wl,--whole-archive \ + $(LIBREPLACEMALLOC) \ +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/memcheck/Makefile.am 2005-08-10 17:28:08.000000000 +0200 ++++ valgrind-3.0.1/memcheck/Makefile.am 2005-10-31 23:23:19.000000000 +0100 +@@ -1,7 +1,7 @@ + include $(top_srcdir)/Makefile.tool.am + + ## Build Memcheck at a higher optimisation level +-AM_CFLAGS += -O2 ++AM_CFLAGS += -O2 -fpic + + val_PROGRAMS = vgtool_memcheck.so vgpreload_memcheck.so + +--- valgrind-3.0.1-hacked/work/valgrind-3.0.1-old/none/Makefile.am 2005-08-10 17:28:34.000000000 +0200 ++++ valgrind-3.0.1/none/Makefile.am 2005-10-31 23:11:09.000000000 +0100 +@@ -3,5 +3,6 @@ include $(top_srcdir)/Makefile.tool.am + val_PROGRAMS = vgtool_none.so + + vgtool_none_so_SOURCES = nl_main.c ++vgtool_none_so_CFLAGS = -fpic + vgtool_none_so_LDFLAGS = -shared + |