summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-08-17 16:31:18 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-20 16:03:56 +0100
commit7e8f14d2d8c11d57ccd77974672bd959f8e95e35 (patch)
tree76e028c2ef5fbdf5cd8f5b16476cdb397886f6c9 /meta/packages
parent4cdaa1789a82a89121c0c2b91724848755f12863 (diff)
downloadpoky-7e8f14d2d8c11d57ccd77974672bd959f8e95e35.tar.gz
valgrind: upgrade for eglibc 2.12
the current version only works with libc upto 2.10 hence upgraded to support eglibc 2.12 Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/valgrind/valgrind/configurefix.patch16
-rw-r--r--meta/packages/valgrind/valgrind/fix_issue_caused_by_ccache.patch30
-rw-r--r--meta/packages/valgrind/valgrind/valgrind_3.5.0-svn_r11264.patch.bz2bin0 -> 3681800 bytes
-rw-r--r--meta/packages/valgrind/valgrind_3.5.0.bb11
4 files changed, 37 insertions, 20 deletions
diff --git a/meta/packages/valgrind/valgrind/configurefix.patch b/meta/packages/valgrind/valgrind/configurefix.patch
deleted file mode 100644
index f2e1442980..0000000000
--- a/meta/packages/valgrind/valgrind/configurefix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Index: valgrind-3.5.0/configure.in
2===================================================================
3--- valgrind-3.5.0.orig/configure.in 2009-09-03 23:38:46.000000000 +0100
4+++ valgrind-3.5.0/configure.in 2009-09-03 23:39:03.000000000 +0100
5@@ -1472,10 +1472,8 @@
6 #----------------------------------------------------------------------------
7 # Check for /proc filesystem
8 #----------------------------------------------------------------------------
9-AC_CHECK_FILES(/proc/self/fd /proc/self/exe /proc/self/maps,
10- [ AC_DEFINE([HAVE_PROC], 1, [can use /proc filesystem]) ],
11- [])
12
13+AC_DEFINE([HAVE_PROC], 1, [can use /proc filesystem])
14
15 #----------------------------------------------------------------------------
16 # Checks for C header files.
diff --git a/meta/packages/valgrind/valgrind/fix_issue_caused_by_ccache.patch b/meta/packages/valgrind/valgrind/fix_issue_caused_by_ccache.patch
new file mode 100644
index 0000000000..a5c273c45b
--- /dev/null
+++ b/meta/packages/valgrind/valgrind/fix_issue_caused_by_ccache.patch
@@ -0,0 +1,30 @@
1The script does not expect use of ccache, hence fix it to recognise it.
2
32010/08/17
4Nitin A Kamble <nitin.a.kamble@intel.com>
5
6Index: valgrind-3.5.0/coregrind/link_tool_exe_linux.in
7===================================================================
8--- valgrind-3.5.0.orig/coregrind/link_tool_exe_linux.in
9+++ valgrind-3.5.0/coregrind/link_tool_exe_linux.in
10@@ -62,6 +62,11 @@ die "Bogus alt-load address"
11
12 # The cc invokation to do the final link
13 my $cc = $ARGV[1];
14+my $next = 2;
15+if ("$cc" eq "ccache") {
16+ $cc = "$cc $ARGV[2]";
17+ $next = 3;
18+}
19
20 # and the 'restargs' are argv[2 ..]
21
22@@ -71,7 +76,7 @@ my $cc = $ARGV[1];
23 my $cmd="$cc -static -Wl,-Ttext=$ala";
24
25 # Add the rest of the parameters
26-foreach my $n (2 .. $#ARGV) {
27+foreach my $n ($next .. $#ARGV) {
28 $cmd = "$cmd $ARGV[$n]";
29 }
30
diff --git a/meta/packages/valgrind/valgrind/valgrind_3.5.0-svn_r11264.patch.bz2 b/meta/packages/valgrind/valgrind/valgrind_3.5.0-svn_r11264.patch.bz2
new file mode 100644
index 0000000000..66b3698f25
--- /dev/null
+++ b/meta/packages/valgrind/valgrind/valgrind_3.5.0-svn_r11264.patch.bz2
Binary files differ
diff --git a/meta/packages/valgrind/valgrind_3.5.0.bb b/meta/packages/valgrind/valgrind_3.5.0.bb
index c4210263ab..d8accb3c83 100644
--- a/meta/packages/valgrind/valgrind_3.5.0.bb
+++ b/meta/packages/valgrind/valgrind_3.5.0.bb
@@ -3,19 +3,22 @@ HOMEPAGE = "http://valgrind.org/"
3BUGTRACKER = "http://valgrind.org/support/bug_reports.html" 3BUGTRACKER = "http://valgrind.org/support/bug_reports.html"
4LICENSE = "GPLv2+ & BSD & FDLv1.2" 4LICENSE = "GPLv2+ & BSD & FDLv1.2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \ 5LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
6 file://include/pub_tool_basics.h;beginline=1;endline=29;md5=db4e6fac5f1db2d462f2100c9874297b \ 6 file://include/pub_tool_basics.h;beginline=1;endline=29;md5=b4765f122b7672cdf9b2e8fd75a33172 \
7 file://include/valgrind.h;beginline=1;endline=56;md5=432729351dcaf9c2f772316c0ea47343 \ 7 file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e \
8 file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215" 8 file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
9DEPENDS = "virtual/libx11" 9DEPENDS = "virtual/libx11"
10PR = "r2" 10PR = "r3"
11 11
12SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ 12SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
13 file://configurefix.patch" 13 file://valgrind_3.5.0-svn_r11264.patch.bz2 \
14 file://fix_issue_caused_by_ccache.patch "
14 15
15COMPATIBLE_HOST = 'i.86.*-linux' 16COMPATIBLE_HOST = 'i.86.*-linux'
16 17
17inherit autotools 18inherit autotools
18 19
19EXTRA_OECONF = "--enable-tls" 20EXTRA_OECONF = "--enable-tls"
21EXTRA_OEMAKE = "-w"
22PARALLEL_MAKE = ""
20 23
21FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" 24FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*"