* [PATCH 0/1] [PULL] valgrind:fix bug 1129 for supporting kernel 3.0
@ 2011-08-09 8:30 Lin Tong
2011-08-09 8:30 ` [PATCH 1/1] valgrind: supporting Linux " Lin Tong
0 siblings, 1 reply; 3+ messages in thread
From: Lin Tong @ 2011-08-09 8:30 UTC (permalink / raw)
To: openembedded-core
Hi Saul,
This pull request adds 3.0 kernel supports in valgrind's configure.in, which fixed bug 1129. Please help to review and pull.
[YOCTO #1129]
Thanks,
Tong
The following changes since commit 19252e0592c59ed0fb06ca510d11e564518f746d:
Nitin A Kamble (1):
x86 tune inc files: add x32 abi tune parameters
are available in the git repository at:
git://git.pokylinux.org/poky-contrib tlin100/bug1129
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tlin100/bug1129
Lin Tong (1):
valgrind: supporting Linux kernel 3.0
.../valgrind-3.6.1/fix_3.0_kernel_support.patch | 26 ++++++++++++++++++++
meta/recipes-devtools/valgrind/valgrind_3.6.1.bb | 3 +-
2 files changed, 28 insertions(+), 1 deletions(-)
create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] valgrind: supporting Linux kernel 3.0
2011-08-09 8:30 [PATCH 0/1] [PULL] valgrind:fix bug 1129 for supporting kernel 3.0 Lin Tong
@ 2011-08-09 8:30 ` Lin Tong
2011-08-09 8:26 ` Koen Kooi
0 siblings, 1 reply; 3+ messages in thread
From: Lin Tong @ 2011-08-09 8:30 UTC (permalink / raw)
To: openembedded-core
The old valgrind package do not support for Linux kernel 3.0, only for kernel 2.6 and 2.4
Now adding the new configuration to the configure.in file to support Linux kernel 3.0
This commit fixes the problem in valgrind[YOCTO #1129]
Signed-off-by: Lin Tong <tong.lin@intel.com>
---
.../valgrind-3.6.1/fix_3.0_kernel_support.patch | 26 ++++++++++++++++++++
meta/recipes-devtools/valgrind/valgrind_3.6.1.bb | 3 +-
2 files changed, 28 insertions(+), 1 deletions(-)
create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
diff --git a/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch b/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
new file mode 100644
index 0000000..54fc481
--- /dev/null
+++ b/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
@@ -0,0 +1,26 @@
+valgrind:Add "3.0.*" statement to the "case" statement for supporting the kernel 3.0.* .
+
+Signed-off-by: Tong Lin <tong.lin@intel.com>
+
+Upstream-Status: Pending
+
+diff --git a/configure.in b/configure.in
+index 3878619..f09720e 100644
+--- a/configure.in
++++ b/configure.in
+@@ -229,10 +229,13 @@ 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.0.*)
++ AC_MSG_RESULT([3.0 family (${kernel})])
++ AC_DEFINE([KERNEL_3_0], 1, [Define to 1 if you're using Linux 3.0.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.0])
+ ;;
+ esac
+
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
index d5dcdd6..6ce2a00 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.6.1.bb
@@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c46082167a314d785d012a244748d803 \
file://include/valgrind.h;beginline=1;endline=56;md5=13a71cedba99112334d8596162aec37e \
file://COPYING.DOCS;md5=8fdeb5abdb235a08e76835f8f3260215"
DEPENDS = "virtual/libx11"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \
file://fix_issue_caused_by_ccache.patch \
+ file://fix_3.0_kernel_support.patch \
file://fixed-perl-path.patch"
SRC_URI[md5sum] = "2c3aa122498baecc9d69194057ca88f5"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 1/1] valgrind: supporting Linux kernel 3.0
2011-08-09 8:30 ` [PATCH 1/1] valgrind: supporting Linux " Lin Tong
@ 2011-08-09 8:26 ` Koen Kooi
0 siblings, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2011-08-09 8:26 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
Op 9 aug. 2011, om 10:30 heeft Lin Tong het volgende geschreven:
> The old valgrind package do not support for Linux kernel 3.0, only for kernel 2.6 and 2.4
> Now adding the new configuration to the configure.in file to support Linux kernel 3.0
>
> This commit fixes the problem in valgrind[YOCTO #1129]
>
> Signed-off-by: Lin Tong <tong.lin@intel.com>
> ---
> .../valgrind-3.6.1/fix_3.0_kernel_support.patch | 26 ++++++++++++++++++++
> meta/recipes-devtools/valgrind/valgrind_3.6.1.bb | 3 +-
> 2 files changed, 28 insertions(+), 1 deletions(-)
> create mode 100644 meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
>
> diff --git a/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch b/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
> new file mode 100644
> index 0000000..54fc481
> --- /dev/null
> +++ b/meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_3.0_kernel_support.patch
> @@ -0,0 +1,26 @@
> +valgrind:Add "3.0.*" statement to the "case" statement for supporting the kernel 3.0.* .
> +
> +Signed-off-by: Tong Lin <tong.lin@intel.com>
> +
> +Upstream-Status: Pending
> +
> +diff --git a/configure.in b/configure.in
> +index 3878619..f09720e 100644
> +--- a/configure.in
> ++++ b/configure.in
> +@@ -229,10 +229,13 @@ 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.0.*)
> ++ AC_MSG_RESULT([3.0 family (${kernel})])
> ++ AC_DEFINE([KERNEL_3_0], 1, [Define to 1 if you're using Linux 3.0.x])
And that will break with 3.1.x, 3.2.x, etc. 3.1.x is approx 8 weeks away.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-09 8:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09 8:30 [PATCH 0/1] [PULL] valgrind:fix bug 1129 for supporting kernel 3.0 Lin Tong
2011-08-09 8:30 ` [PATCH 1/1] valgrind: supporting Linux " Lin Tong
2011-08-09 8:26 ` Koen Kooi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox