summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-11-26 18:43:40 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-11-26 18:43:40 +0000
commit87a8d7bfad837651703af9bc4555815a11c646c5 (patch)
tree4e4baf89d5252c301d175cfb762546698b1576b0 /dev-util
parentTake maintainership, drop old revision (diff)
downloadhistorical-87a8d7bfad837651703af9bc4555815a11c646c5.tar.gz
historical-87a8d7bfad837651703af9bc4555815a11c646c5.tar.bz2
historical-87a8d7bfad837651703af9bc4555815a11c646c5.zip
Version bump
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/valgrind/ChangeLog8
-rw-r--r--dev-util/valgrind/Manifest25
-rw-r--r--dev-util/valgrind/files/valgrind-3.10.1-non-exec-stack.patch148
-rw-r--r--dev-util/valgrind/valgrind-3.10.1.ebuild106
4 files changed, 265 insertions, 22 deletions
diff --git a/dev-util/valgrind/ChangeLog b/dev-util/valgrind/ChangeLog
index 4b8db121dace..ef1f66e76af9 100644
--- a/dev-util/valgrind/ChangeLog
+++ b/dev-util/valgrind/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/valgrind
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.177 2014/09/13 00:57:21 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/ChangeLog,v 1.178 2014/11/26 18:43:34 blueness Exp $
+
+*valgrind-3.10.1 (26 Nov 2014)
+
+ 26 Nov 2014; Anthony G. Basile <blueness@gentoo.org>
+ +files/valgrind-3.10.1-non-exec-stack.patch, +valgrind-3.10.1.ebuild:
+ Version bump
*valgrind-3.10.0 (13 Sep 2014)
diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 595bd3e8e011..a081898e6963 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,7 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX valgrind-3.10.0-non-exec-stack.patch 6019 SHA256 9256d9c9132492bd937cfaffabfc061601d8f5f5b36adb6bdc53722df14117ee SHA512 8db8ae59ce4f4334c4ee8ea556d2ed5b4c2826bb5753239b47e6c5c3ca9cedc687731d145e8650f84c753a39d1d509bc5bf758204f5b4bdf99a20d2bbee21bdd WHIRLPOOL 3ea723057ba9834c6827a168cf781bd31733d4e50af135e3b08d06d7c2a6ac360e19beed1b58537e8d1f60054315e31d2abef1ed5febd297e17082892d7e2157
+AUX valgrind-3.10.1-non-exec-stack.patch 6019 SHA256 812560566e56c32db2ad3a97a2e52327d84648698987079ccf3843203c1e6ddc SHA512 015da8132bb72b81bd017b3e3faefb408a8f053676ff605bec411e40d9b7de21b197f660139df7e540756462406442325305d52ae0da04ac44ec66612fb1b0b3 WHIRLPOOL ddaf89092c4915662e6ba048668715f13e8634edc7cf490099870edda3b23799a76e3c677a430bf966295f84010829217aa0c0f887e48762969b805a365ef101
AUX valgrind-3.6.0-local-labels.patch 1388 SHA256 34ae13eda378677f1e662e0813f138de9b897d6592d20872c58ed8ac1bcf7def SHA512 079abe5bd99e2acf0e33a46db3772e264a2051d048c1cd34a4ee350395ea38b815f7909008ed1123324857ed25ab0159da4c5da37701570be012a0664481bbc6 WHIRLPOOL ba737636a547154947073478048f693bb28a9e353b8a1ac195d701bb8be69e182aa5d043b1c6085639c80752c68e5c8b26e3ec54bdcff7ac53ca71bc62768f58
AUX valgrind-3.7.0-automake-1.11.2.patch 1436 SHA256 c5cf935bcb74c1e890183602d34a3d86eae65844cfe034e517dc3667e48b278d SHA512 c450fa127f5516b4efe2cc7dacc3f0dd32ee9375d6f121f5a0f3ba0d5479003ec9a894cd27e954fe914661fb701024f6b5d4f4f02eb015245f6ee755e75fe9e2 WHIRLPOOL 058779e298d6a94dd9f95c93f18bc1cac40fe471d5850ccab38009f446f546c1c0ccc4181229f1b8e014b62dbc6b7d3f72cd1ed9dc260596acff1788632f15c9
AUX valgrind-3.7.0-fix-gcc-regex.patch 1723 SHA256 3a587d7dcc1ed447cc006cfef0cfb3597f17c96ac8adc7adbdc14d313a1d6852 SHA512 1ea7ea383302bfce2d9152379800b17eed986a5f19ccea08410a861d4a9a6613729e3e04caec4f5bda7d000c8f59d45af5caf089f80b8d114c470200b579badc WHIRLPOOL 6fd54592839aa1af8144c44f2b01afddbc454ca603bf328a981a1447b14f365ac5be6aff3412906f04b442e41e823d9b4c92e82ff727a7ffd5e6faa37ca3145f
@@ -16,30 +14,15 @@ AUX valgrind-3.8.1-glibc-2.17.patch 1001 SHA256 7d7c770691de9a732bfa62bb64a348bd
AUX valgrind-3.9.0-glibc-2.19.patch 1530 SHA256 5cb0b62569d6acf3bc30e168570effecfcccd8cd6d9d9f1ee201c99d74a960f6 SHA512 8f059c9cf61cab427538164fd11bc14d3be17d5f93a77b8ca33426c0bf2fee3b2d0797cd246ec50266cc5f6ebb602d877ab7eded0618836752fd14408a2d5a63 WHIRLPOOL 8556c35adb05b20f466ec6acc1ce4b8a4940cf29b576dc72623278a5eb35f269aa84edb1202bcf059daee1e0c2ff9f7a0828b8f1a0e31b12f6d30d24bf07da37
AUX valgrind-3.9.0-non-exec-stack.patch 5843 SHA256 a47fb06d20270670e88c562662e16f0b1824c18fc3baa34aa739351044d294ce SHA512 1c052362bb35f66f904bffb851f342ef9313125fc0b43949b14baedeea41cc33bd96595508de7cb0ea6960abeb699233d7780e27753c80757f27f2ca979bf127 WHIRLPOOL fa0849ccc0a82c79b7ca50dc78dbba21d84873d5c29b895ecf0b8ab5afd93a4bb674e9416af98361af9185d869e79b31d9dfbcd3b41f3ea72d2bea367670dbbe
DIST valgrind-3.10.0.tar.bz2 10898253 SHA256 03047f82dfc6985a4c7d9d2700e17bc05f5e1a0ca6ad902e5d6c81aeb720edc9 SHA512 c2d4b74ae6d1930a5c57e250229c5290212fbbc9cd8a624befe19d42766c1be9bb9a1597baf520587c489c0fdd50edca7480af670c6d5fbcf88d07fba0396f46 WHIRLPOOL 093ea60d739b357e3bf720bace349862a6d767d80e03a50e0f11b6ff4cc161de8edafbb1ba3824ee963cd3f0ea1e8ddcb7aa9d0a7c2bb66862cec90d7290e346
+DIST valgrind-3.10.1.tar.bz2 10967905 SHA256 fa253dc26ddb661b6269df58144eff607ea3f76a9bcfe574b0c7726e1dfcb997 SHA512 8f3d27637c13b06381b3dd44088244e0cf2f7008f40e46f34322f2a5bfa6373d29ce68ff49f19c48f1a5f139d8be5838b9606206e0ce2599c5f74c0db8ce2642 WHIRLPOOL 3d55f35b02195d9859d9192726ea708277f1d3339005d959baa224822c5b71f5347cdd28c7fd8153c10d1e3282855e853caf9c7192751bebdbbc3444c33d885a
DIST valgrind-3.7.0.tar.bz2 6624216 SHA256 5d62c0330f1481fe2c593249192fa68ff454c19c34343978cc9ce91aa324cbf6 SHA512 0ccf6607fe6d26f0dc0f3d6e45f84645925d0a90ce4ecf6acfc6b4d374d3e909b2a628b03c0a964a45d2462cca6877f818a5f72b3e4a5bbf3a2d9b8a9a343d5f WHIRLPOOL 44bf8c423d6f3222f5e777333acc21e94dfa680509b2152289129961296d8afc090466b6407248b6e172b3c42da5448206f257bd63f8e44aba01007f92a6fde1
DIST valgrind-3.8.1.tar.bz2 7962963 SHA256 473be00576bed311a662b277a2bfbe97d9cca4058e68619a0e420c9fc19958db SHA512 ba31f5d43bd2d9533846bed6456a0eae40ac071ff8732201dd75c9e2cd7e9ce3224cb5928b9c8fc859a75ce6867a9b6a1fb2ba8ab62cd3944893d6d4156ab25c WHIRLPOOL 81e63bb649455ed29fcd60fc7f3cebde456a610118b9b24530d3b2e8aa4a7561369e992af86ffb158e1f7fc0db7b91738564402931a947a79bb789bd26a8e065
DIST valgrind-3.9.0.tar.bz2 10003156 SHA256 e6af71a06bc2534541b07743e1d58dc3caf744f38205ca3e5b5a0bdf372ed6f0 SHA512 4b748f9f9a647df50db75fb56f83ee2f25bad9f1f4e4f05c4ac1d1e919e6cd954975c1f325dbedb509c44be1a8516ac2a5f269090946a0d728166ab183016c7b WHIRLPOOL e73c4dcdff829a34889f5654c5ec314f32d2c33f9e64bde3f811359a252749a6c677db80bf2aa2647f935cd38a0ccc19c0358a7b13198032c5d636f97e9e71de
EBUILD valgrind-3.10.0.ebuild 3407 SHA256 49e0bcf9ea3faeaf058e1a11442121d480e6a8436e3f1a6987671afa3a756c3d SHA512 b3e1a485807ee221ce36ce9998827d82a0d924358e44b2ab3c533a7795bd61c311823a5878aeb47f7ec83f190be6928541114ca76c7f9f1bc3d1731f18a8a189 WHIRLPOOL 083e025e203c2b8690981ad2996cf55de0fc695e70e12a92097ad79686d870dd5239b894cd27c8524e748bd52f8a0f5a3749511d37864b06ef9622bb5c366c02
+EBUILD valgrind-3.10.1.ebuild 3407 SHA256 eae87551f737f6a5caa6a6d2f311bc2c0af4ec16d7919bfc80a678227cae0067 SHA512 60d2b3e9affbe31101e432c1ff2f2d1a8c8782ed135cfb3f054735440b59ed77a9d991749cde3699b0e046a1502163f25f4846d2278c646fd36cd41cfe8a6bf3 WHIRLPOOL 69f1bd6088db684ac7a697e66f0e1dca1e10b6a6f522e138b99b2d8f2358459c037a018467c5def88c58436380b69d3c32496ced84c8c7efeacba195a3320ec8
EBUILD valgrind-3.7.0-r4.ebuild 3577 SHA256 f95fa83714c79d8c05f5c6f43b93ab91eb47c0a50e37faed055eab2cf5fd30ed SHA512 a4e2586606ab100d16cf3bad564aae5012796826a016c18fb85def0d8b72177ad8a4fa11bde322a8f8e9543f16ae874dc237d83c7efbb88db4a5676fb00d1364 WHIRLPOOL 16885e75e7383ee040ec825fa22bd68bf99fe8062d81e5ea008f84e573b0552d3514182c3c570b75cfa19313147de49e7557ba8d78687d875756b1c9c1251777
EBUILD valgrind-3.8.1-r1.ebuild 3533 SHA256 6bc0e374e2e226a0767e2da9fff2f6563403642c7e293bd3f7ca59f1335cc951 SHA512 d70c3cfb871b628a5ade6f6e401f0a07fec4856a80ab42fe9367f55cc3754b4efb36273a339c96f44db3eae82be4b26c4a88392bebb257349465e2f2a424aff7 WHIRLPOOL 06e384fab7bc29959c887bdc241148531e3d465fd26985b0f438c39e6e4f28b8bd396e2f309e2e87c8c06e048ca7ca454f2ae050443510b5ff3b8d5be5e59080
EBUILD valgrind-3.8.1.ebuild 3418 SHA256 9244f56a4e98ab7cc6738f98012aa30192535e4a0011e8b75eeadb6515da94e9 SHA512 5edfb5cd3fc18b6afe2476b753762ac806cb1968cac8ceb4d1a3552e046bd078aa9974f38bad61c24104b1997fb69197244d4404982f1cfbd815a284a82cf085 WHIRLPOOL d66919af12d551d1102a43ac1c9d5643304791a876e1f1bdb81bf4784640b0c7dffa2b6867e59aa6873a0736581ccc96bf7a962348cdd9358c23a615338a641b
EBUILD valgrind-3.9.0.ebuild 3402 SHA256 27e1d9fbdfe4e1c29665f314fc370e55aec9973d8961bf7ac46b11c8ed7b4b36 SHA512 8dec3dcbaf96f48d1ab9720637de33ebaad944e6424e94c1215cb4470beacb7f62c909a6debc1f5c245d359a701a5e7597e5c1eb7b6e9a2dd38ba255a4d58b84 WHIRLPOOL 1414c2e457ceb831e6146c0477e70930ab5621564f79803a2a1236e8f7c19e0d8a358d3ddfc8d05eedd15f462c4fcbd78cb109d94183e57084e15eaec93f62f0
-MISC ChangeLog 29879 SHA256 4fe88f9aa666a3cafe3ea47001c9acb9fa9d52587374f09dfc9813578f1865d4 SHA512 ef391d7d4eaa6ef3259c6b5980851d355679ca5dd863ec47cb784f217930c82cfd4f5f33f0f8196ab2c5b07870abae01a18f69e1fcbecbb9b331df56835a176f WHIRLPOOL 84c59b292cd3885f1366fb2e0c906ab92bbee98df303ccb700a1ab334df6e9a534a3829223f6ae637c5c8235a9913bccb9e84254b878a17977ea473c928ce03c
+MISC ChangeLog 30054 SHA256 8c3cd331a5890384ee8a409541d8569ba8015f7395c0b72f3242173a67cfe91d SHA512 330906095479455adf45125840e66615d5871161b0a8242835eacf142c7fbbbd90fb64703b609a96b5b621f3ea9eaeac64cbafab743cf6e94cf53880805b5878 WHIRLPOOL fd8a4c259b5ee803a02210cfc1cf0798f98c5b35f411ef3e03033ae725df2c53b9714ec16eaa4f2cc442edef10d228ebc746be35c2a3c314443c14f624a75e69
MISC metadata.xml 1013 SHA256 69a104cb454bfa145365c6eb7740c8331851c1b1cf9c507a3a787995e5a47aa6 SHA512 8ed29082b4adbdde40d277f465d7e2faa404b537c5bd7d7812ef9632648750763f66506596d392d090286f5681047a60541c483195e3756d8ec7725f66de3457 WHIRLPOOL 93c2f17dfeb55910707e3789e028dc75b5efe7786dd8c785432c8cf50044d4b3b97975ed57f6cc26e8a6a259b462a0ad2784707e0969f02ff9b3614b78fc0536
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
-
-iQIcBAEBCAAGBQJUE5cUAAoJEJOE+m71LUu6Kd0QAKSm3FpHEXelq7v0fEwe+0cU
-U8tca0RzxWvbNxJfaE2J8L3VF4rt/sXuBRS+0iRwLA46q4kDF17zUyZI+OAnL3aq
-zLrWiAtIy7wJ/uncDeckcHz0FCa14gUwI4yRjsW1GCcNnuhpKIRe+/TuT0UCz8ap
-J5pxtuLJONmVo/7p/AMiirfwDmEiXQwb2f7s09rOzMbNu6yPXypfm/vsBW1BQy0i
-wWZRfFpx4yi36EyV9rx0JhBVT57u63wkIZP84d3Q/RbsLleMn+n2DqRo+izRoj6h
-E0lNV7SBQ9lVHeS0kBqk2MMvbdiLzrg5CGrNqThXjou8roUDqvN7Kuq9yXua3Lrl
-7Ly47x7tPQDkDTX9gLPJ1JcVywW0MLufliYGm1LGWt+tMRlGFNPVqQPRHpUqZj2Z
-tvxZW2zbzH+0qfYq3f7FJa76L1QfWKUuE9wLtDE13XYrVv4b+w/Sn9UNEqPyvU7k
-pu7HwA8RoCAAQS02VTLdjNXxuvMcGk2Nl48ZecDlJ2fAyRKy84Y7LcpsvbU4T4VD
-+e8FxMrf8zCgOWG3DyvKBcqYQ44UUcNQ4Y4EZEqT0v4l7hqUE4YN8pL2ln141LGV
-Djmz5Kh5hKBmJSLOFnJvHd9nBwIjiV0uwpEAES7kgZgw8ytpCxM+Ry+x1CB/IlDH
-/7eVYfHp3kuWsPBIBYCA
-=R0JA
------END PGP SIGNATURE-----
diff --git a/dev-util/valgrind/files/valgrind-3.10.1-non-exec-stack.patch b/dev-util/valgrind/files/valgrind-3.10.1-non-exec-stack.patch
new file mode 100644
index 000000000000..e25de99e7902
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.10.1-non-exec-stack.patch
@@ -0,0 +1,148 @@
+diff -Naur valgrind-3.10.1.orig/coregrind/Makefile.am valgrind-3.10.1/coregrind/Makefile.am
+--- valgrind-3.10.1.orig/coregrind/Makefile.am 2014-11-25 14:41:19.000000000 -0500
++++ valgrind-3.10.1/coregrind/Makefile.am 2014-11-26 13:36:44.113678744 -0500
+@@ -333,18 +333,6 @@
+ m_demangle/demangle.c \
+ m_demangle/dyn-string.c \
+ m_demangle/safe-ctype.c \
+- m_dispatch/dispatch-x86-linux.S \
+- m_dispatch/dispatch-amd64-linux.S \
+- m_dispatch/dispatch-ppc32-linux.S \
+- m_dispatch/dispatch-ppc64be-linux.S \
+- m_dispatch/dispatch-ppc64le-linux.S \
+- m_dispatch/dispatch-arm-linux.S \
+- m_dispatch/dispatch-arm64-linux.S \
+- m_dispatch/dispatch-s390x-linux.S \
+- m_dispatch/dispatch-mips32-linux.S \
+- m_dispatch/dispatch-mips64-linux.S \
+- m_dispatch/dispatch-x86-darwin.S \
+- m_dispatch/dispatch-amd64-darwin.S \
+ m_gdbserver/inferiors.c \
+ m_gdbserver/m_gdbserver.c \
+ m_gdbserver/regcache.c \
+@@ -368,8 +356,6 @@
+ m_initimg/initimg-pathscan.c \
+ m_mach/mach_basics.c \
+ m_mach/mach_msg.c \
+- m_mach/mach_traps-x86-darwin.S \
+- m_mach/mach_traps-amd64-darwin.S \
+ m_replacemalloc/replacemalloc_core.c \
+ m_scheduler/scheduler.c \
+ m_scheduler/sema.c \
+@@ -386,18 +372,6 @@
+ m_sigframe/sigframe-mips64-linux.c \
+ m_sigframe/sigframe-x86-darwin.c \
+ m_sigframe/sigframe-amd64-darwin.c \
+- m_syswrap/syscall-x86-linux.S \
+- m_syswrap/syscall-amd64-linux.S \
+- m_syswrap/syscall-ppc32-linux.S \
+- m_syswrap/syscall-ppc64be-linux.S \
+- m_syswrap/syscall-ppc64le-linux.S \
+- m_syswrap/syscall-arm-linux.S \
+- m_syswrap/syscall-arm64-linux.S \
+- m_syswrap/syscall-s390x-linux.S \
+- m_syswrap/syscall-mips32-linux.S \
+- m_syswrap/syscall-mips64-linux.S \
+- m_syswrap/syscall-x86-darwin.S \
+- m_syswrap/syscall-amd64-darwin.S \
+ m_syswrap/syswrap-main.c \
+ m_syswrap/syswrap-generic.c \
+ m_syswrap/syswrap-linux.c \
+@@ -420,6 +394,29 @@
+ m_ume/main.c \
+ m_ume/script.c
+
++COREGRIND_SOURCES_COMMON += \
++ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S \
++ m_syswrap/syscall-@VGCONF_ARCH_PRI@-@VGCONF_OS@.S
++
++if VGCONF_HAVE_PLATFORM_SEC
++COREGRIND_SOURCES_COMMON += \
++ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S \
++ m_syswrap/syscall-@VGCONF_ARCH_SEC@-@VGCONF_OS@.S
++endif
++
++if VGCONF_OS_IS_DARWIN
++COREGRIND_SOURCES_COMMON += \
++ m_dispatch/dispatch-@VGCONF_ARCH_PRI@-darwin.S \
++ m_syswrap/syscall-@VGCONF_ARCH_PRI@-darwin.S \
++ m_mach/mach_traps-@VGCONF_ARCH_PRI@-darwin.S
++if VGCONF_HAVE_PLATFORM_SEC
++COREGRIND_SOURCES_COMMON += \
++ m_dispatch/dispatch-@VGCONF_ARCH_SEC@-darwin.S \
++ m_syswrap/syscall-@VGCONF_ARCH_SEC@-darwin.S \
++ m_mach/mach_traps-@VGCONF_ARCH_SEC@-darwin.S
++endif
++endif
++
+ libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
+ $(COREGRIND_SOURCES_COMMON)
+ nodist_libcoregrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = \
+diff -Naur valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-amd64-linux.S valgrind-3.10.1/coregrind/m_dispatch/dispatch-amd64-linux.S
+--- valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-11-25 14:41:20.000000000 -0500
++++ valgrind-3.10.1/coregrind/m_dispatch/dispatch-amd64-linux.S 2014-11-26 13:30:11.840660890 -0500
+@@ -249,11 +249,11 @@
+
+ .size VG_(disp_run_translations), .-VG_(disp_run_translations)
+
++#endif // defined(VGP_amd64_linux)
++
+ /* Let the linker know we don't need an executable stack */
+ .section .note.GNU-stack,"",@progbits
+
+-#endif // defined(VGP_amd64_linux)
+-
+ /*--------------------------------------------------------------------*/
+ /*--- end ---*/
+ /*--------------------------------------------------------------------*/
+diff -Naur valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-x86-linux.S valgrind-3.10.1/coregrind/m_dispatch/dispatch-x86-linux.S
+--- valgrind-3.10.1.orig/coregrind/m_dispatch/dispatch-x86-linux.S 2014-11-25 14:41:20.000000000 -0500
++++ valgrind-3.10.1/coregrind/m_dispatch/dispatch-x86-linux.S 2014-11-26 13:30:11.840660890 -0500
+@@ -240,11 +240,11 @@
+
+ .size VG_(disp_run_translations), .-VG_(disp_run_translations)
+
++#endif // defined(VGP_x86_linux)
++
+ /* Let the linker know we don't need an executable stack */
+ .section .note.GNU-stack,"",@progbits
+
+-#endif // defined(VGP_x86_linux)
+-
+ /*--------------------------------------------------------------------*/
+ /*--- end ---*/
+ /*--------------------------------------------------------------------*/
+diff -Naur valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-amd64-linux.S valgrind-3.10.1/coregrind/m_syswrap/syscall-amd64-linux.S
+--- valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-amd64-linux.S 2014-11-25 14:41:20.000000000 -0500
++++ valgrind-3.10.1/coregrind/m_syswrap/syscall-amd64-linux.S 2014-11-26 13:30:11.840660890 -0500
+@@ -205,11 +205,11 @@
+ ML_(blksys_finished): .quad 5b
+ .previous
+
++#endif // defined(VGP_amd64_linux)
++
+ /* Let the linker know we don't need an executable stack */
+ .section .note.GNU-stack,"",@progbits
+
+-#endif // defined(VGP_amd64_linux)
+-
+ /*--------------------------------------------------------------------*/
+ /*--- end ---*/
+ /*--------------------------------------------------------------------*/
+diff -Naur valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-x86-linux.S valgrind-3.10.1/coregrind/m_syswrap/syscall-x86-linux.S
+--- valgrind-3.10.1.orig/coregrind/m_syswrap/syscall-x86-linux.S 2014-11-25 14:41:20.000000000 -0500
++++ valgrind-3.10.1/coregrind/m_syswrap/syscall-x86-linux.S 2014-11-26 13:30:11.840660890 -0500
+@@ -165,11 +165,11 @@
+ ML_(blksys_finished): .long 5b
+ .previous
+
++#endif // defined(VGP_x86_linux)
++
+ /* Let the linker know we don't need an executable stack */
+ .section .note.GNU-stack,"",@progbits
+
+-#endif // defined(VGP_x86_linux)
+-
+ /*--------------------------------------------------------------------*/
+ /*--- end ---*/
+ /*--------------------------------------------------------------------*/
diff --git a/dev-util/valgrind/valgrind-3.10.1.ebuild b/dev-util/valgrind/valgrind-3.10.1.ebuild
new file mode 100644
index 000000000000..a133ed875bff
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.10.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/valgrind/valgrind-3.10.1.ebuild,v 1.1 2014/11/26 18:43:34 blueness Exp $
+
+EAPI="4"
+inherit autotools eutils flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org"
+SRC_URI="http://www.valgrind.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Correct hard coded doc location
+ sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
+
+ # Don't force multiarch stuff on OSX, bug #306467
+ sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
+
+ # Respect CFLAGS, LDFLAGS
+ epatch "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+ # Changing Makefile.all.am to disable SSP
+ epatch "${FILESDIR}"/${PN}-3.7.0-fno-stack-protector.patch
+
+ # Yet more local labels, this time for ppc32 & ppc64
+ epatch "${FILESDIR}"/${PN}-3.6.0-local-labels.patch
+
+ # Don't build in empty assembly files for other platforms or we'll get a QA
+ # warning about executable stacks.
+ epatch "${FILESDIR}"/${PN}-3.10.1-non-exec-stack.patch
+
+ # glibc 2.19 fix
+ epatch "${FILESDIR}"/${PN}-3.9.0-glibc-2.19.patch
+
+ # Regenerate autotools files
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ # Respect ar, bug #468114
+ tc-export AR
+
+ # -fomit-frame-pointer "Assembler messages: Error: junk `8' after expression"
+ # while compiling insn_sse.c in none/tests/x86
+ # -fpie valgrind seemingly hangs when built with pie on
+ # amd64 (bug #102157)
+ # -fstack-protector more undefined references to __guard and __stack_smash_handler
+ # because valgrind doesn't link to glibc (bug #114347)
+ # -m64 -mx32 for multilib-portage, bug #398825
+ # -ggdb3 segmentation fault on startup
+ filter-flags -fomit-frame-pointer
+ filter-flags -fpie
+ filter-flags -fstack-protector
+ filter-flags -m64 -mx32
+ replace-flags -ggdb3 -ggdb2
+
+ if use amd64 || use ppc64; then
+ ! has_multilib_profile && myconf="${myconf} --enable-only64bit"
+ fi
+
+ # Force bitness on darwin, bug #306467
+ use x86-macos && myconf="${myconf} --enable-only32bit"
+ use x64-macos && myconf="${myconf} --enable-only64bit"
+
+ # Don't use mpicc unless the user asked for it (bug #258832)
+ if ! use mpi; then
+ myconf="${myconf} --without-mpicc"
+ fi
+
+ econf ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS FAQ.txt NEWS README*
+
+ pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # fix install_names on shared libraries, can't turn them into bundles,
+ # as dyld won't load them any more then, bug #306467
+ local l
+ for l in "${ED}"/usr/lib/valgrind/*.so ; do
+ install_name_tool -id "${EPREFIX}"/usr/lib/valgrind/${l##*/} "${l}"
+ done
+ fi
+}
+
+pkg_postinst() {
+ elog "Valgrind will not work if glibc does not have debug symbols."
+ elog "To fix this you can add splitdebug to FEATURES in make.conf"
+ elog "and remerge glibc. See:"
+ elog "https://bugs.gentoo.org/show_bug.cgi?id=214065"
+ elog "https://bugs.gentoo.org/show_bug.cgi?id=274771"
+ elog "https://bugs.gentoo.org/show_bug.cgi?id=388703"
+}