diff options
author | Jérôme Pouiller <jezz@sysmic.org> | 2014-01-02 17:34:40 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-04 23:41:00 +0100 |
commit | bfbe4dd19e94fb24037e3b6080acd75435adbb67 (patch) | |
tree | a51697bf63e159759e85d15800d436fe343e3b05 /package/valgrind/valgrind-fix-ccache-support.patch | |
parent | 4e2b7057c65f06426b7c9b37df8ee9a3d1e62fb9 (diff) | |
download | buildroot-bfbe4dd19e94fb24037e3b6080acd75435adbb67.tar.gz buildroot-bfbe4dd19e94fb24037e3b6080acd75435adbb67.zip |
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
[Peter: drop unneeded AUTORECONF as configure.in no longer gets patched]
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/valgrind/valgrind-fix-ccache-support.patch')
-rw-r--r-- | package/valgrind/valgrind-fix-ccache-support.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/package/valgrind/valgrind-fix-ccache-support.patch b/package/valgrind/valgrind-fix-ccache-support.patch deleted file mode 100644 index 40ada8d81b..0000000000 --- a/package/valgrind/valgrind-fix-ccache-support.patch +++ /dev/null @@ -1,49 +0,0 @@ -Fix link_tool_exe_linux.in to work with ccache - -The link_tool_exe_linux.in Perl script makes the assumption that the -compilation command line is always: - - gcc -o foobar foobar.c -someflags - -I.e, it assumes that the compiler is the first word of the command -line. However, this is not true with ccache, where the command line -is: - - /path/to/ccache /path/to/crossgcc -o foobar foobar.c -someflags - -Therefore, we tune the script to take into account the case where -ccache is used. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/coregrind/link_tool_exe_linux.in -=================================================================== ---- a/coregrind/link_tool_exe_linux.in -+++ b/coregrind/link_tool_exe_linux.in -@@ -60,8 +60,16 @@ - die "Bogus alt-load address" - if (length($ala) < 3 || index($ala, "0x") != 0); - -+shift(@ARGV); -+ -+if ($ARGV[0] =~ /.*ccache/) { -+ shift(@ARGV); -+} -+ - # The cc invokation to do the final link --my $cc = $ARGV[1]; -+my $cc = $ARGV[0]; -+ -+shift(@ARGV); - - # and the 'restargs' are argv[2 ..] - -@@ -82,7 +90,7 @@ - } - - # Add the rest of the parameters --foreach my $n (2 .. $#ARGV) { -+foreach my $n (0 .. $#ARGV) { - $cmd = "$cmd $ARGV[$n]"; - } - |