summaryrefslogtreecommitdiffstats
path: root/package/valgrind/valgrind-0004-remove-default-mips-flags.patch
diff options
context:
space:
mode:
authorJérôme Pouiller <jezz@sysmic.org>2014-09-23 11:45:42 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-23 20:14:57 +0200
commitdb26348c91bfaf3088683906baeef58cac8d6f6e (patch)
tree3567dd196376a3dbaf37ede18e463bc1ec892af5 /package/valgrind/valgrind-0004-remove-default-mips-flags.patch
parentcfd33b956e1e86c68c01c7692f2789a454c53c2c (diff)
downloadbuildroot-db26348c91bfaf3088683906baeef58cac8d6f6e.tar.gz
buildroot-db26348c91bfaf3088683906baeef58cac8d6f6e.zip
valgrind: bump to version 3.10
Patches status: valgrind-0001-workaround-SIGSEGV-on-PPC: Don't know. In doubt, I prefer to keep it. valgrind-0002-don-t-enable-largefile-support-unconditionally-on-uC: Seems still necessary valgrind-0003-Add-replacement-for-a.out.h: Upstreamed valgrind-0004-remove-default-mips-flags: Upstreamed valgrind-0005-glibc-2.19: Upstream now support glibc up to 2.20 Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/valgrind/valgrind-0004-remove-default-mips-flags.patch')
-rw-r--r--package/valgrind/valgrind-0004-remove-default-mips-flags.patch93
1 files changed, 0 insertions, 93 deletions
diff --git a/package/valgrind/valgrind-0004-remove-default-mips-flags.patch b/package/valgrind/valgrind-0004-remove-default-mips-flags.patch
deleted file mode 100644
index 14a493b826..0000000000
--- a/package/valgrind/valgrind-0004-remove-default-mips-flags.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From 374743e6faa9d3fc2fba1489e2ead8ea8ebd1f62 Mon Sep 17 00:00:00 2001
-From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Date: Mon, 31 Mar 2014 12:00:39 +0100
-Subject: [PATCH] mips32/64: Remove default flags -mips32 and -mips64 from Makefile.all.am
-
-During configuration of Valgrind we check does the compiler support
--march=mips32 and -march=mips64. If compiler supports these flags we are
-using them as default flags for mips32 and mips64.
-
-Original upstream patch:
- https://github.com/svn2github/valgrind/commit/fdf6c5aea4671c3c43c90230510735d215dd1e1c
-
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
----
- Makefile.all.am | 8 ++++----
- configure.ac | 40 ++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 44 insertions(+), 4 deletions(-)
-
-diff --git a/Makefile.all.am b/Makefile.all.am
-index 1f69802..405f11f 100644
---- a/Makefile.all.am
-+++ b/Makefile.all.am
-@@ -173,12 +173,12 @@ AM_CFLAGS_S390X_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -fomit-frame-pointer
- AM_CCASFLAGS_S390X_LINUX = @FLAG_M64@ -g -mzarch -march=z900
-
- AM_FLAG_M3264_MIPS32_LINUX = @FLAG_M32@
--AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) -mips32
--AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -mips32 -g
-+AM_CFLAGS_MIPS32_LINUX = @FLAG_M32@ $(AM_CFLAGS_BASE) @FLAG_MIPS32@
-+AM_CCASFLAGS_MIPS32_LINUX = @FLAG_M32@ -g @FLAG_MIPS32@
-
- AM_FLAG_M3264_MIPS64_LINUX = @FLAG_M64@
--AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) -mips64
--AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -mips64 -g
-+AM_CFLAGS_MIPS64_LINUX = @FLAG_M64@ $(AM_CFLAGS_BASE) @FLAG_MIPS64@
-+AM_CCASFLAGS_MIPS64_LINUX = @FLAG_M64@ -g @FLAG_MIPS64@
-
- # Flags for the primary target. These must be used to build the
- # regtests and performance tests. In fact, these must be used to
-diff --git a/configure.ac b/configure.ac
-index 229ab98..0e3884c 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1450,6 +1450,46 @@ CFLAGS=$safe_CFLAGS
- AC_SUBST(FLAG_M64)
-
-
-+# does this compiler support -march=mips32 (mips32 default) ?
-+AC_MSG_CHECKING([if gcc accepts -march=mips32])
-+
-+safe_CFLAGS=$CFLAGS
-+CFLAGS="$CFLAGS -march=mips32"
-+
-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
-+ return 0;
-+]])], [
-+FLAG_MIPS32="-march=mips32"
-+AC_MSG_RESULT([yes])
-+], [
-+FLAG_MIPS32=""
-+AC_MSG_RESULT([no])
-+])
-+CFLAGS=$safe_CFLAGS
-+
-+AC_SUBST(FLAG_MIPS32)
-+
-+
-+# does this compiler support -march=mips64 (mips64 default) ?
-+AC_MSG_CHECKING([if gcc accepts -march=mips64])
-+
-+safe_CFLAGS=$CFLAGS
-+CFLAGS="$CFLAGS -march=mips64"
-+
-+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
-+ return 0;
-+]])], [
-+FLAG_MIPS64="-march=mips64"
-+AC_MSG_RESULT([yes])
-+], [
-+FLAG_MIPS64=""
-+AC_MSG_RESULT([no])
-+])
-+CFLAGS=$safe_CFLAGS
-+
-+AC_SUBST(FLAG_MIPS64)
-+
-+
- # does this compiler support -mmmx ?
- AC_MSG_CHECKING([if gcc accepts -mmmx])
-
---
-1.7.1
-
OpenPOWER on IntegriCloud