aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-12-20 11:43:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-21 09:05:01 +0000
commit57794c201aa732392a135e03e04faf18929f645f (patch)
treefb8d00407093b479b273db02d82bc692f3436efc
parente58cdd385584d7449236e6b1dc1bce0cbc8f2a0a (diff)
downloadopenembedded-core-contrib-57794c201aa732392a135e03e04faf18929f645f.tar.gz
valgrind: upgrade to 3.9.0
Changed patches directory to "valgrind"; Removed 4 patches because they were merged upstream; Updated 2 patches because now it has configure.ac instead of .in; Changed license md5 for 2 files because of a small change for copyright year Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.8.1/configure-with-newer-glibc.patch41
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch27
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch32
-rw-r--r--meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_unsupporting_kernel_3.patch26
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch (renamed from meta/recipes-devtools/valgrind/valgrind-3.8.1/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch)0
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch (renamed from meta/recipes-devtools/valgrind/valgrind-3.8.1/fixed-perl-path.patch)0
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/sepbuildfix.patch (renamed from meta/recipes-devtools/valgrind/valgrind-3.8.1/sepbuildfix.patch)26
-rw-r--r--meta/recipes-devtools/valgrind/valgrind_3.9.0.bb (renamed from meta/recipes-devtools/valgrind/valgrind_3.8.1.bb)12
8 files changed, 17 insertions, 147 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/configure-with-newer-glibc.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/configure-with-newer-glibc.patch
deleted file mode 100644
index d3cea234cb..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/configure-with-newer-glibc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Add case for glibc 2.16 and correct error message to denote support until 2.16
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-Signed-off-by: Radu Moisan <radu.moisan@intel.com>
-
-Upstream-Status: Pending
-Index: valgrind-3.8.1/configure.in
-===================================================================
---- valgrind-3.8.1.orig/configure.in
-+++ valgrind-3.8.1/configure.in
-@@ -910,6 +910,20 @@ case "${GLIBC_VERSION}" in
- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
-+ 2.16)
-+ AC_MSG_RESULT(2.16 family)
-+ AC_DEFINE([GLIBC_2_16], 1, [Define to 1 if you're using glibc 2.16.x])
-+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ ;;
-+ 2.17)
-+ AC_MSG_RESULT(2.17 family)
-+ AC_DEFINE([GLIBC_2_17], 1, [Define to 1 if you're using glibc 2.17.x])
-+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ ;;
- darwin)
- AC_MSG_RESULT(Darwin)
- AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
-@@ -923,7 +937,7 @@ case "${GLIBC_VERSION}" in
-
- *)
- AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}])
-- AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.16])
-+ AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.17])
- AC_MSG_ERROR([or Darwin libc])
- ;;
- esac
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch
deleted file mode 100644
index 1fa8127302..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/eglibc-2.18.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-Found in the SVN valgrind code
-svn diff -c 13504 configure.in
-
-Upstream-Status: Backport
-
-Signed-off-by: Saul Wold <sgw@linux.intel.com>
-
-Index: valgrind-3.8.1/configure.in
-===================================================================
---- valgrind-3.8.1.orig/configure.in
-+++ valgrind-3.8.1/configure.in
-@@ -924,6 +924,13 @@ case "${GLIBC_VERSION}" in
- DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
- ;;
-+ 2.18)
-+ AC_MSG_RESULT(2.18 family)
-+ AC_DEFINE([GLIBC_2_18], 1, [Define to 1 if you're using glibc 2.18.x])
-+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
-+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
-+ ;;
- darwin)
- AC_MSG_RESULT(Darwin)
- AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch
deleted file mode 100644
index 4658567b21..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_issue_caused_by_ccache.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-The script does not expect use of ccache, hence fix it to recognise it.
-
-2010/08/17
-Nitin A Kamble <nitin.a.kamble@intel.com>
-
-Upstream-Status: Inappropriate [configuration]
-
-Index: valgrind-3.5.0/coregrind/link_tool_exe_linux.in
-===================================================================
---- valgrind-3.5.0.orig/coregrind/link_tool_exe_linux.in
-+++ valgrind-3.5.0/coregrind/link_tool_exe_linux.in
-@@ -62,6 +62,11 @@ die "Bogus alt-load address"
-
- # The cc invokation to do the final link
- my $cc = $ARGV[1];
-+my $next = 2;
-+if ("$cc" eq "ccache") {
-+ $cc = "$cc $ARGV[2]";
-+ $next = 3;
-+}
-
- # and the 'restargs' are argv[2 ..]
-
-@@ -71,7 +76,7 @@ my $cc = $ARGV[1];
- my $cmd="$cc -static -Wl,-Ttext=$ala";
-
- # Add the rest of the parameters
--foreach my $n (2 .. $#ARGV) {
-+foreach my $n ($next .. $#ARGV) {
- $cmd = "$cmd $ARGV[$n]";
- }
-
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_unsupporting_kernel_3.patch b/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_unsupporting_kernel_3.patch
deleted file mode 100644
index 346ffebb3d..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fix_unsupporting_kernel_3.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-valgrind: Add 3.x statements to "case" for supporting the kernel 3.x
-
-Signed-off-by: Lin Tong <tong.lin@intel.com>
-
-Upstream-Status: Pending
-
-diff --git a/configure.in b/configure.in
-index 3878619..1cb7dc7 100644
---- a/configure.in
-+++ b/configure.in
-@@ -229,10 +229,14 @@ case "${host_os}" in
- AC_MSG_RESULT([2.4 family (${kernel})])
- AC_DEFINE([KERNEL_2_4], 1, [Define to 1 if you're using Linux 2.4.x])
- ;;
-+ 3.*)
-+ AC_MSG_RESULT([3 family (${kernel})])
-+ AC_DEFINE([KERNEL_3], 1, [Define to 1 if you're using Linux 3.x])
-+ ;;
-
- *)
- AC_MSG_RESULT([unsupported (${kernel})])
-- AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6])
-+ AC_MSG_ERROR([Valgrind works on kernels 2.4, 2.6, 3.x])
- ;;
- esac
-
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
index 07774f38a9..07774f38a9 100644
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/Added-support-for-PPC-instructions-mfatbu-mfatbl.patch
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fixed-perl-path.patch b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
index b054d05f7f..b054d05f7f 100644
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/fixed-perl-path.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/fixed-perl-path.patch
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.8.1/sepbuildfix.patch b/meta/recipes-devtools/valgrind/valgrind/sepbuildfix.patch
index fe3f8da18d..5db0ef8a3f 100644
--- a/meta/recipes-devtools/valgrind/valgrind-3.8.1/sepbuildfix.patch
+++ b/meta/recipes-devtools/valgrind/valgrind/sepbuildfix.patch
@@ -6,11 +6,11 @@ RP 2013/03/23
Upstream-Status: Pending
-Index: valgrind-3.8.1/configure.in
+Index: valgrind-3.9.0/configure.ac
===================================================================
---- valgrind-3.8.1.orig/configure.in 2013-03-23 16:06:58.388793432 +0000
-+++ valgrind-3.8.1/configure.in 2013-03-23 16:46:15.088737377 +0000
-@@ -316,26 +316,26 @@
+--- valgrind-3.9.0.orig/configure.ac
++++ valgrind-3.9.0/configure.ac
+@@ -325,26 +325,26 @@ case "${host_os}" in
9.*)
AC_MSG_RESULT([Darwin 9.x (${kernel}) / Mac OS X 10.5 Leopard])
AC_DEFINE([DARWIN_VERS], DARWIN_10_5, [Darwin / Mac OS X version])
@@ -45,7 +45,7 @@ Index: valgrind-3.8.1/configure.in
;;
*)
AC_MSG_RESULT([unsupported (${kernel})])
-@@ -805,124 +805,124 @@
+@@ -799,124 +799,124 @@ case "${GLIBC_VERSION}" in
2.2)
AC_MSG_RESULT(2.2 family)
AC_DEFINE([GLIBC_2_2], 1, [Define to 1 if you're using glibc 2.2.x])
@@ -189,18 +189,18 @@ Index: valgrind-3.8.1/configure.in
+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
- 2.16)
- AC_MSG_RESULT(2.16 family)
- AC_DEFINE([GLIBC_2_16], 1, [Define to 1 if you're using glibc 2.16.x])
+ 2.17)
+ AC_MSG_RESULT(2.17 family)
+ AC_DEFINE([GLIBC_2_17], 1, [Define to 1 if you're using glibc 2.17.x])
DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="$srcdir/glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
+ DEFAULT_SUPP="$srcdir/glibc-2.X-drd.supp ${DEFAULT_SUPP}"
;;
- 2.17)
- AC_MSG_RESULT(2.17 family)
- AC_DEFINE([GLIBC_2_17], 1, [Define to 1 if you're using glibc 2.17.x])
+ 2.18)
+ AC_MSG_RESULT(2.18 family)
+ AC_DEFINE([GLIBC_2_18], 1, [Define to 1 if you're using glibc 2.18.x])
DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
- DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
@@ -209,7 +209,7 @@ Index: valgrind-3.8.1/configure.in
;;
darwin)
AC_MSG_RESULT(Darwin)
-@@ -932,7 +932,7 @@
+@@ -926,7 +926,7 @@ case "${GLIBC_VERSION}" in
bionic)
AC_MSG_RESULT(Bionic)
AC_DEFINE([BIONIC_LIBC], 1, [Define to 1 if you're using Bionic])
@@ -218,7 +218,7 @@ Index: valgrind-3.8.1/configure.in
;;
*)
-@@ -949,11 +949,11 @@
+@@ -943,11 +943,11 @@ AC_SUBST(GLIBC_VERSION)
# attempt to detect whether such libraries are installed on the
# build machine (or even if any X facilities are present); just
# add the suppressions antidisirregardless.
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
index 9630960fee..80aac62789 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.8.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.9.0.bb
@@ -3,8 +3,8 @@ HOMEPAGE = "http://valgrind.org/"
BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
LICENSE = "GPLv2 & GPLv2+ & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
- file://include/pub_tool_basics.h;beginline=1;endline=29;md5=6b18ba0139d10678ce3a9969f68e4c6d \
- file://include/valgrind.h;beginline=1;endline=56;md5=b6bb5ab625a759823e17197ec3e2ee83 \
+ file://include/pub_tool_basics.h;beginline=1;endline=29;md5=e7071929a50d4b0fc27a3014b315b0f7 \
+ file://include/valgrind.h;beginline=1;endline=56;md5=92df8a1bde56fe2af70931ff55f6622f \
file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
X11DEPENDS = "virtual/libx11"
@@ -12,17 +12,13 @@ DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
PR = "r8"
SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
- file://fix_issue_caused_by_ccache.patch \
- file://fix_unsupporting_kernel_3.patch \
file://fixed-perl-path.patch \
file://Added-support-for-PPC-instructions-mfatbu-mfatbl.patch \
- file://configure-with-newer-glibc.patch \
file://sepbuildfix.patch \
- file://eglibc-2.18.patch \
"
-SRC_URI[md5sum] = "288758010b271119a0ffc0183f1d6e38"
-SRC_URI[sha256sum] = "473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db"
+SRC_URI[md5sum] = "0947de8112f946b9ce64764af7be6df2"
+SRC_URI[sha256sum] = "e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0"
COMPATIBLE_HOST = '(i.86|x86_64|powerpc|powerpc64).*-linux'
COMPATIBLE_HOST_armv7a = 'arm.*-linux'