valgrind: bump to version 3.9.0
PATCH v2 1/1 valgrind: bump to version 3.9.0
Drop some patches:
- glibc 2.17 and 2.18 are now supported by upstream
- coregrind/link_tool_exe_linux.in has been reworked and should now support ccache
---
v2:
Fix subject of patch
Use -M option of git-send-email for better reviewing.
... valgrind-0001-workaround-SIGSEGV-on-PPC.patch} | 19 +++++---
...-largefile-support-unconditionally-on-uC.patch} | 31 ++++++++++----
...algrind-0003-Add-replacement-for-a.out.h.patch} | 21 +++++++--
...grind-add-support-for-glibc-2.17-and-2.18.patch | 50 ----------------------
package/valgrind/valgrind-fix-ccache-support.patch | 49 ---------------------
package/valgrind/valgrind.mk | 2 +-
6 files changed, 54 insertions(+), 118 deletions(-)
rename package/valgrind/{valgrind-workaround-SIGSEGV-on-PPC.patch => valgrind-0001-workaround-SIGSEGV-on-PPC.patch} (53%)
rename package/valgrind/{valgrind-largefile.patch => valgrind-0002-don-t-enable-largefile-support-unconditionally-on-uC.patch} (64%)
rename package/valgrind/{valgrind-dont-include-a-out-header.patch => valgrind-0003-Add-replacement-for-a.out.h.patch} (69%)
delete mode 100644 package/valgrind/valgrind-add-support-for-glibc-2.17-and-2.18.patch
delete mode 100644 package/valgrind/valgrind-fix-ccache-support.patchpackage/valgrind/valgrind-0001-workaround-SIGSEGV-on-PPC.patch renamed from package/valgrind/valgrind-workaround-SIGSEGV-on-PPC.patch +13 -6
@@ -1,15 +1,19 @@ -From db894abcaa12555f60880a15840010f81d354806 Mon Sep 17 00:00:00 2001 +From 872ade34d6af973ca88d5accd9e819216ecb94ba Mon Sep 17 00:00:00 2001 From: Pierre Habouzit <[email protected]> Date: Tue, 10 May 2011 23:11:45 +0200 -Subject: [PATCH] workaround SIGSEGV on PPC. +Subject: [PATCH 1/3] workaround SIGSEGV on PPC. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Habouzit <[email protected]> +Signed-off-by: J?r?me Pouiller <[email protected]> --- - coregrind/m_machine.c | 4 ++++ - 1 files changed, 4 insertions(+), 0 deletions(-) + coregrind/m_machine.c | 4 ++++ + 1 file changed, 4 insertions(+) -Index: b/coregrind/m_machine.c -=================================================================== +diff --git a/coregrind/m_machine.c b/coregrind/m_machine.c +index 28a180e..8426551 100644 --- a/coregrind/m_machine.c +++ b/coregrind/m_machine.c @@ -27,6 +27,10 @@
@@ -23,3 +27,6 @@ Index: b/coregrind/m_machine.c #include "pub_core_basics.h" #include "pub_core_vki.h" #include "pub_core_libcsetjmp.h" // setjmp facilities +-- +1.8.3.2 +
package/valgrind/valgrind-0002-don-t-enable-largefile-support-unconditionally-on-uC.patch renamed from package/valgrind/valgrind-largefile.patch +23 -8
@@ -1,13 +1,25 @@ -[PATCH] valgrind: don't enable largefile support unconditionally on uClibc +From 271d855c0ad94a2ec164e20173257a06cd83288d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= <[email protected]> +Date: Thu, 2 Jan 2014 16:00:06 +0100 +Subject: [PATCH 2/3] don't enable largefile support unconditionally on uClibc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit uClibc can be compiled without largefile support (and errors out if _FILE_OFFSET_BITS is set to 64), so don't define it if that combination is detected. Signed-off-by: Peter Korsgaard <[email protected]> +Signed-off-by: J?r?me Pouiller <[email protected]> +--- + coregrind/m_initimg/initimg-linux.c | 4 ++++ + coregrind/m_main.c | 4 ++++ + coregrind/m_ume/elf.c | 4 ++++ + 3 files changed, 12 insertions(+) -Index: b/coregrind/m_initimg/initimg-linux.c -=================================================================== +diff --git a/coregrind/m_initimg/initimg-linux.c b/coregrind/m_initimg/initimg-linux.c +index 9bcc05c..ffee30f 100644 --- a/coregrind/m_initimg/initimg-linux.c +++ b/coregrind/m_initimg/initimg-linux.c @@ -55,7 +55,11 @@
@@ -22,11 +34,11 @@ Index: b/coregrind/m_initimg/initimg-linux.c /* This is for ELF types etc, and also the AT_ constants. */ #include <elf.h> /* --- !!! --- EXTERNAL HEADERS end --- !!! --- */ -Index: b/coregrind/m_main.c -=================================================================== +diff --git a/coregrind/m_main.c b/coregrind/m_main.c +index 35c11e1..0372946 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c -@@ -2948,7 +2948,11 @@ +@@ -2997,7 +2997,11 @@ asm( /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ #define _GNU_SOURCE
@@ -38,8 +50,8 @@ Index: b/coregrind/m_main.c /* This is in order to get AT_NULL and AT_PAGESIZE. */ #include <elf.h> /* --- !!! --- EXTERNAL HEADERS end --- !!! --- */ -Index: b/coregrind/m_ume/elf.c -=================================================================== +diff --git a/coregrind/m_ume/elf.c b/coregrind/m_ume/elf.c +index b5b30e5..0766c74 100644 --- a/coregrind/m_ume/elf.c +++ b/coregrind/m_ume/elf.c @@ -48,7 +48,11 @@
@@ -54,3 +66,6 @@ Index: b/coregrind/m_ume/elf.c /* This is for ELF types etc, and also the AT_ constants. */ #include <elf.h> /* --- !!! --- EXTERNAL HEADERS end --- !!! --- */ +-- +1.8.3.2 +
package/valgrind/valgrind-0003-Add-replacement-for-a.out.h.patch renamed from package/valgrind/valgrind-dont-include-a-out-header.patch +17 -4
@@ -1,4 +1,10 @@ -Add replacement for <a.out.h> +From d560106f300dd2547c659511c8668d88a50eb577 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Pouiller?= <[email protected]> +Date: Thu, 2 Jan 2014 16:00:49 +0100 +Subject: [PATCH 3/3] Add replacement for <a.out.h> +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Valgrind includes <a.out.h> to get the definition of 'struct nlist'. However, while glibc directly defines 'struct nlist' in
@@ -15,12 +21,16 @@ easiest solution is to just replace the #include <a.out.h> in Valgrind code by a copy/paste of the 'struct nlist' definition. Signed-off-by: Thomas Petazzoni <[email protected]> +Signed-off-by: J?r?me Pouiller <[email protected]> +--- + coregrind/m_debuginfo/readstabs.c | 16 +++++++++++++++- + 1 file changed, 15 insertions(+), 1 deletion(-) -Index: b/coregrind/m_debuginfo/readstabs.c -=================================================================== +diff --git a/coregrind/m_debuginfo/readstabs.c b/coregrind/m_debuginfo/readstabs.c +index 70ad319..47f5bc7 100644 --- a/coregrind/m_debuginfo/readstabs.c +++ b/coregrind/m_debuginfo/readstabs.c -@@ -53,7 +53,21 @@ +@@ -54,7 +54,21 @@ /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ #if defined(VGO_linux)
@@ -43,3 +53,6 @@ Index: b/coregrind/m_debuginfo/readstabs.c #elif defined(VGO_darwin) # include <mach-o/nlist.h> # define n_other n_sect +-- +1.8.3.2 +
package/valgrind/valgrind-add-support-for-glibc-2.17-and-2.18.patch deleted +0 -50
50 lines not on this page · raw message
package/valgrind/valgrind-fix-ccache-support.patch deleted +0 -49
49 lines not on this page · raw message
package/valgrind/valgrind.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.8.1 +VALGRIND_VERSION = 3.9.0 VALGRIND_SITE = http://valgrind.org/downloads/ VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPLv2 GFDLv1.2
Signature · 1 line
1.8.3.2
PATCH v2 1/1 valgrind: bump to version 3.9.0
Quoted 15 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"J?r?me" == J?r?me Pouiller <[email protected]> writes:
Drop some patches:
- glibc 2.17 and 2.18 are now supported by upstream
- coregrind/link_tool_exe_linux.in has been reworked and should now support ccacheSigned-off-by J?r?me Pouiller <[email protected]>---
v2:
Fix subject of patch
Use -M option of git-send-email for better reviewing.+++
b/package/valgrind/valgrind.mk
package/valgrind/valgrind.mk line 10
Quoted 8 lines
package/valgrind/valgrind.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -VALGRIND_VERSION = 3.8.1 +VALGRIND_VERSION = 3.9.0 VALGRIND_SITE = http://valgrind.org/downloads/ VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPLv2 GFDLv1.2
We can also drop AUTORECONF as we're no longer patching configure.in.
Committed with that fixed, thanks.
Quoted 7 lines
Signature · 6 lines
1.8.3.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 valgrind: bump to version 3.9.0
In reply to Jérôme PouillerHello,
package/valgrind/valgrind.mk line 10
Quoted 5 lines · J?r?me Pouiller
package/valgrind/valgrind.mk +1
-1-VALGRIND_VERSION = 3.8.1 +VALGRIND_VERSION = 3.9.0 VALGRIND_SITE = http://valgrind.org/downloads/ VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPLv2 GFDLv1.2
One of the new features of Valgrind 3.9.0 is the addition of MIPS support. Maybe it would be good to enable Valgrind on these architectures. I'm adding Vincente and Markos in the Cc list, since they are our main MIPS contributors. They might probably be interested in doing this work, after testing on MIPS hardware.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 valgrind: bump to version 3.9.0
Quoted 16 lines · Thomas Petazzoni
Hello,
package/valgrind/valgrind.mk line 10
Quoted 5 lines · J?r?me Pouiller
package/valgrind/valgrind.mk +1
-1-VALGRIND_VERSION = 3.8.1 +VALGRIND_VERSION = 3.9.0 VALGRIND_SITE = http://valgrind.org/downloads/ VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 VALGRIND_LICENSE = GPLv2 GFDLv1.2One of the new features of Valgrind 3.9.0 is the addition of MIPS support. Maybe it would be good to enable Valgrind on these architectures. I'm adding Vincente and Markos in the Cc list, since they are our main MIPS contributors. They might probably be interested in doing this work, after testing on MIPS hardware.
Quoted 4 lines
Best regards,
Thomas
Hi Thomas,
I will let you know once we test this.
Signature · 1 line
markos