[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-11-08 Thread Sam James
commit: facd150b951eb0f535982b3358571359eb798cdb
Author: Paul Zander  gmail  com>
AuthorDate: Wed Nov  8 12:58:35 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  8 13:48:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=facd150b

dev-util/valgrind:  drop merged fortify patch

Patch has been merged upstream in
https://sourceware.org/git/?p=valgrind.git;a=commit;h=53e101f562fa89bbf92d658fba626e2397862a16

See https://bugs.kde.org/show_bug.cgi?id=402833#c10

Signed-off-by: Paul Zander  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33726
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index db1e7651ad3e..08632de09fad 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -44,7 +44,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
"${FILESDIR}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-   "${FILESDIR}"/${PN}-3.21.0-memcpy-fortify_source.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-10-31 Thread Sam James
commit: 5d92e85d7228170e28a298b0d5ba5760b472235e
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 31 18:51:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 31 18:51:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d92e85d

dev-util/valgrind: add 3.22.0, drop 3.22.0_rc1, drop 3.22.0_rc2

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest |   6 +-
 ...nd-3.22.0_rc1.ebuild => valgrind-3.22.0.ebuild} |   1 -
 dev-util/valgrind/valgrind-3.22.0_rc2.ebuild   | 153 -
 3 files changed, 2 insertions(+), 158 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 793bcdd247b7..f4270c750aac 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -2,7 +2,5 @@ DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260
 DIST valgrind-3.20.0.tar.bz2.asc 488 BLAKE2B 
12642e4f85c7b17bdb892221f74d80ce919554ffde3cdfa79ca27f4c5f8b48dac699084b8296b5cea285b5af660a0bc51c42b108a725be60002b14f0fda7eac7
 SHA512 
70dd20f15b159ffbf016c118046ee42160dd867415f1c565a92995952b1720ec36fc48557f6b523d28e6f675d62df10a4022e900fa4a104626b9e6ed6fe9ad6d
 DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 
1f7306d288eb5ecfb2b2f0b2dc68960ecd4a7213b96a2e4ecb9990a755e8c233b0e9d190c0f807019bde669f44a631c8dafe9eb521d739561e6f889f7bdaca5c
 SHA512 
3e86cda2f2d6cd30807fac7933ba2c46a97a2b4a868db989e6b0cceeadf029af7ee34ba900466a346948289aacb30f4399799bb83b97cc49a4d2d810441e5cfd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 
6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2
 SHA512 
114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
-DIST valgrind-3.22.0.RC1.tar.bz2 16414739 BLAKE2B 
21b59e3c749c9a4fdab91568c942bd8a2c21ecadb053c88aa11563c739f8c87f403cd2a2bf03a3c6556c750a0190f2a1c4ff445355991f16d6f6a58b0be50fa1
 SHA512 
0aa9e98a959808d20cce53575433f81973ef3de3acc313ef2700f58cf9b2b7ee951b5bc701ef8508f5c136cb14239bbe7d81ae4208679ba55150b3edfd6078f0
-DIST valgrind-3.22.0.RC1.tar.bz2.asc 488 BLAKE2B 
938e032fc51e40c816fa6cec4fd95c6f183692d4d30988355bbb217984245fc7a0e6f70314f998511ab081bd2c5feeb217b025dcc84173afe7db7c04a9ebc063
 SHA512 
6b6518c633d40431bcf6836b0f0b67b44d7bf04a7b598dcd9707f479607a8cf9f6ca9320ddbf0d972db084c7e5bb5a02f866f5dc95c06e973d35597bf2f65695
-DIST valgrind-3.22.0.RC2.tar.bz2 17316447 BLAKE2B 
c0f70549d760ad599dff7d8a045e74441f42e77c7c208e19c5cec7599036dad683ef22bfd3a82f1f200a0acfbed616c33501264ff37cea773e99a31553658c03
 SHA512 
6a15101f4b92454856850fc35b9c38fd7fb294bee422274a803331465f347a732dc71e52c28e2d489c8d08ec7c677c1041bd32aeb4f43dd91ee404d4f6fa1208
-DIST valgrind-3.22.0.RC2.tar.bz2.asc 488 BLAKE2B 
18a09f1edcaa1e26b821e30cb2cde962e3391c06bba1cac9dc72f304fd6e28d3f7586f0158b0429c792ea70ab3d9785b3e575bb1d700d4086f2a8279d35ae299
 SHA512 
117af5bb6758aab5a2bf2d18623254ce430399aea12c1943ee3c985ae1f0e579221144e9a0bf50ed03954f356264964c4d8f183b097739d810427bf876a212dd
+DIST valgrind-3.22.0.tar.bz2 16565502 BLAKE2B 
80024371b3e70521996077fba24e233097a6190477ced1b311cd41fead687dcc2511ac0ef723792488f4af08867dff3e1f474816fda09c1604b89059e31c2514
 SHA512 
2904c13f68245bbafcea70998c6bd20725271300a7e94b6751ca00916943595fc3fac8557da7ea8db31b54a43f092823a0a947bc142829da811d074e1fe49777
+DIST valgrind-3.22.0.tar.bz2.asc 488 BLAKE2B 
9e4d4cfac4dcc09bb62beeaa7b9f78bfafd0a6ae8d63e423ff81b7b8f5444a301e4c3030a241644c8070c36ee040832ce99f444678f22611457e325ceae18dd1
 SHA512 
c2317db564ef816d2b5d1a7f2f680dc1c6ea05abbffde660587946c986af179ea7ca2314d94c792f63f3043b6a44819ddf5661fd60ec2454a2c562e7d2711b36

diff --git a/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild 
b/dev-util/valgrind/valgrind-3.22.0.ebuild
similarity index 98%
rename from dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
rename to dev-util/valgrind/valgrind-3.22.0.ebuild
index 88c666067ac9..8a96006cd0eb 100644
--- a/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
+++ b/dev-util/valgrind/valgrind-3.22.0.ebuild
@@ -44,7 +44,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
"${FILESDIR}"/${PN}-3.21.0-glibc-2.34-suppressions.patch
-   "${FILESDIR}"/${PN}-3.21.0-memcpy-fortify_source.patch
 )
 
 src_prepare() {

diff --git a/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild 
b/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
deleted file mode 100644
index 88c666067ac9..
--- a/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# The Valgrind upstream maintainer also maintains it in Fedora and will
-# backport fixes there which haven't yet made it into a release. Keep an eye
-# on it for fixes we should 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-10-26 Thread Sam James
commit: a68b29fe6de946a5fa119cd84d7987181bdfb70f
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 16:39:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 16:47:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68b29fe

dev-util/valgrind: add 3.22.0_rc2

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest| 2 ++
 .../valgrind/{valgrind-.ebuild => valgrind-3.22.0_rc2.ebuild} | 4 ++--
 dev-util/valgrind/valgrind-.ebuild| 4 ++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 4b0b3cae4f4a..793bcdd247b7 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -4,3 +4,5 @@ DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 
1f7306d288eb5ecfb2b2f0b2dc68960ecd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 
6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2
 SHA512 
114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
 DIST valgrind-3.22.0.RC1.tar.bz2 16414739 BLAKE2B 
21b59e3c749c9a4fdab91568c942bd8a2c21ecadb053c88aa11563c739f8c87f403cd2a2bf03a3c6556c750a0190f2a1c4ff445355991f16d6f6a58b0be50fa1
 SHA512 
0aa9e98a959808d20cce53575433f81973ef3de3acc313ef2700f58cf9b2b7ee951b5bc701ef8508f5c136cb14239bbe7d81ae4208679ba55150b3edfd6078f0
 DIST valgrind-3.22.0.RC1.tar.bz2.asc 488 BLAKE2B 
938e032fc51e40c816fa6cec4fd95c6f183692d4d30988355bbb217984245fc7a0e6f70314f998511ab081bd2c5feeb217b025dcc84173afe7db7c04a9ebc063
 SHA512 
6b6518c633d40431bcf6836b0f0b67b44d7bf04a7b598dcd9707f479607a8cf9f6ca9320ddbf0d972db084c7e5bb5a02f866f5dc95c06e973d35597bf2f65695
+DIST valgrind-3.22.0.RC2.tar.bz2 17316447 BLAKE2B 
c0f70549d760ad599dff7d8a045e74441f42e77c7c208e19c5cec7599036dad683ef22bfd3a82f1f200a0acfbed616c33501264ff37cea773e99a31553658c03
 SHA512 
6a15101f4b92454856850fc35b9c38fd7fb294bee422274a803331465f347a732dc71e52c28e2d489c8d08ec7c677c1041bd32aeb4f43dd91ee404d4f6fa1208
+DIST valgrind-3.22.0.RC2.tar.bz2.asc 488 BLAKE2B 
18a09f1edcaa1e26b821e30cb2cde962e3391c06bba1cac9dc72f304fd6e28d3f7586f0158b0429c792ea70ab3d9785b3e575bb1d700d4086f2a8279d35ae299
 SHA512 
117af5bb6758aab5a2bf2d18623254ce430399aea12c1943ee3c985ae1f0e579221144e9a0bf50ed03954f356264964c4d8f183b097739d810427bf876a212dd

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
similarity index 96%
copy from dev-util/valgrind/valgrind-.ebuild
copy to dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
index 26eb51e592fd..7f177d462ac7 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
@@ -85,7 +85,7 @@ src_configure() {
#  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
# -fstack-protector-strong See -fstack-protector (bug #620402)
# -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on startup
+   # -fharden-control-flow-redundancy: breaks runtime ('jump to the 
invalid address stated on the next line')
# -flto*fails to build, bug #858509
filter-flags -fomit-frame-pointer
filter-flags -fstack-protector
@@ -93,7 +93,7 @@ src_configure() {
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
filter-flags -fsanitize -fsanitize=*
-   replace-flags -ggdb3 -ggdb2
+   filter-flags -fharden-control-flow-redundancy
filter-lto
 
if use amd64 || use ppc64; then

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 26eb51e592fd..7f177d462ac7 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -85,7 +85,7 @@ src_configure() {
#  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
# -fstack-protector-strong See -fstack-protector (bug #620402)
# -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on startup
+   # -fharden-control-flow-redundancy: breaks runtime ('jump to the 
invalid address stated on the next line')
# -flto*fails to build, bug #858509
filter-flags -fomit-frame-pointer
filter-flags -fstack-protector
@@ -93,7 +93,7 @@ src_configure() {
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
filter-flags -fsanitize -fsanitize=*
-   replace-flags -ggdb3 -ggdb2
+   filter-flags -fharden-control-flow-redundancy
filter-lto
 
if use amd64 || use ppc64; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-10-26 Thread Sam James
commit: 2176c84971534872e4208debeb0e5944c139256a
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 26 16:44:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 26 16:47:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2176c849

dev-util/valgrind: improve -fno-control-flow-hardening filtering

Pass -fno-* if supported.

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.22.0_rc1.ebuild | 5 +++--
 dev-util/valgrind/valgrind-3.22.0_rc2.ebuild | 1 +
 dev-util/valgrind/valgrind-.ebuild   | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild 
b/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
index 26eb51e592fd..88c666067ac9 100644
--- a/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
+++ b/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
@@ -85,7 +85,7 @@ src_configure() {
#  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
# -fstack-protector-strong See -fstack-protector (bug #620402)
# -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on startup
+   # -fharden-control-flow-redundancy: breaks runtime ('jump to the 
invalid address stated on the next line')
# -flto*fails to build, bug #858509
filter-flags -fomit-frame-pointer
filter-flags -fstack-protector
@@ -93,7 +93,8 @@ src_configure() {
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
filter-flags -fsanitize -fsanitize=*
-   replace-flags -ggdb3 -ggdb2
+   filter-flags -fharden-control-flow-redundancy
+   append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
filter-lto
 
if use amd64 || use ppc64; then

diff --git a/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild 
b/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
index 7f177d462ac7..88c666067ac9 100644
--- a/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
+++ b/dev-util/valgrind/valgrind-3.22.0_rc2.ebuild
@@ -94,6 +94,7 @@ src_configure() {
filter-flags -m64 -mx32
filter-flags -fsanitize -fsanitize=*
filter-flags -fharden-control-flow-redundancy
+   append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
filter-lto
 
if use amd64 || use ppc64; then

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 7f177d462ac7..88c666067ac9 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -94,6 +94,7 @@ src_configure() {
filter-flags -m64 -mx32
filter-flags -fsanitize -fsanitize=*
filter-flags -fharden-control-flow-redundancy
+   append-cflags $(test-flags-CC -fno-harden-control-flow-redundancy)
filter-lto
 
if use amd64 || use ppc64; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-10-23 Thread Sam James
commit: 6a94d242a47d04fe253c9af52e31aa61aec1b08f
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 23 07:47:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 07:47:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a94d242

dev-util/valgrind: add 3.22.0_rc1 (unkeyworded)

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest  |  2 ++
 ...{valgrind-.ebuild => valgrind-3.22.0_rc1.ebuild} | 17 ++---
 dev-util/valgrind/valgrind-.ebuild  | 17 ++---
 3 files changed, 30 insertions(+), 6 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 734b97b2aa83..4b0b3cae4f4a 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -2,3 +2,5 @@ DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260
 DIST valgrind-3.20.0.tar.bz2.asc 488 BLAKE2B 
12642e4f85c7b17bdb892221f74d80ce919554ffde3cdfa79ca27f4c5f8b48dac699084b8296b5cea285b5af660a0bc51c42b108a725be60002b14f0fda7eac7
 SHA512 
70dd20f15b159ffbf016c118046ee42160dd867415f1c565a92995952b1720ec36fc48557f6b523d28e6f675d62df10a4022e900fa4a104626b9e6ed6fe9ad6d
 DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 
1f7306d288eb5ecfb2b2f0b2dc68960ecd4a7213b96a2e4ecb9990a755e8c233b0e9d190c0f807019bde669f44a631c8dafe9eb521d739561e6f889f7bdaca5c
 SHA512 
3e86cda2f2d6cd30807fac7933ba2c46a97a2b4a868db989e6b0cceeadf029af7ee34ba900466a346948289aacb30f4399799bb83b97cc49a4d2d810441e5cfd
 DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 
6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2
 SHA512 
114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba
+DIST valgrind-3.22.0.RC1.tar.bz2 16414739 BLAKE2B 
21b59e3c749c9a4fdab91568c942bd8a2c21ecadb053c88aa11563c739f8c87f403cd2a2bf03a3c6556c750a0190f2a1c4ff445355991f16d6f6a58b0be50fa1
 SHA512 
0aa9e98a959808d20cce53575433f81973ef3de3acc313ef2700f58cf9b2b7ee951b5bc701ef8508f5c136cb14239bbe7d81ae4208679ba55150b3edfd6078f0
+DIST valgrind-3.22.0.RC1.tar.bz2.asc 488 BLAKE2B 
938e032fc51e40c816fa6cec4fd95c6f183692d4d30988355bbb217984245fc7a0e6f70314f998511ab081bd2c5feeb217b025dcc84173afe7db7c04a9ebc063
 SHA512 
6b6518c633d40431bcf6836b0f0b67b44d7bf04a7b598dcd9707f479607a8cf9f6ca9320ddbf0d972db084c7e5bb5a02f866f5dc95c06e973d35597bf2f65695

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
similarity index 92%
copy from dev-util/valgrind/valgrind-.ebuild
copy to dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
index 35e98ebeba1d..26eb51e592fd 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-3.22.0_rc1.ebuild
@@ -18,9 +18,15 @@ if [[ ${PV} ==  ]]; then
 else

VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/valgrind.gpg
inherit verify-sig
-   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+
+   MY_P="${P/_rc/.RC}"
+   SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2;
+   SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
+   S="${WORKDIR}"/${MY_P}
+
+   if [[ ${PV} != *_rc* ]] ; then
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   fi
 fi
 
 LICENSE="GPL-2"
@@ -105,6 +111,11 @@ src_configure() {
econf "${myconf[@]}"
 }
 
+src_test() {
+   # fxsave.o, tronical.o have textrels
+   emake LDFLAGS="${LDFLAGS} -Wl,-z,notext" check
+}
+
 src_install() {
default
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 35e98ebeba1d..26eb51e592fd 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -18,9 +18,15 @@ if [[ ${PV} ==  ]]; then
 else

VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/valgrind.gpg
inherit verify-sig
-   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+
+   MY_P="${P/_rc/.RC}"
+   SRC_URI="https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2;
+   SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${MY_P}.tar.bz2.asc )"
+   S="${WORKDIR}"/${MY_P}
+
+   if [[ ${PV} != *_rc* ]] ; then
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   fi
 fi
 
 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2023-08-28 Thread Sam James
commit: 1d76aa204945dc2626c7bdd16144f3844c9e5480
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 28 06:31:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 28 06:37:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d76aa20

dev-util/valgrind: backport two fixes (suppressions w/ new glibc, memcpy false 
positive)

1) Fix suppressions w/ >=glibc-2.34 (sort of >=glibc-2.38)

This might be a glibc-2.38 thing wrt why I started hitting it now but
I suspect it's actually because of 1f0fd3e2aee01e0c09e7103c8af4183b57faef49 
which
enabled ISA magic.

This breaks https://bugs.kde.org/show_bug.cgi?id=402833
Bug: https://bugs.kde.org/show_bug.cgi?id=453084
Bug: https://bugs.kde.org/show_bug.cgi?id=464671
Signed-off-by: Sam James  gentoo.org>

 .../valgrind-3.21.0-glibc-2.34-suppressions.patch  | 197 +
 .../valgrind-3.21.0-memcpy-fortify_source.patch|  26 +++
 ...grind-.ebuild => valgrind-3.21.0-r2.ebuild} |   6 +-
 dev-util/valgrind/valgrind-.ebuild |   2 +
 4 files changed, 228 insertions(+), 3 deletions(-)

diff --git 
a/dev-util/valgrind/files/valgrind-3.21.0-glibc-2.34-suppressions.patch 
b/dev-util/valgrind/files/valgrind-3.21.0-glibc-2.34-suppressions.patch
new file mode 100644
index ..c4111326cfa2
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.21.0-glibc-2.34-suppressions.patch
@@ -0,0 +1,197 @@
+commit e04914e10126d3a8de13302e958bbfd5e83a6637
+Author: Romain Geissler 
+Date:   Mon Jan 30 16:09:47 2023 +
+
+Fragile temporary fix for https://bugs.kde.org/show_bug.cgi?id=464671: 
avoid using @GLIBC_VERSION@ with our recent toolchains.
+
+This is fragile as it might a bit too many things (especially ld*.so, 
which maybe shall be written "ld-linux-*.so" to be a bit more robust)
+and also it doesn't work for glibc < 2.34.
+
+Ideally something similar to GLIBC_LIBC_PATH shall be introduced for ld.so 
and libdl.so, so that
+it covers both glibc < 2.34 and glibc >= 2.34.
+
+--- a/glibc-2.X.supp.in
 b/glibc-2.X.supp.in
+@@ -39,74 +39,74 @@
+ {
+dl-hack3-cond-1
+Memcheck:Cond
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
+ }
+ {
+dl-hack3-cond-2
+Memcheck:Cond
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libc-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:@GLIBC_LIBC_PATH@
+ }
+ {
+dl-hack3-cond-3
+Memcheck:Cond
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libc-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libc-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:@GLIBC_LIBC_PATH@
++   obj:@GLIBC_LIBC_PATH@
+ }
+ {
+dl-hack3-cond-4
+Memcheck:Cond
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:@GLIBC_LIBC_PATH@
+ }
+ 
+ {
+dl-hack4-64bit-addr-1
+Memcheck:Addr8
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
+ }
+ {
+dl-hack4-64bit-addr-2
+Memcheck:Addr8
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libc-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:@GLIBC_LIBC_PATH@
+ }
+ {
+dl-hack4-64bit-addr-3
+Memcheck:Addr8
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so*
++   obj:*/lib*/ld*.so*
++   obj:@GLIBC_LIBC_PATH@
+ }
+ 
+ {
+dl-hack5-32bit-addr-1
+Memcheck:Addr4
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
++   obj:*/lib*/ld*.so
++   obj:*/lib*/ld*.so
++   obj:*/lib*/ld*.so
+ }
+ {
+dl-hack5-32bit-addr-3
+Memcheck:Addr4
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
+-   obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
++   obj:*/lib*/ld*.so
++   obj:*/lib*/ld*.so
++   obj:@GLIBC_LIBC_PATH@
+ }
+ {
+dl-hack5-32bit-addr-4
+Memcheck:Addr4
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
+-   obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
+-   obj:*/lib*/ld-@GLIBC_VERSION@*.so
++   obj:*/lib*/ld*.so
++   obj:@GLIBC_LIBC_PATH@
++   obj:*/lib*/ld*.so
+ }
+ 
+ 
+@@ -124,7 +124,7 @@
+glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
+Memcheck:Cond
+fun:index
+-   obj:*ld-@GLIBC_VERSION@.*.so
++   obj:*/lib*/ld*.so*
+ }
+ {
+glibc-2.5.x-on-SuSE-10.2-(PPC)-2b
+@@ -136,7 +136,7 @@
+glibc-2.5.5-on-SuSE-10.2-(PPC)-2c
+Memcheck:Addr4
+fun:index
+-   obj:*ld-@GLIBC_VERSION@.*.so
++   obj:*/lib*/ld*.so*
+ }
+ {
+

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-08-28 Thread Sam James
commit: a16963d1deb42621326dc336bc43b1922b7cab02
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 28 06:39:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 28 06:39:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a16963d1

dev-util/valgrind: add note wrt Fedora cherry-picks

I've discussed this with mjw already and the plan is to hopefully have
a rolling branch upstream for cherry-picks, but add the note here for now.

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.21.0-r2.ebuild | 5 +
 dev-util/valgrind/valgrind-.ebuild  | 5 +
 2 files changed, 10 insertions(+)

diff --git a/dev-util/valgrind/valgrind-3.21.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r2.ebuild
index 8a4f5d8f4003..59d9e5a4d678 100644
--- a/dev-util/valgrind/valgrind-3.21.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r2.ebuild
@@ -3,6 +3,11 @@
 
 EAPI=8
 
+# The Valgrind upstream maintainer also maintains it in Fedora and will
+# backport fixes there which haven't yet made it into a release. Keep an eye
+# on it for fixes we should cherry-pick too:
+# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
+
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index c1a57f63331b..35e98ebeba1d 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -3,6 +3,11 @@
 
 EAPI=8
 
+# The Valgrind upstream maintainer also maintains it in Fedora and will
+# backport fixes there which haven't yet made it into a release. Keep an eye
+# on it for fixes we should cherry-pick too:
+# https://src.fedoraproject.org/rpms/valgrind/tree/rawhide
+
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-06-09 Thread Arthur Zamarin
commit: d53ee37b65a84dff5aec64d27689b8693f77c057
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 16:42:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 16:42:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d53ee37b

dev-util/valgrind: Stabilize 3.21.0-r1 x86, #908143

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
index 991f0b8934dc..7d3dd4bfcbbc 100644
--- a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-06-09 Thread Sam James
commit: 6157dac756829ab4fd604776ff042a6a2ebaaa92
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:37:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:38:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6157dac7

dev-util/valgrind: Stabilize 3.21.0-r1 ppc64, #908143

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
index d289c8900860..991f0b8934dc 100644
--- a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-06-09 Thread Arthur Zamarin
commit: e34c21a5fd07b9402f64b5b64a2e9520e02b6168
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:23:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:23:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e34c21a5

dev-util/valgrind: Stabilize 3.21.0-r1 arm64, #908143

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.21.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
index 7b6c9f5f76e8..d289c8900860 100644
--- a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-05-19 Thread Sam James
commit: 170d7d863c891b16b70f0a8a55a9df628ce0f6f6
Author: Sam James  gentoo  org>
AuthorDate: Sat May 20 04:17:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 04:17:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=170d7d86

dev-util/valgrind: install gdb auto-loads to std dir

This option is new in master.

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 7b6c9f5f76e8..a32a0da1588d 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -57,7 +57,9 @@ src_prepare() {
 }
 
 src_configure() {
-   local myconf=()
+   local myconf=(
+   --with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load
+   )
 
# Respect ar, bug #468114
tc-export AR



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-04-28 Thread Sam James
commit: a56f38e5eeb18e13d6d7068b6eb093fc646fc6fd
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 04:53:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 04:53:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56f38e5

dev-util/valgrind: cleanup bug links

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 6 +++---
 dev-util/valgrind/valgrind-3.21.0-r1.ebuild | 6 +++---
 dev-util/valgrind/valgrind-.ebuild  | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 131bcaad0a1a..4c4874401db0 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -135,7 +135,7 @@ pkg_postinst() {
elog "Valgrind will not work if libc (e.g. 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;
+   elog "https://bugs.gentoo.org/214065;
+   elog "https://bugs.gentoo.org/274771;
+   elog "https://bugs.gentoo.org/388703;
 }

diff --git a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
index 103c949ad515..7b6c9f5f76e8 100644
--- a/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
@@ -126,7 +126,7 @@ pkg_postinst() {
elog "Valgrind will not work if libc (e.g. 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;
+   elog "https://bugs.gentoo.org/214065;
+   elog "https://bugs.gentoo.org/274771;
+   elog "https://bugs.gentoo.org/388703;
 }

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 103c949ad515..7b6c9f5f76e8 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -126,7 +126,7 @@ pkg_postinst() {
elog "Valgrind will not work if libc (e.g. 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;
+   elog "https://bugs.gentoo.org/214065;
+   elog "https://bugs.gentoo.org/274771;
+   elog "https://bugs.gentoo.org/388703;
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-04-28 Thread Sam James
commit: 4fd1665450d08a529dceb4d61add6ffd881d7a7e
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 01:38:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 01:38:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd16654

dev-util/valgrind: drop extra musl patch from 3.21.0

See 
https://git.alpinelinux.org/aports/commit/?id=16d1a42e426bdafcd837339acbc5a8761bf40d6b,
I thought that we still needed this one as well but apparently not, so let's
drop it.

Signed-off-by: Sam James  gentoo.org>

 .../valgrind/{valgrind-3.21.0.ebuild => valgrind-3.21.0-r1.ebuild}  | 6 --
 dev-util/valgrind/valgrind-.ebuild  | 6 --
 2 files changed, 12 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.21.0.ebuild 
b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
similarity index 97%
rename from dev-util/valgrind/valgrind-3.21.0.ebuild
rename to dev-util/valgrind/valgrind-3.21.0-r1.ebuild
index 1dc6424e705b..103c949ad515 100644
--- a/dev-util/valgrind/valgrind-3.21.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.21.0-r1.ebuild
@@ -41,12 +41,6 @@ src_prepare() {
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
-   if use elibc_musl ; then
-   PATCHES+=(
-   "${FILESDIR}"/${PN}-3.13.0-malloc.patch
-   )
-   fi
-
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 1dc6424e705b..103c949ad515 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -41,12 +41,6 @@ src_prepare() {
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
-   if use elibc_musl ; then
-   PATCHES+=(
-   "${FILESDIR}"/${PN}-3.13.0-malloc.patch
-   )
-   fi
-
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-04-28 Thread Sam James
commit: be8056e9d7e6cc50a1b52286ca96864348c3ee67
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 29 00:27:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 00:27:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be8056e9

dev-util/valgrind: add 3.21.0

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest   |   2 +
 dev-util/valgrind/valgrind-3.21.0.ebuild | 138 +++
 2 files changed, 140 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 28151efc39af..734b97b2aa83 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,2 +1,4 @@
 DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260b985b8049c8c73a26151db6650b1607e8e53b614652c40962ea7382b9301c4b234a933c8d81f57e649ebf3f703e630
 SHA512 
d6bfb9284d0410134ee7e2a5975b13c01508dd5587b562947d8197b3c113b76fdfac88c4072948be68bbf0dbeb17b4d1acb1412ce898adaa83c30ae2c6a1c12b
 DIST valgrind-3.20.0.tar.bz2.asc 488 BLAKE2B 
12642e4f85c7b17bdb892221f74d80ce919554ffde3cdfa79ca27f4c5f8b48dac699084b8296b5cea285b5af660a0bc51c42b108a725be60002b14f0fda7eac7
 SHA512 
70dd20f15b159ffbf016c118046ee42160dd867415f1c565a92995952b1720ec36fc48557f6b523d28e6f675d62df10a4022e900fa4a104626b9e6ed6fe9ad6d
+DIST valgrind-3.21.0.tar.bz2 17449484 BLAKE2B 
1f7306d288eb5ecfb2b2f0b2dc68960ecd4a7213b96a2e4ecb9990a755e8c233b0e9d190c0f807019bde669f44a631c8dafe9eb521d739561e6f889f7bdaca5c
 SHA512 
3e86cda2f2d6cd30807fac7933ba2c46a97a2b4a868db989e6b0cceeadf029af7ee34ba900466a346948289aacb30f4399799bb83b97cc49a4d2d810441e5cfd
+DIST valgrind-3.21.0.tar.bz2.asc 488 BLAKE2B 
6297bc925c16526a51de4f589232a8d5bcb8d54bdc885c145d329deeba45b42d3a5a8a3f59d3fb240d3bd78be7fd30d95ceb33c7624afd3c99c51833d0fd16f2
 SHA512 
114e5cd2f7352e56099efa3b2c42d39ed24e42419bbaac1af5e2b5c4fa72a2ba38ac6b0c60b93460a0cce8819ca0c7fae6618599b2af809ac0ab4fa30fdb25ba

diff --git a/dev-util/valgrind/valgrind-3.21.0.ebuild 
b/dev-util/valgrind/valgrind-3.21.0.ebuild
new file mode 100644
index ..1dc6424e705b
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.21.0.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://valgrind.org;
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/valgrind.gpg
+   inherit verify-sig
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+if [[ ${PV} !=  ]] ; then
+   BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+fi
+
+PATCHES=(
+   # Respect CFLAGS, LDFLAGS
+   "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+   "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+)
+
+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
+
+   if use elibc_musl ; then
+   PATCHES+=(
+   "${FILESDIR}"/${PN}-3.13.0-malloc.patch
+   )
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   default
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/

2023-02-08 Thread Sam James
commit: 18bb41026c3e39a62c2d832afb81108b5bd1f83e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Feb  8 16:52:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  8 17:14:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18bb4102

dev-util/valgrind: remove unused file

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29485
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/files/musl.supp | 47 ---
 1 file changed, 47 deletions(-)

diff --git a/dev-util/valgrind/files/musl.supp 
b/dev-util/valgrind/files/musl.supp
deleted file mode 100644
index 69adac7bb5da..
--- a/dev-util/valgrind/files/musl.supp
+++ /dev/null
@@ -1,47 +0,0 @@
-# From: https://git.alpinelinux.org/aports/tree/main/valgrind/
-# Suppressions for musl libc
-# See: https://www.openwall.com/lists/musl/2017/06/15/4
-
-{
-   musl-dynlink-false-positive1
-   Memcheck:Leak
-   fun:calloc
-   fun:load_direct_deps
-   fun:load_deps
-   fun:load_deps
-   fun:__dls3
-   fun:__dls2b
-   fun:__dls2
-}
-
-{
-   musl-dynlink-false-positive2
-   Memcheck:Leak
-   fun:calloc
-   fun:load_direct_deps
-   fun:load_deps
-   fun:load_deps
-   fun:__dls3
-   fun:__dls2
-}
-
-{
-   musl-dynlink-false-positive3
-   Memcheck:Leak
-   fun:calloc
-   fun:load_library
-   fun:load_preload
-   fun:__dls3
-   fun:__dls2b
-   fun:__dls2
-}
-
-{
-   musl-dynlink-false-positive4
-   Memcheck:Leak
-   fun:calloc
-   fun:load_library
-   fun:load_preload
-   fun:__dls3
-   fun:__dls2
-}



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2023-02-03 Thread Sam James
commit: 692265a7c229589d0529db3982dded2e8de1f8a1
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 16:15:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 16:51:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692265a7

dev-util/valgrind: drop 3.19.0, 3.20.0

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest |   1 -
 .../valgrind/files/valgrind-3.19.0-clang-15.patch  |  33 --
 dev-util/valgrind/valgrind-3.19.0.ebuild   | 129 -
 dev-util/valgrind/valgrind-3.20.0.ebuild   | 129 -
 4 files changed, 292 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index c7f5d50fd001..28151efc39af 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,3 +1,2 @@
-DIST valgrind-3.19.0.tar.bz2 16403296 BLAKE2B 
d3ccd25789ec4d87a0ddab58d8098246a33a083505b42adaa94ee3af659cbe073e516bc98163ef56233e6cd9de2125839b71ee443fbc0db6557dcb35a6c05280
 SHA512 
f720a89dc4c4989cc5714bff9efe97529f71990bcfad7a92b889ce099c4326d6da07fa4d5fbab2e9125e20f352354f6178471e49e419b613a3c82c2a1c667ab2
 DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260b985b8049c8c73a26151db6650b1607e8e53b614652c40962ea7382b9301c4b234a933c8d81f57e649ebf3f703e630
 SHA512 
d6bfb9284d0410134ee7e2a5975b13c01508dd5587b562947d8197b3c113b76fdfac88c4072948be68bbf0dbeb17b4d1acb1412ce898adaa83c30ae2c6a1c12b
 DIST valgrind-3.20.0.tar.bz2.asc 488 BLAKE2B 
12642e4f85c7b17bdb892221f74d80ce919554ffde3cdfa79ca27f4c5f8b48dac699084b8296b5cea285b5af660a0bc51c42b108a725be60002b14f0fda7eac7
 SHA512 
70dd20f15b159ffbf016c118046ee42160dd867415f1c565a92995952b1720ec36fc48557f6b523d28e6f675d62df10a4022e900fa4a104626b9e6ed6fe9ad6d

diff --git a/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch 
b/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch
deleted file mode 100644
index 77b2e8b091a4..
--- a/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://sourceware.org/git/?p=valgrind.git;a=commit;h=1dbc46750f7f716ae3b9cf718380df77422379da
-https://bugs.gentoo.org/869320
-
-From: Paul Floyd 
-Date: Tue, 19 Apr 2022 22:03:01 +0200
-Subject: [PATCH] Bug 452779 Valgrind fails to build on FreeBSD 13.0 with
- llvm-devel (15.0.0)
-
-This fixes building.
-
-I may make the -lgcc and libgcc-sup conditonal on not using clang later.
 a/Makefile.tool.am
-+++ b/Makefile.tool.am
-@@ -16,14 +16,14 @@ TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@ = \
-   $(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
- endif
- 
--
--TOOL_LDADD_COMMON = -lgcc \
--  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
-+TOOL_LDADD_COMMON = -lgcc
- TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@ = \
--  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON)
-+  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON) \
-+  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
- if VGCONF_HAVE_PLATFORM_SEC
- TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@ = \
--  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON)
-+  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON) \
-+  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
- endif
- 
- 

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
deleted file mode 100644
index f7e812e805cc..
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://valgrind.org;
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-DEPEND="mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   # Respect CFLAGS, LDFLAGS
-   "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
-   "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
-   "${FILESDIR}"/${PN}-3.19.0-clang-15.patch
-)
-
-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
-
-   # Conditionally copy musl specific suppressions && apply patch
-   if use elibc_musl ; then
-   cp "${FILESDIR}/musl.supp" "${S}" || die
-   

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/, dev-util/valgrind/

2023-01-29 Thread Sam James
commit: 47e9795efeaedaf611cc959b1f8acaa51bb2f1f5
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 30 02:14:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 30 03:24:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e9795e

dev-util/valgrind: fix tests w/ gcc 13

Signed-off-by: Sam James  gentoo.org>

 .../valgrind/files/valgrind-3.20.0-gcc-13.patch| 44 ++
 dev-util/valgrind/valgrind-3.20.0-r2.ebuild|  1 +
 2 files changed, 45 insertions(+)

diff --git a/dev-util/valgrind/files/valgrind-3.20.0-gcc-13.patch 
b/dev-util/valgrind/files/valgrind-3.20.0-gcc-13.patch
new file mode 100644
index ..3d3644f85fc1
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.20.0-gcc-13.patch
@@ -0,0 +1,44 @@
+https://sourceware.org/git/?p=valgrind.git;a=commit;h=dee222c6e818ca43ac45952fc8a020f445d98781
+https://sourceware.org/git/?p=valgrind.git;a=commit;h=3155bacf26237beb65edb4a572402492b2f1b050
+
+From dee222c6e818ca43ac45952fc8a020f445d98781 Mon Sep 17 00:00:00 2001
+From: Paul Floyd 
+Date: Fri, 27 Jan 2023 08:30:41 +0100
+Subject: [PATCH] Bug 464859 - Build failures with GCC-13 (drd tsan_unittest)
+
+Patch submitted by
+   Khem Raj 
+--- a/drd/tests/tsan_thread_wrappers_pthread.h
 b/drd/tests/tsan_thread_wrappers_pthread.h
+@@ -55,6 +55,7 @@
+ #define NO_TLS
+ #endif
+ 
++#include 
+ #include 
+ using namespace std;
+ 
+-- 
+2.31.1
+
+From 3155bacf26237beb65edb4a572402492b2f1b050 Mon Sep 17 00:00:00 2001
+From: Mark Wielaard 
+Date: Sat, 28 Jan 2023 21:53:44 +0100
+Subject: [PATCH] tsan_thread_wrappers_pthread.h: Only include cstdint for
+ C++11
+
+Fixes build on older g++.
+--- a/drd/tests/tsan_thread_wrappers_pthread.h
 b/drd/tests/tsan_thread_wrappers_pthread.h
+@@ -55,7 +55,9 @@
+ #define NO_TLS
+ #endif
+ 
++#if __cplusplus >= 201103L
+ #include 
++#endif
+ #include 
+ using namespace std;
+ 
+-- 
+2.31.1

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 4c27c1d3c9b1..131bcaad0a1a 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -33,6 +33,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
"${FILESDIR}"/${P}-tests-clang16.patch
+   "${FILESDIR}"/${P}-gcc-13.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Arthur Zamarin
commit: 64c90bb3c3859458725bf91a9676bf2ad09a68b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 27 12:20:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 27 12:20:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c90bb3

dev-util/valgrind: Stabilize 3.20.0-r2 ppc, #892195

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 4c797921272d..4c27c1d3c9b1 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Arthur Zamarin
commit: 54303a5eba55b5ac6a27833017288766d1ab285a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 27 12:19:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 27 12:19:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54303a5e

dev-util/valgrind: Stabilize 3.20.0-r2 arm, #892195

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 0a02de2f891a..4c797921272d 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Jakov Smolić
commit: e566025f1732e22bc5470d104df84818dc26f438
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Jan 27 09:25:19 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Jan 27 09:25:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e566025f

dev-util/valgrind: Stabilize 3.20.0-r2 ppc64, #892195

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 79b1817046ef..0a02de2f891a 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Sam James
commit: 7d185e90653e0299c3c29d1253eaa732325762c9
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 08:20:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 08:20:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d185e90

dev-util/valgrind: Stabilize 3.20.0-r2 amd64, #892195

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 1dfdb29153e2..79b1817046ef 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Sam James
commit: aa9e90320fc0b1c9ca04b48df6127627868eedde
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 08:20:40 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 08:20:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9e9032

dev-util/valgrind: Stabilize 3.20.0-r2 arm64, #892195

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index f82a0bc0614f..1dfdb29153e2 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-27 Thread Sam James
commit: 7ee07cfe754d29a221ef83b27989651f2a67aceb
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 27 08:20:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 27 08:20:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ee07cfe

dev-util/valgrind: Stabilize 3.20.0-r2 x86, #892195

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 380fc17ef55f..f82a0bc0614f 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -15,7 +15,7 @@ else
inherit verify-sig
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
SRC_URI+=" verify-sig? ( 
https://sourceware.org/pub/valgrind/${P}.tar.bz2.asc )"
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-24 Thread Sam James
commit: f5691a05ce338b2b0b8033c0633f86afef83cff3
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 25 02:32:24 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 25 02:32:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5691a05

dev-util/valgrind: update HOMEPAGE (www. redirects)

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild| 2 +-
 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 2 +-
 dev-util/valgrind/valgrind-3.20.0.ebuild| 2 +-
 dev-util/valgrind/valgrind-.ebuild  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 949500bb17c8..f7e812e805cc 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://www.valgrind.org;
+HOMEPAGE="https://valgrind.org;
 if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index b9e8b41d028b..380fc17ef55f 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://www.valgrind.org;
+HOMEPAGE="https://valgrind.org;
 if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index bf165cdd0c9a..5d8a7a3727cd 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://www.valgrind.org;
+HOMEPAGE="https://valgrind.org;
 if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 8821f6a258ed..1dc6424e705b 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://www.valgrind.org;
+HOMEPAGE="https://valgrind.org;
 if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-23 Thread Sam James
commit: 5a9eea972d02e41732706531ec0835592eb18b1e
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 24 05:52:39 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 24 05:53:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9eea97

dev-util/valgrind: filter -fsanitize=*

Valgrind is too sensitive to changes like this.

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r2.ebuild | 1 +
 dev-util/valgrind/valgrind-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
index 007e802df576..b9e8b41d028b 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
@@ -85,6 +85,7 @@ src_configure() {
filter-flags -fstack-protector-all
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
+   filter-flags -fsanitize -fsanitize=*
replace-flags -ggdb3 -ggdb2
filter-lto
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index f9e4a6d3a45a..8821f6a258ed 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -83,6 +83,7 @@ src_configure() {
filter-flags -fstack-protector-all
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
+   filter-flags -fsanitize -fsanitize=*
replace-flags -ggdb3 -ggdb2
filter-lto
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: c9dd7116ce8b75e4e0ec6cc0083222194d5e3a94
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 01:11:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 01:12:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9dd7116

dev-util/valgrind: revbump for new musl patch

Thought I'd done this but got distracted w/ the other patch provenance
thing (3bc35e7313ee1b5f20454cf7c920b071854752b2).

Fixes: a87a1eec3f51d12790b03bc68c3d5690200ea0a3
Signed-off-by: Sam James  gentoo.org>

 .../valgrind/{valgrind-3.20.0-r1.ebuild => valgrind-3.20.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r2.ebuild
similarity index 100%
rename from dev-util/valgrind/valgrind-3.20.0-r1.ebuild
rename to dev-util/valgrind/valgrind-3.20.0-r2.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/, dev-util/valgrind/

2023-01-22 Thread Sam James
commit: a87a1eec3f51d12790b03bc68c3d5690200ea0a3
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 01:09:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 01:09:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87a1eec

dev-util/valgrind: add another musl patch

Without this, I got nonsensical results on musl on e.g. 'valgrind emerge'
within python-exec, as it couldn't handle fclose() properly.

Signed-off-by: Sam James  gentoo.org>

 .../files/valgrind-3.20.0-musl-interpose.patch | 30 ++
 dev-util/valgrind/valgrind-3.20.0-r1.ebuild|  5 +++-
 dev-util/valgrind/valgrind-.ebuild |  5 +++-
 3 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/files/valgrind-3.20.0-musl-interpose.patch 
b/dev-util/valgrind/files/valgrind-3.20.0-musl-interpose.patch
new file mode 100644
index ..6ede22f8b5ec
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.20.0-musl-interpose.patch
@@ -0,0 +1,30 @@
+https://bugs.kde.org/show_bug.cgi?id=435441
+
+From 460d0c9a6c27edfffed8ced623cecf64466619f2 Mon Sep 17 00:00:00 2001
+From: Michael Forney 
+Date: Thu, 4 Nov 2021 14:26:40 -0700
+Subject: [PATCH] Bug 435441 - Handle weak symbols as global for redirection
+
+Weak symbols are global but with lower precedence, so they should
+be handled the same way as global symbols during malloc replacement.
+
+This fixes valgrind on musl 1.2.2 when it is not patched with a
+soname (as is done on Alpine Linux).
+
+https://bugs.kde.org/show_bug.cgi?id=435441
+--- a/coregrind/m_debuginfo/readelf.c
 b/coregrind/m_debuginfo/readelf.c
+@@ -429,7 +429,8 @@ Bool get_elf_symbol_info (
+}
+ #  endif
+ 
+-   if (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL) {
++   if (ELFXX_ST_BIND(sym->st_info) == STB_GLOBAL
++   || ELFXX_ST_BIND(sym->st_info) == STB_WEAK) {
+   *is_global_out = True;
+}
+ 
+-- 
+2.32.0
+
+

diff --git a/dev-util/valgrind/valgrind-3.20.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
index 0be352c52d9b..0268876b1061 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
@@ -37,7 +37,10 @@ src_prepare() {
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
if use elibc_musl ; then
-   PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
+   PATCHES+=(
+   "${FILESDIR}"/${PN}-3.13.0-malloc.patch
+   "${FILESDIR}"/${PN}-3.20.0-musl-interpose.patch
+   )
fi
 
if [[ ${CHOST} == *-solaris* ]] ; then

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 82cd1992cc4f..b690f11f1222 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -36,7 +36,10 @@ src_prepare() {
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
if use elibc_musl ; then
-   PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
+   PATCHES+=(
+   "${FILESDIR}"/${PN}-3.13.0-malloc.patch
+   "${FILESDIR}"/${PN}-3.20.0-musl-interpose.patch
+   )
fi
 
if [[ ${CHOST} == *-solaris* ]] ; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: 16fa81ac4ea8e35dda5cfa19f758b785a49a
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 01:05:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 01:07:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16fa81ac

dev-util/valgrind: drop obsolete musl.supp

Added upstream a few releases ago. Same contents:
```
$ diff -ruN files/musl.supp 
/var/tmp/portage/dev-util/valgrind-3.20.0-r1/work/valgrind-3.20.0/musl.supp
--- files/musl.supp 2022-12-25 19:16:03.182576287 +
+++ /var/tmp/portage/dev-util/valgrind-3.20.0-r1/work/valgrind-3.20.0/musl.supp 
2021-01-21 15:09:33.0 +
@@ -1,4 +1,3 @@
-# From: https://git.alpinelinux.org/aports/tree/main/valgrind/
 # Suppressions for musl libc
 # See: https://www.openwall.com/lists/musl/2017/06/15/4
```

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0-r1.ebuild | 2 --
 dev-util/valgrind/valgrind-.ebuild  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
index beb459c7a08c..0be352c52d9b 100644
--- a/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
@@ -36,9 +36,7 @@ src_prepare() {
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
-   # Conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
-   cp "${FILESDIR}/musl.supp" "${S}" || die
PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
fi
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 13560a006c12..82cd1992cc4f 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -35,9 +35,7 @@ src_prepare() {
# Don't force multiarch stuff on OSX, bug #306467
sed -i -e 's:-arch \(i386\|x86_64\)::g' Makefile.all.am || die
 
-   # Conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
-   cp "${FILESDIR}/musl.supp" "${S}" || die
PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/

2023-01-22 Thread Sam James
commit: 3bc35e7313ee1b5f20454cf7c920b071854752b2
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 23 01:10:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 23 01:10:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bc35e73

dev-util/valgrind: drop misleading provenance comment in musl malloc patch

Per 
https://git.alpinelinux.org/aports/commit/main/valgrind?id=cd20c3c60433fd20b7e57723575a5944dc6ae42f,
this patch actually originated in Gentoo, so saying it's from Alpine is 
confusing.

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/files/valgrind-3.13.0-malloc.patch | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch 
b/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch
index ac6d90fef50f..d0eb795b84be 100644
--- a/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch
+++ b/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch
@@ -1,5 +1,3 @@
-From: https://git.alpinelinux.org/aports/tree/main/valgrind/
-
 --- valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c
 +++ valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c
 @@ -765,13 +765,15 @@ static void init(void);



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: 140aa156d5d24268142c7d26f7f45540c00d477b
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 23:11:17 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 23:11:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140aa156

dev-util/valgrind: stabilize 3.19.0 for arm

Closes: https://bugs.gentoo.org/869251
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 598db5186193..949500bb17c8 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: 89565bb727ad8c49573bdc2a7ebd2a397c277602
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 23:11:31 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 23:11:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89565bb7

dev-util/valgrind: stabilize 3.20.0 for arm

Closes: https://bugs.gentoo.org/19
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index 3988dcd1f6ae..bf165cdd0c9a 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: 71973ee92a342791f4ba24cf70643fe731cc6e17
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 23:11:58 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 23:11:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71973ee9

dev-util/valgrind: drop 3.18.1

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest   |   1 -
 dev-util/valgrind/valgrind-3.18.1.ebuild | 119 ---
 2 files changed, 120 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 756f26086c14..7c252f972069 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,3 +1,2 @@
-DIST valgrind-3.18.1.tar.bz2 16149159 BLAKE2B 
a98322e4c12ae1bc495659217bd398b85e459288e775ba5f543b9ce1faa5bdfc17791178c0e7b9703a31588cc4c7cbde814b7a43b2ec76e7362e2aeeb100d935
 SHA512 
a03b5cd7eafab4a1cea07f46464c1546ae1cb3d106649626b1e55658badf90e58d1f3854a38a33d5dffd8237fae7e1f27a4b40e06254f87825c7fc61b59b
 DIST valgrind-3.19.0.tar.bz2 16403296 BLAKE2B 
d3ccd25789ec4d87a0ddab58d8098246a33a083505b42adaa94ee3af659cbe073e516bc98163ef56233e6cd9de2125839b71ee443fbc0db6557dcb35a6c05280
 SHA512 
f720a89dc4c4989cc5714bff9efe97529f71990bcfad7a92b889ce099c4326d6da07fa4d5fbab2e9125e20f352354f6178471e49e419b613a3c82c2a1c667ab2
 DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260b985b8049c8c73a26151db6650b1607e8e53b614652c40962ea7382b9301c4b234a933c8d81f57e649ebf3f703e630
 SHA512 
d6bfb9284d0410134ee7e2a5975b13c01508dd5587b562947d8197b3c113b76fdfac88c4072948be68bbf0dbeb17b4d1acb1412ce898adaa83c30ae2c6a1c12b

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
deleted file mode 100644
index 1b0f898873ac..
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="https://www.valgrind.org;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
-fi
-
-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
-   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
-
-   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
-
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   # upstream doesn't support this, but we don't build with
-   # Sun/Oracle ld, we have a GNU toolchain, so get some things
-   # working the Linux/GNU way
-   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
-   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-   fi
-
-   # Allow users to test their own patches
-   eapply_user
-
-   # 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
-   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
-   #   because valgrind doesn't link to glibc (bug 
#114347)
-   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
-   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
-   # -fstack-protector-strong See -fstack-protector (bug #620402)
-   # -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on startup
-   filter-flags -fomit-frame-pointer
-   filter-flags -fstack-protector
-   filter-flags -fstack-protector-all
-   filter-flags -fstack-protector-strong
-   filter-flags -m64 -mx32
-   replace-flags -ggdb3 -ggdb2
-
-   if use amd64 || use ppc64; then
-   ! has_multilib_profile && myconf+=("--enable-only64bit")
-   fi
-
-   # Force bitness on darwin, bug #306467
-   use x64-macos && myconf+=("--enable-only64bit")
-
-   # 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: b9589621d3748e5bb7486ee14d32f87ec7bcc503
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 23:07:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 23:07:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9589621

dev-util/valgrind: don't strip some components

Per README_PACKAGERS, this breaks Valgrind at least a bit, and sometimes 
entirely.

Signed-off-by: Sam James  gentoo.org>

 .../{valgrind-.ebuild => valgrind-3.20.0-r1.ebuild}| 10 +++---
 dev-util/valgrind/valgrind-.ebuild |  9 ++---
 2 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
similarity index 92%
copy from dev-util/valgrind/valgrind-.ebuild
copy to dev-util/valgrind/valgrind-3.20.0-r1.ebuild
index aed73f6be21b..beb459c7a08c 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -26,6 +26,7 @@ PATCHES=(
# Respect CFLAGS, LDFLAGS
"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+   "${FILESDIR}"/${P}-tests-clang16.patch
 )
 
 src_prepare() {
@@ -108,6 +109,9 @@ src_install() {
 
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 
+   # See README_PACKAGERS
+   dostrip -x /usr/libexec/valgrind/vgpreload* 
/usr/$(get_libdir)/valgrind/*
+
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
@@ -119,9 +123,9 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Valgrind will not work if glibc does not have debug symbols."
+   elog "Valgrind will not work if libc (e.g. 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 "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;

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index aed73f6be21b..13560a006c12 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -108,6 +108,9 @@ src_install() {
 
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 
+   # See README_PACKAGERS
+   dostrip -x /usr/libexec/valgrind/vgpreload* 
/usr/$(get_libdir)/valgrind/*
+
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
@@ -119,9 +122,9 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Valgrind will not work if glibc does not have debug symbols."
+   elog "Valgrind will not work if libc (e.g. 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 "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;



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2023-01-22 Thread Sam James
commit: 1846f2b92946702f2ebf424bd110a668fac42c42
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 22 23:06:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 22 23:06:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1846f2b9

dev-util/valgrind: add toolchain@

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-util/valgrind/metadata.xml b/dev-util/valgrind/metadata.xml
index 446b8b725919..e0de6e2950ab 100644
--- a/dev-util/valgrind/metadata.xml
+++ b/dev-util/valgrind/metadata.xml
@@ -5,6 +5,10 @@
bluen...@gentoo.org
Anthony G. Basile

+   
+   toolch...@gentoo.org
+   Gentoo Toolchain Project
+   

Valgrind is a GPL'd tool to help you find memory-management 
problems
in your programs. When a program is run under Valgrind's 
supervision,



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-12-28 Thread Sam James
commit: 5456f1feff22ce92262517341431048bbc7a5084
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 01:39:56 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 01:39:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5456f1fe

dev-util/valgrind: Stabilize 3.20.0 ppc64, #19

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index 500034e6c541..3988dcd1f6ae 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-12-28 Thread Sam James
commit: 8e5ced8e1016daad324d90f2bb13d3a7ef17cc50
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 01:35:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 01:35:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5ced8e

dev-util/valgrind: Stabilize 3.20.0 x86, #19

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index 6fc8047bd5a3..9776b2fe99cd 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-12-28 Thread Sam James
commit: 7c38ca60beb2109038fc103c7c489a887b475066
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 01:35:28 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 01:35:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c38ca60

dev-util/valgrind: Stabilize 3.20.0 arm64, #19

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index 83ccd17342b0..500034e6c541 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-12-28 Thread Sam James
commit: 0f5a3747f3a00ef6cec2e6921f569f24376c2988
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 29 01:35:27 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 29 01:35:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f5a3747

dev-util/valgrind: Stabilize 3.20.0 amd64, #19

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index 9776b2fe99cd..83ccd17342b0 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/, dev-util/valgrind/

2022-11-22 Thread Sam James
commit: 3b63bb5b479ef0c7e014d4125bc4cc5317cee14b
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 22 20:10:40 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 22 20:10:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b63bb5b

dev-util/valgrind: backport test fix for clang 16

Signed-off-by: Sam James  gentoo.org>

 .../files/valgrind-3.20.0-tests-clang16.patch  | 23 ++
 dev-util/valgrind/valgrind-3.20.0.ebuild   |  1 +
 2 files changed, 24 insertions(+)

diff --git a/dev-util/valgrind/files/valgrind-3.20.0-tests-clang16.patch 
b/dev-util/valgrind/files/valgrind-3.20.0-tests-clang16.patch
new file mode 100644
index ..01d51ba5f9ad
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.20.0-tests-clang16.patch
@@ -0,0 +1,23 @@
+https://bugs.kde.org/show_bug.cgi?id=462007
+https://sourceware.org/git/?p=valgrind.git;a=commit;h=0811a612dd7ce0c02a5dd699b34e660c742df8fe
+
+From 0811a612dd7ce0c02a5dd699b34e660c742df8fe Mon Sep 17 00:00:00 2001
+From: Mark Wielaard 
+Date: Fri, 18 Nov 2022 20:12:06 +0100
+Subject: [PATCH 1/1] Implicit int in none/tests/faultstatus.c
+
+There is a definition in faultstatus.c that is not accepted by
+C99 compilers (implicit ints were removed in that language revision).
+
+https://bugs.kde.org/show_bug.cgi?id=462007
+--- a/none/tests/faultstatus.c
 b/none/tests/faultstatus.c
+@@ -190,7 +190,7 @@ int main()
+   return 0;
+ }
+ 
+-static volatile s_zero;
++static volatile int s_zero;
+ 
+ static int zero()
+ {

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
index aed73f6be21b..6fc8047bd5a3 100644
--- a/dev-util/valgrind/valgrind-3.20.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -26,6 +26,7 @@ PATCHES=(
# Respect CFLAGS, LDFLAGS
"${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+   "${FILESDIR}"/${P}-tests-clang16.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2022-10-28 Thread Sam James
commit: 02d1a49f0e132101104b4d803f78af6a951ab0e5
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 10:43:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 10:43:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d1a49f

dev-util/valgrind: drop 3.16.1, 3.17.0

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest|   2 -
 dev-util/valgrind/files/valgrind-3.17.0-lld.patch |  77 --
 dev-util/valgrind/valgrind-3.16.1.ebuild  | 119 -
 dev-util/valgrind/valgrind-3.17.0.ebuild  | 121 --
 4 files changed, 319 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 1caffcb2df1d..756f26086c14 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,5 +1,3 @@
-DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950
-DIST valgrind-3.17.0.tar.bz2 16459075 BLAKE2B 
96569db9bc3c25ca195a4caa64da6e96b9bff7edd82727faa8307162e29f4e150386c7c9611152fc1afde609d0922aa84067957b72dff03810ee23045e9c
 SHA512 
94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f
 DIST valgrind-3.18.1.tar.bz2 16149159 BLAKE2B 
a98322e4c12ae1bc495659217bd398b85e459288e775ba5f543b9ce1faa5bdfc17791178c0e7b9703a31588cc4c7cbde814b7a43b2ec76e7362e2aeeb100d935
 SHA512 
a03b5cd7eafab4a1cea07f46464c1546ae1cb3d106649626b1e55658badf90e58d1f3854a38a33d5dffd8237fae7e1f27a4b40e06254f87825c7fc61b59b
 DIST valgrind-3.19.0.tar.bz2 16403296 BLAKE2B 
d3ccd25789ec4d87a0ddab58d8098246a33a083505b42adaa94ee3af659cbe073e516bc98163ef56233e6cd9de2125839b71ee443fbc0db6557dcb35a6c05280
 SHA512 
f720a89dc4c4989cc5714bff9efe97529f71990bcfad7a92b889ce099c4326d6da07fa4d5fbab2e9125e20f352354f6178471e49e419b613a3c82c2a1c667ab2
 DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260b985b8049c8c73a26151db6650b1607e8e53b614652c40962ea7382b9301c4b234a933c8d81f57e649ebf3f703e630
 SHA512 
d6bfb9284d0410134ee7e2a5975b13c01508dd5587b562947d8197b3c113b76fdfac88c4072948be68bbf0dbeb17b4d1acb1412ce898adaa83c30ae2c6a1c12b

diff --git a/dev-util/valgrind/files/valgrind-3.17.0-lld.patch 
b/dev-util/valgrind/files/valgrind-3.17.0-lld.patch
deleted file mode 100644
index 56a7c0f72f46..
--- a/dev-util/valgrind/files/valgrind-3.17.0-lld.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-https://bugs.kde.org/show_bug.cgi?id=439046

-diff --git a/configure.ac b/configure.ac
-index 4582fb5d0..63fd6c25e 100755
 a/configure.ac
-+++ b/configure.ac
-@@ -2639,30 +2639,52 @@ CFLAGS=$safe_CFLAGS
- # will reside. -Ttext aligns just the .text section start (but not any
- # other section).
- #
--# So test for -Ttext-segment which is supported by all bfd ld versions
-+# LLVM ld.lld 10.0 changed the semantics of its -Ttext. See "Breaking changes"
-+# in https://releases.llvm.org/10.0.0/tools/lld/docs/ReleaseNotes.html
-+# The --image-base option (since version 6.0?) provides the semantics needed.
-+# -Ttext-segment generates an error, but -Ttext now more closely
-+# follows the GNU (bfd) ld's -Ttext.
-+#
-+# So test first for --image-base support, and if that fails then
-+# for -Ttext-segment which is supported by all bfd ld versions
- # and use that if it exists. If it doesn't exist it must be an older
- # version of gold and we can fall back to using -Ttext which has the
- # right semantics.
- 
--AC_MSG_CHECKING([if the linker accepts -Wl,-Ttext-segment])
--
- safe_CFLAGS=$CFLAGS
--CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,-Ttext-segment=$valt_load_address_pri_norml -Werror"
-+AC_MSG_CHECKING([if the linker accepts -Wl,--image-base])
-+
-+CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,--image-base=$valt_load_address_pri_norml -Werror"
- 
- AC_LINK_IFELSE(
- [AC_LANG_SOURCE([int _start () { return 0; }])],
- [
-   linker_using_t_text="no"
--  AC_SUBST([FLAG_T_TEXT], ["-Ttext-segment"])
-+  AC_SUBST([FLAG_T_TEXT], ["--image-base"])
-   AC_MSG_RESULT([yes])
- ], [
--  linker_using_t_text="yes"
--  AC_SUBST([FLAG_T_TEXT], ["-Ttext"])
-   AC_MSG_RESULT([no])
-+
-+  AC_MSG_CHECKING([if the linker accepts -Wl,-Ttext-segment])
-+
-+  CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,-Ttext-segment=$valt_load_address_pri_norml -Werror"
-+
-+  AC_LINK_IFELSE(
-+  [AC_LANG_SOURCE([int _start () { return 0; }])],
-+  [
-+linker_using_t_text="no"
-+AC_SUBST([FLAG_T_TEXT], ["-Ttext-segment"])
-+AC_MSG_RESULT([yes])
-+  ], [
-+linker_using_t_text="yes"
-+AC_SUBST([FLAG_T_TEXT], ["-Ttext"])
-+AC_MSG_RESULT([no])
-+  ])
- ])
-+
- CFLAGS=$safe_CFLAGS
- 
--# If the linker only supports -Ttext (not 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-10-28 Thread Sam James
commit: 002c1a87f258ff0769668524efef95e02794697e
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 10:38:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 10:38:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002c1a87

dev-util/valgrind: add 3.20.0

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.20.0.ebuild | 128 +++
 2 files changed, 129 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 134ef7d82c93..1caffcb2df1d 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -2,3 +2,4 @@ DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7
 DIST valgrind-3.17.0.tar.bz2 16459075 BLAKE2B 
96569db9bc3c25ca195a4caa64da6e96b9bff7edd82727faa8307162e29f4e150386c7c9611152fc1afde609d0922aa84067957b72dff03810ee23045e9c
 SHA512 
94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f
 DIST valgrind-3.18.1.tar.bz2 16149159 BLAKE2B 
a98322e4c12ae1bc495659217bd398b85e459288e775ba5f543b9ce1faa5bdfc17791178c0e7b9703a31588cc4c7cbde814b7a43b2ec76e7362e2aeeb100d935
 SHA512 
a03b5cd7eafab4a1cea07f46464c1546ae1cb3d106649626b1e55658badf90e58d1f3854a38a33d5dffd8237fae7e1f27a4b40e06254f87825c7fc61b59b
 DIST valgrind-3.19.0.tar.bz2 16403296 BLAKE2B 
d3ccd25789ec4d87a0ddab58d8098246a33a083505b42adaa94ee3af659cbe073e516bc98163ef56233e6cd9de2125839b71ee443fbc0db6557dcb35a6c05280
 SHA512 
f720a89dc4c4989cc5714bff9efe97529f71990bcfad7a92b889ce099c4326d6da07fa4d5fbab2e9125e20f352354f6178471e49e419b613a3c82c2a1c667ab2
+DIST valgrind-3.20.0.tar.bz2 16469274 BLAKE2B 
8217dcfc185c7f6601fedd8d53bb35d260b985b8049c8c73a26151db6650b1607e8e53b614652c40962ea7382b9301c4b234a933c8d81f57e649ebf3f703e630
 SHA512 
d6bfb9284d0410134ee7e2a5975b13c01508dd5587b562947d8197b3c113b76fdfac88c4072948be68bbf0dbeb17b4d1acb1412ce898adaa83c30ae2c6a1c12b

diff --git a/dev-util/valgrind/valgrind-3.20.0.ebuild 
b/dev-util/valgrind/valgrind-3.20.0.ebuild
new file mode 100644
index ..aed73f6be21b
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.20.0.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="https://www.valgrind.org;
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   # Respect CFLAGS, LDFLAGS
+   "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+   "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+)
+
+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
+
+   # Conditionally copy musl specific suppressions && apply patch
+   if use elibc_musl ; then
+   cp "${FILESDIR}/musl.supp" "${S}" || die
+   PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   default
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32  

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-09-16 Thread Arthur Zamarin
commit: 40f27d788d7349298da78501b8da8afbfd4d8c11
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Sep 16 19:27:12 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Sep 16 19:27:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40f27d78

dev-util/valgrind: Stabilize 3.19.0 ppc64, #869251

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 87ef740a8fd2..598db5186193 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-09-15 Thread Arthur Zamarin
commit: 8d2d1eb379ad94c8b09fe864c337f4fbc3e3f84f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 15 19:57:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 15 19:57:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d2d1eb3

dev-util/valgrind: Stabilize 3.19.0 ppc, #869251

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 7c171ce67095..87ef740a8fd2 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-09-14 Thread Agostino Sarubbo
commit: 174ddb3141928eca0629176809410de95099913e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 14 07:48:35 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 14 07:48:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=174ddb31

dev-util/valgrind: Stabilize 3.19.0 x86, #869251

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 01415635e259..7c171ce67095 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-09-14 Thread Agostino Sarubbo
commit: a898c9606946b6ff37b6adc732e1edd2ff8558f8
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 14 07:48:14 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 14 07:48:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a898c960

dev-util/valgrind: Stabilize 3.19.0 arm64, #869251

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index a04c5930d3bb..01415635e259 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-09-14 Thread Agostino Sarubbo
commit: a60e8bc3b3a3445d84d7179db09392fe03189b0f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Sep 14 07:47:15 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Sep 14 07:47:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60e8bc3

dev-util/valgrind: Stabilize 3.19.0 amd64, #869251

Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 14e4020342ba..a04c5930d3bb 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/, dev-util/valgrind/

2022-09-09 Thread Sam James
commit: 80b1fc1e8b31f1e0b775cc2b856a64e7e058587f
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep 10 01:57:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 10 01:57:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b1fc1e

dev-util/valgrind: fix build w/ Clang 15

Closes: https://bugs.gentoo.org/869320
Signed-off-by: Sam James  gentoo.org>

 .../valgrind/files/valgrind-3.19.0-clang-15.patch  | 33 ++
 dev-util/valgrind/valgrind-3.19.0.ebuild   | 19 +++--
 dev-util/valgrind/valgrind-.ebuild | 18 ++--
 3 files changed, 52 insertions(+), 18 deletions(-)

diff --git a/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch 
b/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch
new file mode 100644
index ..77b2e8b091a4
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.19.0-clang-15.patch
@@ -0,0 +1,33 @@
+https://sourceware.org/git/?p=valgrind.git;a=commit;h=1dbc46750f7f716ae3b9cf718380df77422379da
+https://bugs.gentoo.org/869320
+
+From: Paul Floyd 
+Date: Tue, 19 Apr 2022 22:03:01 +0200
+Subject: [PATCH] Bug 452779 Valgrind fails to build on FreeBSD 13.0 with
+ llvm-devel (15.0.0)
+
+This fixes building.
+
+I may make the -lgcc and libgcc-sup conditonal on not using clang later.
+--- a/Makefile.tool.am
 b/Makefile.tool.am
+@@ -16,14 +16,14 @@ TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@ = \
+   $(top_builddir)/VEX/libvex-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
+ endif
+ 
+-
+-TOOL_LDADD_COMMON = -lgcc \
+-  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
++TOOL_LDADD_COMMON = -lgcc
+ TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@ = \
+-  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON)
++  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) $(TOOL_LDADD_COMMON) \
++  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_PRI@-@VGCONF_OS@.a
+ if VGCONF_HAVE_PLATFORM_SEC
+ TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@ = \
+-  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON)
++  $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) $(TOOL_LDADD_COMMON) \
++  $(top_builddir)/coregrind/libgcc-sup-@VGCONF_ARCH_SEC@-@VGCONF_OS@.a
+ endif
+ 
+ 

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 7e7417e90831..14e4020342ba 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -22,6 +22,13 @@ IUSE="mpi"
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   # Respect CFLAGS, LDFLAGS
+   "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+   "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+   "${FILESDIR}"/${PN}-3.19.0-clang-15.patch
+)
+
 src_prepare() {
# Correct hard coded doc location
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
@@ -29,15 +36,10 @@ src_prepare() {
# 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
-   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
-
-   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
-
-   # conditionally copy musl specific suppressions && apply patch
+   # Conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
cp "${FILESDIR}/musl.supp" "${S}" || die
-   eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
+   PATCHES+=( "${FILESDIR}"/valgrind-3.13.0-malloc.patch )
fi
 
if [[ ${CHOST} == *-solaris* ]] ; then
@@ -49,8 +51,7 @@ src_prepare() {
cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
fi
 
-   # Allow users to test their own patches
-   eapply_user
+   default
 
# Regenerate autotools files
eautoreconf

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 7e7417e90831..aed73f6be21b 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -22,6 +22,12 @@ IUSE="mpi"
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
 
+PATCHES=(
+   # Respect CFLAGS, LDFLAGS
+   "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+   "${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+)
+
 src_prepare() {
# Correct hard coded doc location
sed -i -e "s:doc/valgrind:doc/${PF}:" docs/Makefile.am || die
@@ -29,15 +35,10 @@ src_prepare() {
# 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
-   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
-
-   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
-
-   # conditionally copy musl 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-07-31 Thread Sam James
commit: ed582fd4610e4cf1b5249d7e4a6127873e601bf4
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 06:29:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 06:29:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed582fd4

dev-util/valgrind: filter LTO

Closes: https://bugs.gentoo.org/858509
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 ++
 dev-util/valgrind/valgrind-.ebuild   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 11beb6636e97..7e7417e90831 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -71,12 +71,14 @@ src_configure() {
# -fstack-protector-strong See -fstack-protector (bug #620402)
# -m64 -mx32for multilib-portage, bug #398825
# -ggdb3segmentation fault on startup
+   # -flto*fails to build, bug #858509
filter-flags -fomit-frame-pointer
filter-flags -fstack-protector
filter-flags -fstack-protector-all
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
replace-flags -ggdb3 -ggdb2
+   filter-lto
 
if use amd64 || use ppc64; then
! has_multilib_profile && myconf+=("--enable-only64bit")

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 11beb6636e97..7e7417e90831 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -71,12 +71,14 @@ src_configure() {
# -fstack-protector-strong See -fstack-protector (bug #620402)
# -m64 -mx32for multilib-portage, bug #398825
# -ggdb3segmentation fault on startup
+   # -flto*fails to build, bug #858509
filter-flags -fomit-frame-pointer
filter-flags -fstack-protector
filter-flags -fstack-protector-all
filter-flags -fstack-protector-strong
filter-flags -m64 -mx32
replace-flags -ggdb3 -ggdb2
+   filter-lto
 
if use amd64 || use ppc64; then
! has_multilib_profile && myconf+=("--enable-only64bit")



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-07-27 Thread Anthony G. Basile
commit: 6b3c848cd91dfcc42d80dc1b17b74844154ad117
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jul 27 13:47:00 2022 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jul 27 13:47:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3c848c

dev-util/valgrind: add || die to cp as a sanity check

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/valgrind-3.19.0.ebuild | 2 +-
 dev-util/valgrind/valgrind-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 4ff9c8e71913..11beb6636e97 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
 
# conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
-   cp "${FILESDIR}/musl.supp" "${S}"
+   cp "${FILESDIR}/musl.supp" "${S}" || die
eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
fi
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 4ff9c8e71913..11beb6636e97 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
 
# conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
-   cp "${FILESDIR}/musl.supp" "${S}"
+   cp "${FILESDIR}/musl.supp" "${S}" || die
eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/

2022-07-27 Thread Anthony G. Basile
commit: ed72eb9c4dbc966a8ad1ad50bd3b0b21d2d2e0bc
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jul 27 13:37:33 2022 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jul 27 13:47:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed72eb9c

dev-util/valgrind: add missing musl.supp

Closes: https://bugs.gentoo.org/828687
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/files/musl.supp | 47 +++
 1 file changed, 47 insertions(+)

diff --git a/dev-util/valgrind/files/musl.supp 
b/dev-util/valgrind/files/musl.supp
new file mode 100644
index ..69adac7bb5da
--- /dev/null
+++ b/dev-util/valgrind/files/musl.supp
@@ -0,0 +1,47 @@
+# From: https://git.alpinelinux.org/aports/tree/main/valgrind/
+# Suppressions for musl libc
+# See: https://www.openwall.com/lists/musl/2017/06/15/4
+
+{
+   musl-dynlink-false-positive1
+   Memcheck:Leak
+   fun:calloc
+   fun:load_direct_deps
+   fun:load_deps
+   fun:load_deps
+   fun:__dls3
+   fun:__dls2b
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive2
+   Memcheck:Leak
+   fun:calloc
+   fun:load_direct_deps
+   fun:load_deps
+   fun:load_deps
+   fun:__dls3
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive3
+   Memcheck:Leak
+   fun:calloc
+   fun:load_library
+   fun:load_preload
+   fun:__dls3
+   fun:__dls2b
+   fun:__dls2
+}
+
+{
+   musl-dynlink-false-positive4
+   Memcheck:Leak
+   fun:calloc
+   fun:load_library
+   fun:load_preload
+   fun:__dls3
+   fun:__dls2
+}



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2022-07-21 Thread Anthony G. Basile
commit: 1ea5ea8366262f347d003d9c337f7a92a81477ac
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Jul 21 15:19:58 2022 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Jul 21 15:19:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea5ea83

dev-util/valgrind: add musl support

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile  gentoo.org>

 .../valgrind/files/valgrind-3.13.0-malloc.patch| 26 ++
 dev-util/valgrind/valgrind-3.19.0.ebuild   |  6 +
 dev-util/valgrind/valgrind-.ebuild |  6 +
 3 files changed, 38 insertions(+)

diff --git a/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch 
b/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch
new file mode 100644
index ..ac6d90fef50f
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.13.0-malloc.patch
@@ -0,0 +1,26 @@
+From: https://git.alpinelinux.org/aports/tree/main/valgrind/
+
+--- valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c
 valgrind-3.13.0/coregrind/m_replacemalloc/vg_replace_malloc.c
+@@ -765,13 +765,15 @@ static void init(void);
+   DO_INIT; \
+   MALLOC_TRACE("realloc(%p,%llu)", ptrV, (ULong)new_size ); \
+   \
+-  if (ptrV == NULL) \
+- /* We need to call a malloc-like function; so let's use \
+-one which we know exists. */ \
+- return VG_REPLACE_FUNCTION_EZU(10010,VG_Z_LIBC_SONAME,malloc) \
+-   (new_size); \
++  if (ptrV == NULL) { \
++ TRIGGER_MEMCHECK_ERROR_IF_UNDEFINED(new_size); \
++ v = (void*)VALGRIND_NON_SIMD_CALL1( info.tl_malloc, new_size ); \
++ MALLOC_TRACE(" = %p\n", v ); \
++ return v; \
++  } \
+   if (new_size <= 0) { \
+- VG_REPLACE_FUNCTION_EZU(10050,VG_Z_LIBC_SONAME,free)(ptrV); \
++ if (ptrV != NULL)  \
++VALGRIND_NON_SIMD_CALL1( info.tl_free, ptrV ); \
+  MALLOC_TRACE(" = 0\n"); \
+  return NULL; \
+   } \

diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 5a2a07829d30..4ff9c8e71913 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -34,6 +34,12 @@ src_prepare() {
 
eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
+   # conditionally copy musl specific suppressions && apply patch
+   if use elibc_musl ; then
+   cp "${FILESDIR}/musl.supp" "${S}"
+   eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
+   fi
+
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 5a2a07829d30..4ff9c8e71913 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -34,6 +34,12 @@ src_prepare() {
 
eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
+   # conditionally copy musl specific suppressions && apply patch
+   if use elibc_musl ; then
+   cp "${FILESDIR}/musl.supp" "${S}"
+   eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
+   fi
+
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-05-05 Thread Jakov Smolić
commit: 468b186c176591a5f8bdef89b864e09ed1b93a04
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu May  5 11:43:00 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu May  5 11:43:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=468b186c

dev-util/valgrind: Stabilize 3.18.1 arm, #833044

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index e0521d5e5f4e..1b0f898873ac 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-05-02 Thread Sam James
commit: b67982c70fd3f1dcc7a4c383496e38e433246025
Author: Sam James  gentoo  org>
AuthorDate: Tue May  3 02:55:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  3 02:55:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67982c7

dev-util/valgrind: add 3.19.0

Closes: https://bugs.gentoo.org/835743
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest|  1 +
 .../{valgrind-.ebuild => valgrind-3.19.0.ebuild}  | 15 ---
 dev-util/valgrind/valgrind-.ebuild| 15 ---
 3 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 9cb23869e79d..134ef7d82c93 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,3 +1,4 @@
 DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950
 DIST valgrind-3.17.0.tar.bz2 16459075 BLAKE2B 
96569db9bc3c25ca195a4caa64da6e96b9bff7edd82727faa8307162e29f4e150386c7c9611152fc1afde609d0922aa84067957b72dff03810ee23045e9c
 SHA512 
94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f
 DIST valgrind-3.18.1.tar.bz2 16149159 BLAKE2B 
a98322e4c12ae1bc495659217bd398b85e459288e775ba5f543b9ce1faa5bdfc17791178c0e7b9703a31588cc4c7cbde814b7a43b2ec76e7362e2aeeb100d935
 SHA512 
a03b5cd7eafab4a1cea07f46464c1546ae1cb3d106649626b1e55658badf90e58d1f3854a38a33d5dffd8237fae7e1f27a4b40e06254f87825c7fc61b59b
+DIST valgrind-3.19.0.tar.bz2 16403296 BLAKE2B 
d3ccd25789ec4d87a0ddab58d8098246a33a083505b42adaa94ee3af659cbe073e516bc98163ef56233e6cd9de2125839b71ee443fbc0db6557dcb35a6c05280
 SHA512 
f720a89dc4c4989cc5714bff9efe97529f71990bcfad7a92b889ce099c4326d6da07fa4d5fbab2e9125e20f352354f6178471e49e419b613a3c82c2a1c667ab2

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-3.19.0.ebuild
similarity index 97%
copy from dev-util/valgrind/valgrind-.ebuild
copy to dev-util/valgrind/valgrind-3.19.0.ebuild
index 4ccbda36806f..5a2a07829d30 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -1,16 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://www.valgrind.org;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-if [[ ${PV} == "" ]]; then
+if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
@@ -18,6 +15,10 @@ else
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
 fi
 
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 4ccbda36806f..5a2a07829d30 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,16 +1,13 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://www.valgrind.org;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-if [[ ${PV} == "" ]]; then
+if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
@@ -18,6 +15,10 @@ else
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
 fi
 
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
 DEPEND="mpi? ( virtual/mpi )"
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-02-11 Thread Arthur Zamarin
commit: ced085bbcb4419b71ff60ca80c4ca7b54a072b4f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb 11 20:29:40 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb 11 20:29:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced085bb

dev-util/valgrind: Stabilize 3.18.1 arm64, #833044

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index e47a2a2343a1..e0521d5e5f4e 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-02-10 Thread Agostino Sarubbo
commit: c4735ac9280191ea79c946ad95523d848272d272
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 11 07:25:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 11 07:25:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4735ac9

dev-util/valgrind: ppc stable wrt bug #833044

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index dcd26876318e..e47a2a2343a1 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-02-10 Thread Sam James
commit: 0d05cacc54f7faf5c9fc16481b8358ad573fa992
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 10 09:42:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 10 09:42:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d05cacc

dev-util/valgrind: Stabilize 3.18.1 ppc64, #833044

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index 07c64a81d607..dcd26876318e 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-02-10 Thread Jakov Smolić
commit: 5a3915bbc449471310c4a552accd2ff2f731b42b
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Feb 10 09:09:59 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Feb 10 09:09:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3915bb

dev-util/valgrind: Stabilize 3.18.1 x86, #833044

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index fae590ee4eef..07c64a81d607 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2022-02-10 Thread Jakov Smolić
commit: 1bf71643d1025aa68911dc65fe2781f5e305d2d9
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Feb 10 09:09:35 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Feb 10 09:09:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf71643

dev-util/valgrind: Stabilize 3.18.1 amd64, #833044

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-util/valgrind/valgrind-3.18.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index 4ccbda36806f..fae590ee4eef 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-10-25 Thread Sam James
commit: a6869d00d31ff732a76034026e1aea7e07208d1b
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 25 11:56:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 25 11:56:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6869d00

dev-util/valgrind: use HTTPS for HOMEPAGE

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 dev-util/valgrind/valgrind-3.18.1.ebuild | 2 +-
 dev-util/valgrind/valgrind-.ebuild   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 7594d5e1682..268884944a7 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="http://www.valgrind.org;
+HOMEPAGE="https://www.valgrind.org;
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="mpi"

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 589e08e8b7d..d1d6fdd5f4c 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="http://www.valgrind.org;
+HOMEPAGE="https://www.valgrind.org;
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="mpi"

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
index ff86af7c1d9..4ccbda36806 100644
--- a/dev-util/valgrind/valgrind-3.18.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="http://www.valgrind.org;
+HOMEPAGE="https://www.valgrind.org;
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="mpi"

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index ff86af7c1d9..4ccbda36806 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="http://www.valgrind.org;
+HOMEPAGE="https://www.valgrind.org;
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="mpi"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-10-25 Thread Sam James
commit: 1adf24a3ee1c6cfc924c590fdfacd6e7aa014f2c
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 25 11:55:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 25 11:55:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adf24a3

dev-util/valgrind: add 3.18.1 (for glibc 2.34)

Closes: https://bugs.gentoo.org/804582
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.18.1.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index f8198140963..9cb23869e79 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,2 +1,3 @@
 DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950
 DIST valgrind-3.17.0.tar.bz2 16459075 BLAKE2B 
96569db9bc3c25ca195a4caa64da6e96b9bff7edd82727faa8307162e29f4e150386c7c9611152fc1afde609d0922aa84067957b72dff03810ee23045e9c
 SHA512 
94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f
+DIST valgrind-3.18.1.tar.bz2 16149159 BLAKE2B 
a98322e4c12ae1bc495659217bd398b85e459288e775ba5f543b9ce1faa5bdfc17791178c0e7b9703a31588cc4c7cbde814b7a43b2ec76e7362e2aeeb100d935
 SHA512 
a03b5cd7eafab4a1cea07f46464c1546ae1cb3d106649626b1e55658badf90e58d1f3854a38a33d5dffd8237fae7e1f27a4b40e06254f87825c7fc61b59b

diff --git a/dev-util/valgrind/valgrind-3.18.1.ebuild 
b/dev-util/valgrind/valgrind-3.18.1.ebuild
new file mode 100644
index 000..ff86af7c1d9
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.18.1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags -fstack-protector-strong
+   filter-flags -m64 -mx32
+   replace-flags -ggdb3 -ggdb2
+
+   if use amd64 || use ppc64; then
+   ! has_multilib_profile && myconf+=("--enable-only64bit")
+   fi
+
+   # Force bitness on darwin, bug #306467
+   use 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-10-16 Thread Sam James
commit: 890ad6929d2c1bbaa5494b768250b237d174feb5
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 17 05:49:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 05:49:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890ad692

dev-util/valgrind: switch to HTTPS

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 dev-util/valgrind/valgrind-.ebuild   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 890f4104452..7594d5e1682 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
-   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 148f504a570..589e08e8b7d 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
-   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 10a17a63d2e..ff86af7c1d9 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == "" ]]; then
EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
-   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   SRC_URI="https://sourceware.org/pub/valgrind/${P}.tar.bz2;
KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/, dev-util/valgrind/

2021-07-02 Thread Matt Turner
commit: 0a4c5e8d86b6cef5b24b5a0cdea494f9857531a0
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Jul  2 20:22:39 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul  2 22:01:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4c5e8d

dev-util/valgrind: Add patch to support linking with LLD

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/valgrind/files/valgrind-3.17.0-lld.patch | 77 +++
 dev-util/valgrind/valgrind-3.17.0.ebuild  |  2 +
 2 files changed, 79 insertions(+)

diff --git a/dev-util/valgrind/files/valgrind-3.17.0-lld.patch 
b/dev-util/valgrind/files/valgrind-3.17.0-lld.patch
new file mode 100644
index 000..56a7c0f72f4
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.17.0-lld.patch
@@ -0,0 +1,77 @@
+https://bugs.kde.org/show_bug.cgi?id=439046
+---
+diff --git a/configure.ac b/configure.ac
+index 4582fb5d0..63fd6c25e 100755
+--- a/configure.ac
 b/configure.ac
+@@ -2639,30 +2639,52 @@ CFLAGS=$safe_CFLAGS
+ # will reside. -Ttext aligns just the .text section start (but not any
+ # other section).
+ #
+-# So test for -Ttext-segment which is supported by all bfd ld versions
++# LLVM ld.lld 10.0 changed the semantics of its -Ttext. See "Breaking changes"
++# in https://releases.llvm.org/10.0.0/tools/lld/docs/ReleaseNotes.html
++# The --image-base option (since version 6.0?) provides the semantics needed.
++# -Ttext-segment generates an error, but -Ttext now more closely
++# follows the GNU (bfd) ld's -Ttext.
++#
++# So test first for --image-base support, and if that fails then
++# for -Ttext-segment which is supported by all bfd ld versions
+ # and use that if it exists. If it doesn't exist it must be an older
+ # version of gold and we can fall back to using -Ttext which has the
+ # right semantics.
+ 
+-AC_MSG_CHECKING([if the linker accepts -Wl,-Ttext-segment])
+-
+ safe_CFLAGS=$CFLAGS
+-CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,-Ttext-segment=$valt_load_address_pri_norml -Werror"
++AC_MSG_CHECKING([if the linker accepts -Wl,--image-base])
++
++CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,--image-base=$valt_load_address_pri_norml -Werror"
+ 
+ AC_LINK_IFELSE(
+ [AC_LANG_SOURCE([int _start () { return 0; }])],
+ [
+   linker_using_t_text="no"
+-  AC_SUBST([FLAG_T_TEXT], ["-Ttext-segment"])
++  AC_SUBST([FLAG_T_TEXT], ["--image-base"])
+   AC_MSG_RESULT([yes])
+ ], [
+-  linker_using_t_text="yes"
+-  AC_SUBST([FLAG_T_TEXT], ["-Ttext"])
+   AC_MSG_RESULT([no])
++
++  AC_MSG_CHECKING([if the linker accepts -Wl,-Ttext-segment])
++
++  CFLAGS="-static -nodefaultlibs -nostartfiles 
-Wl,-Ttext-segment=$valt_load_address_pri_norml -Werror"
++
++  AC_LINK_IFELSE(
++  [AC_LANG_SOURCE([int _start () { return 0; }])],
++  [
++linker_using_t_text="no"
++AC_SUBST([FLAG_T_TEXT], ["-Ttext-segment"])
++AC_MSG_RESULT([yes])
++  ], [
++linker_using_t_text="yes"
++AC_SUBST([FLAG_T_TEXT], ["-Ttext"])
++AC_MSG_RESULT([no])
++  ])
+ ])
++
+ CFLAGS=$safe_CFLAGS
+ 
+-# If the linker only supports -Ttext (not -Ttext-segment) then we will
++# If the linker only supports -Ttext (not -Ttext-segment or --image-base) 
then we will
+ # have to strip any build-id ELF NOTEs from the statically linked tools.
+ # Otherwise the build-id NOTE might end up at the default load address.
+ # (Pedantically if the linker is gold then -Ttext is fine, but newer
+@@ -2688,7 +2710,7 @@ AC_LINK_IFELSE(
+   AC_MSG_RESULT([no])
+ ])
+ else
+-AC_MSG_NOTICE([ld -Ttext-segment used, no need to strip build-id NOTEs.])
++AC_MSG_NOTICE([ld --image-base or -Ttext-segment used, no need to strip 
build-id NOTEs.])
+ AC_SUBST([FLAG_NO_BUILD_ID], [""])
+ fi
+ CFLAGS=$safe_CFLAGS
+-- 

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 890f4104452..148f504a570 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -33,6 +33,8 @@ src_prepare() {
 
eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
+   eapply "${FILESDIR}"/${PN}-3.17.0-lld.patch
+
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-06-07 Thread Agostino Sarubbo
commit: 89792bee237a227696db33ba440c7ba25cb38b6d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun  7 13:15:58 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun  7 13:15:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89792bee

dev-util/valgrind: ppc stable wrt bug #792807

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 975ee55dfbf..890f4104452 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-06-04 Thread Sam James
commit: 917d8cf4c3f0d77c441e0c723c6cc7ed3319644f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  4 08:14:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  4 08:14:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917d8cf4

dev-util/valgrind: Stabilize 3.17.0 arm, #792807

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 56f858162a0..975ee55dfbf 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-06-03 Thread Sam James
commit: 247b9e8e335d7d20b18383ec7d7d178aee46a3ae
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  3 16:23:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  3 16:26:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247b9e8e

dev-util/valgrind: Stabilize 3.17.0 arm64, #792807

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 6987ba86409..56f858162a0 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-06-02 Thread Sam James
commit: 688d7f7fe7f05dfdee690061c64e35469c0f8148
Author: Sam James  gentoo  org>
AuthorDate: Wed Jun  2 16:41:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jun  2 16:41:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688d7f7f

dev-util/valgrind: Stabilize 3.17.0 amd64, #792807

Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 1a5f11c413d..aadb2a26535 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-06-01 Thread Agostino Sarubbo
commit: b016edeb36408672113bc4d32daa9378f218b00e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun  1 06:35:30 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun  1 06:35:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b016edeb

dev-util/valgrind: ppc64 stable wrt bug #792807

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.17.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
index 10a17a63d2e..1a5f11c413d 100644
--- a/dev-util/valgrind/valgrind-3.17.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-03-22 Thread Anthony G. Basile
commit: 796670b90bccf720506970ad3b6e7491b594082f
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Mon Mar 22 13:10:43 2021 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Mar 22 13:10:43 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=796670b9

dev-util/valgrind: version bump to 3.17.0

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.17.0.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index da7a7a29233..f8198140963 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1 +1,2 @@
 DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950
+DIST valgrind-3.17.0.tar.bz2 16459075 BLAKE2B 
96569db9bc3c25ca195a4caa64da6e96b9bff7edd82727faa8307162e29f4e150386c7c9611152fc1afde609d0922aa84067957b72dff03810ee23045e9c
 SHA512 
94de78942a7059e1ab84d1c0c0b8f3efd1c2d15c70b97bc7edc8136812778adb6f8187149d53a60a8c6a7c8b40534f9be5cfed0eb3c0c314545b681f950b108f

diff --git a/dev-util/valgrind/valgrind-3.17.0.ebuild 
b/dev-util/valgrind/valgrind-3.17.0.ebuild
new file mode 100644
index 000..10a17a63d2e
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.17.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags -fstack-protector-strong
+   filter-flags -m64 -mx32
+   replace-flags -ggdb3 -ggdb2
+
+   if use amd64 || use ppc64; then
+   ! has_multilib_profile && myconf+=("--enable-only64bit")
+   fi
+
+   # Force bitness on darwin, bug #306467
+   use x64-macos && myconf+=("--enable-only64bit")
+
+   # Don't use mpicc unless the user asked for it (bug #258832)
+   if ! use mpi; then
+   myconf+=("--without-mpicc")
+   fi
+
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+
+   if [[ ${PV} == "" 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-01-07 Thread Fabian Groffen
commit: 9c0107c6368c042949ea6abe5de5d46780145d8b
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Jan  7 08:20:28 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Jan  7 08:20:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c0107c6

dev-util/valgrind: drop handling for x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 1 -
 dev-util/valgrind/valgrind-.ebuild   | 1 -
 2 files changed, 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 517d0e10f4a..890f4104452 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -76,7 +76,6 @@ src_configure() {
fi
 
# Force bitness on darwin, bug #306467
-   use x86-macos && myconf+=("--enable-only32bit")
use x64-macos && myconf+=("--enable-only64bit")
 
# Don't use mpicc unless the user asked for it (bug #258832)

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 1c300a2dc1e..10a17a63d2e 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -76,7 +76,6 @@ src_configure() {
fi
 
# Force bitness on darwin, bug #306467
-   use x86-macos && myconf+=("--enable-only32bit")
use x64-macos && myconf+=("--enable-only64bit")
 
# Don't use mpicc unless the user asked for it (bug #258832)



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2021-01-06 Thread Fabian Groffen
commit: 739814d24057e4e0970eb76b5b319bb282a6d7b5
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 22:55:47 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 22:55:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739814d2

dev-util/valgrind: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 4 ++--
 dev-util/valgrind/valgrind-.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 4bf740a9b00..517d0e10f4a 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 33873a0e69c..1c300a2dc1e 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-10-29 Thread David Seifert
commit: 64542216091a1152c0af012700a782ed38e2c54b
Author: David Seifert  gentoo  org>
AuthorDate: Thu Oct 29 12:37:37 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Oct 29 12:37:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64542216

dev-util/valgrind: Sync live ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 dev-util/valgrind/valgrind-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index aa72dd09252..33873a0e69c 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-10-29 Thread David Seifert
commit: 80232414dd11167b8aa4760bc2dce13a365cf2cf
Author: David Seifert  gentoo  org>
AuthorDate: Thu Oct 29 12:37:29 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Oct 29 12:37:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80232414

dev-util/valgrind: Remove old

Closes: https://bugs.gentoo.org/707598
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 dev-util/valgrind/Manifest   |   3 -
 dev-util/valgrind/valgrind-3.14.0.ebuild | 118 --
 dev-util/valgrind/valgrind-3.15.0.ebuild | 120 ---
 dev-util/valgrind/valgrind-3.16.0.ebuild | 120 ---
 4 files changed, 361 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index f4417ff0908..da7a7a29233 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,4 +1 @@
-DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
-DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B 
a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720
 SHA512 
5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f
-DIST valgrind-3.16.0.tar.bz2 16267317 BLAKE2B 
4ab7a248bc46a772a03fecdab4658b059e65dc328f422f51d23d116d658b8fcfe1dc4b3b26b43ca7bd824169b169506f67cd14a1db2b767b5b5a34c949687d25
 SHA512 
6c82a0121e0ffde79f84943ea0f5791159ad3e37a490c1a18ff23f41cd4de62b62110e9c4d48b95b06d542f2a6d638492ecaeba9fed48f7e909e959aa4b4856d
 DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
deleted file mode 100644
index cd973a98987..000
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
-
-DESCRIPTION="An open-source memory debugger for GNU/Linux"
-HOMEPAGE="http://www.valgrind.org;
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="mpi"
-
-if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
-   inherit git-r3
-else
-   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm ~arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
-fi
-
-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
-   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
-
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   # upstream doesn't support this, but we don't build with
-   # Sun/Oracle ld, we have a GNU toolchain, so get some things
-   # working the Linux/GNU way
-   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
-   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
-   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
-   fi
-
-   # Allow users to test their own patches
-   eapply_user
-
-   # 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
-   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
-   #   because valgrind doesn't link to glibc (bug 
#114347)
-   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
-   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
-   # -fstack-protector-strong See -fstack-protector (bug #620402)
-   # -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-10-12 Thread Agostino Sarubbo
commit: 812ff0316361b587c735355a3ceba6a3079eaaea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct 12 06:57:18 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct 12 06:57:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812ff031

dev-util/valgrind: arm stable wrt bug #739736

Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index cfa35de040f..4bf740a9b00 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-09-18 Thread Agostino Sarubbo
commit: 2d1410bd913802cef83d75e2aaddc0a2027e089f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 18 07:54:00 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 18 07:54:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1410bd

dev-util/valgrind: ppc stable wrt bug #739736

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 60d8bebf7cd..cfa35de040f 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-09-05 Thread Sam James
commit: fc3816915ae9d2c37b429d23149a16142ea2dd36
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  6 00:27:05 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  6 00:27:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc381691

dev-util/valgrind: arm64 stable (bug #739736)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index f1b8c4bdb0f..9330e6cfcb1 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-09-05 Thread Thomas Deutschmann
commit: f375bca3493e62aa554b7c399568e49e08731f26
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Sep  5 23:46:07 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Sep  5 23:46:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f375bca3

dev-util/valgrind: x86 stable (bug #739736)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-util/valgrind/valgrind-3.16.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
index 33873a0e69c..f1b8c4bdb0f 100644
--- a/dev-util/valgrind/valgrind-3.16.1.ebuild
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-07-29 Thread Sam James
commit: 86840a40c1b63fcc55dfcbf299e937595c5b7b59
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 29 16:17:45 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 29 16:21:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86840a40

dev-util/valgrind: arm64 stable (bug #734100)

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index ac8952f253c..41693c4f120 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-06-23 Thread Anthony G. Basile
commit: 0635d35052e17990a3325909407555e021fdcaf7
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Tue Jun 23 21:38:32 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Tue Jun 23 21:38:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0635d350

dev-util/valgrind: version bump to 3.16.1

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.16.1.ebuild | 120 +++
 2 files changed, 121 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index f6762bcaa82..f4417ff0908 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,3 +1,4 @@
 DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
 DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B 
a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720
 SHA512 
5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f
 DIST valgrind-3.16.0.tar.bz2 16267317 BLAKE2B 
4ab7a248bc46a772a03fecdab4658b059e65dc328f422f51d23d116d658b8fcfe1dc4b3b26b43ca7bd824169b169506f67cd14a1db2b767b5b5a34c949687d25
 SHA512 
6c82a0121e0ffde79f84943ea0f5791159ad3e37a490c1a18ff23f41cd4de62b62110e9c4d48b95b06d542f2a6d638492ecaeba9fed48f7e909e959aa4b4856d
+DIST valgrind-3.16.1.tar.bz2 16262776 BLAKE2B 
1c333c26827f7a8356869e8758da9dd6a7444642ac4f6377c84fdab8349b9cee1e9bf2cf2eb86043c4feffab342dd97da20e76d7566d0296189e6ea8483a8c65
 SHA512 
2a4173efe1b6facdd2f5c5ee8ed006704168eba1813736fccc8191d60363afd96197512cf42037e65f18d4ddd49adc74a54c47210df216fba3c46bf68ef0f950

diff --git a/dev-util/valgrind/valgrind-3.16.1.ebuild 
b/dev-util/valgrind/valgrind-3.16.1.ebuild
new file mode 100644
index 000..33873a0e69c
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.16.1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/files/

2020-05-30 Thread Anthony G. Basile
commit: abbbcef1980f446577f34a1f30c42f2fad90efa7
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sat May 30 16:50:21 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sat May 30 23:31:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbbcef1

dev-util/valgrind: remove unused patches

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Signed-off-by: Anthony G. Basile  gentoo.org>

 ...ept-read-only-PT_LOAD-segments-and-rodata.patch | 95 --
 ...further-mappings-after-read-all-debuginfo.patch | 70 
 .../files/valgrind-3.13.0-test-fixes.patch | 29 ---
 .../files/valgrind-3.13.0-xml-socket.patch | 27 --
 .../files/valgrind-3.7.0-fno-stack-protector.patch | 12 ---
 5 files changed, 233 deletions(-)

diff --git 
a/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
 
b/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
deleted file mode 100644
index 41f73b43f35..000
--- 
a/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-See https://bugs.gentoo.org/664882
-
-From 64aa729bfae71561505a40c12755bd6b55bb3061 Mon Sep 17 00:00:00 2001
-From: Mark Wielaard 
-Date: Thu, 12 Jul 2018 13:56:00 +0200
-Subject: [PATCH] Accept read-only PT_LOAD segments and .rodata.
-
-The new binutils ld -z separate-code option creates multiple read-only
-PT_LOAD segments and might place .rodata in a non-executable segment.
-
-Allow and keep track of separate read-only segments and allow a readonly
-page with .rodata section.
-
-Based on patches from Tom Hughes  and
-H.J. Lu .
-
-https://bugs.kde.org/show_bug.cgi?id=395682

- coregrind/m_debuginfo/debuginfo.c |  2 --
- coregrind/m_debuginfo/readelf.c   | 34 +++
- 3 files changed, 27 insertions(+), 10 deletions(-)
-
 a/coregrind/m_debuginfo/debuginfo.c
-+++ b/coregrind/m_debuginfo/debuginfo.c
-@@ -957,9 +957,7 @@
- #error "Unknown platform"
- #  endif
- 
--#  if defined(VGP_x86_darwin) && DARWIN_VERS >= DARWIN_10_7
-is_ro_map = seg->hasR && !seg->hasW && !seg->hasX;
--#  endif
- 
- #  if defined(VGO_solaris)
-is_rx_map = seg->hasR && seg->hasX && !seg->hasW;
 a/coregrind/m_debuginfo/readelf.c
-+++ b/coregrind/m_debuginfo/readelf.c
-@@ -1785,7 +1785,7 @@
-Bool loaded = False;
-for (j = 0; j < VG_(sizeXA)(di->fsm.maps); j++) {
-   const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, j);
--  if (   (map->rx || map->rw)
-+  if (   (map->rx || map->rw || map->ro)
-   && map->size > 0 /* stay sane */
-   && a_phdr.p_offset >= map->foff
-   && a_phdr.p_offset <  map->foff + map->size
-@@ -1816,6 +1816,16 @@
-i, (UWord)item.bias);
- loaded = True;
-  }
-+ if (map->ro
-+ && (a_phdr.p_flags & (PF_R | PF_W | PF_X))
-+== PF_R) {
-+item.exec = False;
-+VG_(addToXA)(svma_ranges, );
-+TRACE_SYMTAB(
-+   "PT_LOAD[%ld]:   acquired as ro, bias 0x%lx\n",
-+   i, (UWord)item.bias);
-+loaded = True;
-+ }
-   }
-}
-if (!loaded) {
-@@ -2083,17 +2093,25 @@
-  }
-   }
- 
--  /* Accept .rodata where mapped as rx (data), even if zero-sized */
-+  /* Accept .rodata where mapped as rx or rw (data), even if zero-sized */
-   if (0 == VG_(strcmp)(name, ".rodata")) {
-- if (inrx && !di->rodata_present) {
--di->rodata_present = True;
-+ if (!di->rodata_present) {
- di->rodata_svma = svma;
--di->rodata_avma = svma + inrx->bias;
-+di->rodata_avma = svma;
- di->rodata_size = size;
--di->rodata_bias = inrx->bias;
- di->rodata_debug_svma = svma;
--di->rodata_debug_bias = inrx->bias;
--/* NB was 'inrw' prior to r11794 */
-+if (inrx) {
-+   di->rodata_avma += inrx->bias;
-+   di->rodata_bias = inrx->bias;
-+   di->rodata_debug_bias = inrx->bias;
-+} else if (inrw) {
-+   di->rodata_avma += inrw->bias;
-+   di->rodata_bias = inrw->bias;
-+   di->rodata_debug_bias = inrw->bias;
-+} else {
-+   BAD(".rodata");
-+}
-+di->rodata_present = True;
- TRACE_SYMTAB("acquiring .rodata svma = %#lx .. %#lx\n",
-  di->rodata_svma,
-  

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-05-28 Thread Anthony G. Basile
commit: f95163ef8ccbb6e77d947f4382574cfae1b8d556
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu May 28 21:01:58 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu May 28 21:49:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95163ef

dev-util/valgrind: remove older versions

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/Manifest  |   2 -
 dev-util/valgrind/valgrind-3.12.0.ebuild|  95 -
 dev-util/valgrind/valgrind-3.13.0-r1.ebuild | 112 
 dev-util/valgrind/valgrind-3.13.0-r2.ebuild | 124 ---
 dev-util/valgrind/valgrind-3.13.0-r3.ebuild | 128 
 dev-util/valgrind/valgrind-3.13.0.ebuild|  95 -
 6 files changed, 556 deletions(-)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 5d28ed6ed10..dcf5af4b3c0 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,4 +1,2 @@
-DIST valgrind-3.12.0.tar.bz2 12788556 BLAKE2B 
aeebf9c29afb3cce683c6448a3dec8f4edb1e44b2043a8e159c57a28c75fee49c5dba144d7ae2d79d23fe5a6c5b2bbf01fc398909bf12eebc027f8a7d4d83009
 SHA512 
2c083f7c2e74dc58600397726d9d3af7a2cea40fe3d8733149886d1d77867e6c09996e5be1c58dd932f3662acf7363e04eeadbc0f9c8f0dac089e605024229be
-DIST valgrind-3.13.0.tar.bz2 14723076 BLAKE2B 
cdf92087575cc851d316e2136081441f528596048bc5d1e9c17539283085dd9accd0c1b3136f9768a62de27d1f1641b450305681a33d9ba9fdfe028a73c0cb99
 SHA512 
34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009
 DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
 DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B 
a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720
 SHA512 
5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f

diff --git a/dev-util/valgrind/valgrind-3.12.0.ebuild 
b/dev-util/valgrind/valgrind-3.12.0.ebuild
deleted file mode 100644
index a759d9c53e7..000
--- a/dev-util/valgrind/valgrind-3.12.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-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
-
-   # Allow users to test their own patches
-   epatch_user
-
-   # 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
-   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
-   #   because valgrind doesn't link to glibc (bug 
#114347)
-   # -m64 -mx32for multilib-portage, bug #398825
-   # -ggdb3segmentation fault on startup
-   filter-flags -fomit-frame-pointer
-   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 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-05-28 Thread Anthony G. Basile
commit: 6115efb777e78b663a359c88361ccc355ee46a0d
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu May 28 21:49:16 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu May 28 21:49:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6115efb7

dev-util/valgrind: version bump to 3.16.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Anthony G. Basile  gentoo.org>

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.16.0.ebuild | 120 +++
 2 files changed, 121 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index dcf5af4b3c0..f6762bcaa82 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,2 +1,3 @@
 DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
 DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B 
a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720
 SHA512 
5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f
+DIST valgrind-3.16.0.tar.bz2 16267317 BLAKE2B 
4ab7a248bc46a772a03fecdab4658b059e65dc328f422f51d23d116d658b8fcfe1dc4b3b26b43ca7bd824169b169506f67cd14a1db2b767b5b5a34c949687d25
 SHA512 
6c82a0121e0ffde79f84943ea0f5791159ad3e37a490c1a18ff23f41cd4de62b62110e9c4d48b95b06d542f2a6d638492ecaeba9fed48f7e909e959aa4b4856d

diff --git a/dev-util/valgrind/valgrind-3.16.0.ebuild 
b/dev-util/valgrind/valgrind-3.16.0.ebuild
new file mode 100644
index 000..33873a0e69c
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.16.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags -fstack-protector-strong
+   filter-flags -m64 -mx32
+   replace-flags -ggdb3 -ggdb2
+
+   if use amd64 || use ppc64; then
+   ! has_multilib_profile && myconf+=("--enable-only64bit")
+   fi
+
+   # Force bitness on 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2020-03-16 Thread Sergei Trofimovich
commit: 2950c4988d05a1e098e7b49eee444a79228ac8aa
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Mar 16 19:11:41 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar 16 21:23:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2950c498

dev-util/valgrind: Use https:// for git repository.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-util/valgrind/valgrind-3.13.0-r1.ebuild | 4 ++--
 dev-util/valgrind/valgrind-3.13.0-r2.ebuild | 4 ++--
 dev-util/valgrind/valgrind-3.13.0-r3.ebuild | 4 ++--
 dev-util/valgrind/valgrind-3.14.0.ebuild| 4 ++--
 dev-util/valgrind/valgrind-3.15.0.ebuild| 4 ++--
 dev-util/valgrind/valgrind-.ebuild  | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.13.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r1.ebuild
index 1abaadfd609..5e5e2d857dc 100644
--- a/dev-util/valgrind/valgrind-3.13.0-r1.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;

diff --git a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
index 0ef938d860f..a43faba9636 100644
--- a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;

diff --git a/dev-util/valgrind/valgrind-3.13.0-r3.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r3.ebuild
index 4c963a7314d..287d09b89ca 100644
--- a/dev-util/valgrind/valgrind-3.13.0-r3.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
index e7ce366d68a..cd973a98987 100644
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index 266a720e391..ac8952f253c 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 41689a1904e..aa72dd09252 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SLOT="0"
 IUSE="mpi"
 
 if [[ ${PV} == "" ]]; then
-   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   EGIT_REPO_URI="https://sourceware.org/git/${PN}.git;
inherit git-r3
 else

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-11-22 Thread Mikle Kolyada
commit: 772a04bf56619b588aedc0159c90d10d95efddc5
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Fri Nov 22 09:53:36 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Fri Nov 22 09:53:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=772a04bf

dev-util/valgrind: arm stable wrt bug #698684

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index 7810056a366..266a720e391 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-11-05 Thread Agostino Sarubbo
commit: 3690f49c3c1af5c6d2957e84a5e88107fff12ede
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov  5 09:27:12 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov  5 09:27:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3690f49c

dev-util/valgrind: x86 stable wrt bug #698684

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index b2b88e14548..7810056a366 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-11-05 Thread Agostino Sarubbo
commit: 570e2357ddb7c7754f63fa9f294a24fef8704e88
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov  5 08:24:14 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov  5 08:24:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570e2357

dev-util/valgrind: amd64 stable wrt bug #698684

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index 5ab2eb90d08..b2b88e14548 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2019-11-04 Thread Matt Turner
commit: d720304b0505f3791eb088673aaba891b73b16d6
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Nov  4 17:37:34 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Nov  4 17:39:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d720304b

dev-util/valgrind: Fix test suite build failure on ppc

Closes: https://bugs.gentoo.org/685070
Signed-off-by: Matt Turner  gentoo.org>

 ...5.0-Build-ldst_multiple-test-with-fno-pie.patch | 22 ++
 dev-util/valgrind/valgrind-3.15.0.ebuild   |  2 ++
 dev-util/valgrind/valgrind-.ebuild |  2 ++
 3 files changed, 26 insertions(+)

diff --git 
a/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
 
b/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
new file mode 100644
index 000..44176658df7
--- /dev/null
+++ 
b/dev-util/valgrind/files/valgrind-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
@@ -0,0 +1,22 @@
+From beab8d9f8d65230567270331017184c8762faa42 Mon Sep 17 00:00:00 2001
+From: Matt Turner 
+Date: Mon, 4 Nov 2019 09:12:16 -0800
+Subject: [PATCH] Build ldst_multiple test with -fno-pie
+
+Bug: https://bugs.gentoo.org/685070
+---
+ none/tests/ppc32/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/none/tests/ppc32/Makefile.am b/none/tests/ppc32/Makefile.am
+index 11697c99a..222efd3f2 100644
+--- a/none/tests/ppc32/Makefile.am
 b/none/tests/ppc32/Makefile.am
+@@ -156,3 +156,4 @@ test_isa_2_07_part2_LDADD = -lm
+ test_tm_LDADD = -lm
+ test_touch_tm_LDADD = -lm
+ 
++ldst_multiple_CFLAGS = $(AM_CFLAGS) -fno-pie
+-- 
+2.23.0
+

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index b18a128859a..d252d9dcee4 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -31,6 +31,8 @@ src_prepare() {
# Respect CFLAGS, LDFLAGS
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index b7152e95dc5..41689a1904e 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -31,6 +31,8 @@ src_prepare() {
# Respect CFLAGS, LDFLAGS
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 
+   eapply 
"${FILESDIR}"/${PN}-3.15.0-Build-ldst_multiple-test-with-fno-pie.patch
+
if [[ ${CHOST} == *-solaris* ]] ; then
# upstream doesn't support this, but we don't build with
# Sun/Oracle ld, we have a GNU toolchain, so get some things



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-11-04 Thread Matt Turner
commit: 94b0887fea6c7fa4e396ba938b19062f8c8696b4
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Nov  4 17:38:55 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Nov  4 17:39:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b0887f

dev-util/valgrind-3.15.0: ppc stable, bug 698684

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index d252d9dcee4..d7bfae7dd33 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-11-04 Thread Matt Turner
commit: 8ed0382848bd927600fc752bdfa2099df3e1fb18
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Nov  4 17:39:00 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Nov  4 17:39:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed03828

dev-util/valgrind-3.15.0: ppc64 stable, bug 698684

Signed-off-by: Matt Turner  gentoo.org>

 dev-util/valgrind/valgrind-3.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
index d7bfae7dd33..5ab2eb90d08 100644
--- a/dev-util/valgrind/valgrind-3.15.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ppc64 ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-04-20 Thread Mikle Kolyada
commit: 689d030db3412c882299f90acd918382c43aa69e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Apr 20 18:44:52 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Apr 20 18:44:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689d030d

dev-util/valgrind: arm stable wrt bug #683740

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 dev-util/valgrind/valgrind-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
index 4838c2286ba..20b38bb04fa 100644
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.14.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-04-18 Thread Aaron Bauman
commit: 271c530d83d3eec0c4c6a8e58b881146077bc6b1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Apr 19 00:31:31 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Apr 19 00:31:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271c530d

dev-util/valgrind: amd64 stable wrt bug #683740

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-util/valgrind/valgrind-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
index aed73b422ba..4838c2286ba 100644
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.14.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-04-18 Thread Thomas Deutschmann
commit: 5937280d28383acd298b0fdb1478b58836145b87
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Apr 18 20:22:28 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Apr 18 20:31:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5937280d

dev-util/valgrind: x86 stable (bug #683740)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-util/valgrind/valgrind-3.14.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
index e111e5fd3e2..aed73b422ba 100644
--- a/dev-util/valgrind/valgrind-3.14.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.14.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-04-18 Thread Anthony G. Basile
commit: bb3feea0779d45abc32ba737d347ea24e35badce
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Apr 18 11:57:35 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Apr 18 11:57:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3feea0

dev-util/valgrind: version bump to 3.15.0

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.15.0.ebuild | 118 +++
 2 files changed, 119 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index c3d65f616f2..5d28ed6ed10 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,3 +1,4 @@
 DIST valgrind-3.12.0.tar.bz2 12788556 BLAKE2B 
aeebf9c29afb3cce683c6448a3dec8f4edb1e44b2043a8e159c57a28c75fee49c5dba144d7ae2d79d23fe5a6c5b2bbf01fc398909bf12eebc027f8a7d4d83009
 SHA512 
2c083f7c2e74dc58600397726d9d3af7a2cea40fe3d8733149886d1d77867e6c09996e5be1c58dd932f3662acf7363e04eeadbc0f9c8f0dac089e605024229be
 DIST valgrind-3.13.0.tar.bz2 14723076 BLAKE2B 
cdf92087575cc851d316e2136081441f528596048bc5d1e9c17539283085dd9accd0c1b3136f9768a62de27d1f1641b450305681a33d9ba9fdfe028a73c0cb99
 SHA512 
34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009
 DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97
+DIST valgrind-3.15.0.tar.bz2 20241437 BLAKE2B 
a1bd46d46b3cd9f963773d011e7c74bf5e09e59be13afe38229a3c66a89eeb416498faed67d6ec21489b630b55ac73cc212e17ba515884f8b6374849a60e3720
 SHA512 
5695d1355226fb63b0c80809ed43bb077b6eed4d427792d9d7ed944c38b557a84fe3c783517b921e32f161228e10e4625bea0550faa4685872bb4454450cfa7f

diff --git a/dev-util/valgrind/valgrind-3.15.0.ebuild 
b/dev-util/valgrind/valgrind-3.15.0.ebuild
new file mode 100644
index 000..b18a128859a
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.15.0.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2019-04-08 Thread Austin English
commit: 0bc92cf4aa26965922cf7d6a4d26306e176e9b1b
Author: Austin English  gentoo  org>
AuthorDate: Tue Apr  9 02:21:56 2019 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Apr  9 03:11:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bc92cf4

dev-util/valgrind: remove myself from metadata.xml

Signed-off-by: Austin English  gentoo.org>
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12

 dev-util/valgrind/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/dev-util/valgrind/metadata.xml b/dev-util/valgrind/metadata.xml
index 31d1b4f644d..0bf3fac2660 100644
--- a/dev-util/valgrind/metadata.xml
+++ b/dev-util/valgrind/metadata.xml
@@ -5,10 +5,6 @@
bluen...@gentoo.org
Anthony G. Basile

-   
-   wizarde...@gentoo.org
-   Austin English
-   

Valgrind is a GPL'd tool to help you find memory-management 
problems
in your programs. When a program is run under Valgrind's 
supervision,



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2018-10-16 Thread Anthony G. Basile
commit: 4be377ae578ef0a9ed35b8293832b2fcf9ccbc53
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Oct 17 04:06:38 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Oct 17 04:07:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be377ae

dev-util/valgrind: version bump to 3.14.0

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 dev-util/valgrind/Manifest   |   1 +
 dev-util/valgrind/valgrind-3.14.0.ebuild | 118 +++
 2 files changed, 119 insertions(+)

diff --git a/dev-util/valgrind/Manifest b/dev-util/valgrind/Manifest
index 10726c96eb2..c3d65f616f2 100644
--- a/dev-util/valgrind/Manifest
+++ b/dev-util/valgrind/Manifest
@@ -1,2 +1,3 @@
 DIST valgrind-3.12.0.tar.bz2 12788556 BLAKE2B 
aeebf9c29afb3cce683c6448a3dec8f4edb1e44b2043a8e159c57a28c75fee49c5dba144d7ae2d79d23fe5a6c5b2bbf01fc398909bf12eebc027f8a7d4d83009
 SHA512 
2c083f7c2e74dc58600397726d9d3af7a2cea40fe3d8733149886d1d77867e6c09996e5be1c58dd932f3662acf7363e04eeadbc0f9c8f0dac089e605024229be
 DIST valgrind-3.13.0.tar.bz2 14723076 BLAKE2B 
cdf92087575cc851d316e2136081441f528596048bc5d1e9c17539283085dd9accd0c1b3136f9768a62de27d1f1641b450305681a33d9ba9fdfe028a73c0cb99
 SHA512 
34e1013cd3815d30a459b86220e871bb0a6209cc9e87af968f347083693779f022e986f211bdf1a5184ad7370cde12ff2cfca8099967ff94732970bd04a97009
+DIST valgrind-3.14.0.tar.bz2 16602858 BLAKE2B 
00d601593388180cc874cf2f0c78e79f705f145e45ea82996117cb91ba881e7888ef241fb7e45927f82f99666d76ed35cb5d451e9a3ef123c04a0dff233b2269
 SHA512 
68e548c42df31dc2b883a403e0faff7480c49b3054841870f5d2f742141ba199eca5d83c96bbf283115f0633f2bdb0860161d422f98e3ec720ec65760d250f97

diff --git a/dev-util/valgrind/valgrind-3.14.0.ebuild 
b/dev-util/valgrind/valgrind-3.14.0.ebuild
new file mode 100644
index 000..e111e5fd3e2
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.14.0.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags -fstack-protector-strong
+   filter-flags -m64 -mx32
+   replace-flags -ggdb3 -ggdb2
+
+   if use amd64 || use ppc64; then
+   ! has_multilib_profile && myconf+=("--enable-only64bit")
+   fi
+
+   # Force bitness on darwin, bug #306467
+   use x86-macos && myconf+=("--enable-only32bit")
+   use 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2018-09-05 Thread Thomas Deutschmann
commit: e276088867d6e2493f445a332ab85811ec23a403
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Sep  5 12:24:48 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Sep  5 12:25:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2760888

dev-util/valgrind: fix reading debug info from binaries built with -z

separate-code

Closes: https://bugs.gentoo.org/664882
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 ...ept-read-only-PT_LOAD-segments-and-rodata.patch |  95 +++
 ...further-mappings-after-read-all-debuginfo.patch |  70 +++
 dev-util/valgrind/valgrind-3.13.0-r3.ebuild| 128 +
 3 files changed, 293 insertions(+)

diff --git 
a/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
 
b/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
new file mode 100644
index 000..41f73b43f35
--- /dev/null
+++ 
b/dev-util/valgrind/files/valgrind-3.13.0-accept-read-only-PT_LOAD-segments-and-rodata.patch
@@ -0,0 +1,95 @@
+See https://bugs.gentoo.org/664882
+
+From 64aa729bfae71561505a40c12755bd6b55bb3061 Mon Sep 17 00:00:00 2001
+From: Mark Wielaard 
+Date: Thu, 12 Jul 2018 13:56:00 +0200
+Subject: [PATCH] Accept read-only PT_LOAD segments and .rodata.
+
+The new binutils ld -z separate-code option creates multiple read-only
+PT_LOAD segments and might place .rodata in a non-executable segment.
+
+Allow and keep track of separate read-only segments and allow a readonly
+page with .rodata section.
+
+Based on patches from Tom Hughes  and
+H.J. Lu .
+
+https://bugs.kde.org/show_bug.cgi?id=395682
+---
+ coregrind/m_debuginfo/debuginfo.c |  2 --
+ coregrind/m_debuginfo/readelf.c   | 34 +++
+ 3 files changed, 27 insertions(+), 10 deletions(-)
+
+--- a/coregrind/m_debuginfo/debuginfo.c
 b/coregrind/m_debuginfo/debuginfo.c
+@@ -957,9 +957,7 @@
+ #error "Unknown platform"
+ #  endif
+ 
+-#  if defined(VGP_x86_darwin) && DARWIN_VERS >= DARWIN_10_7
+is_ro_map = seg->hasR && !seg->hasW && !seg->hasX;
+-#  endif
+ 
+ #  if defined(VGO_solaris)
+is_rx_map = seg->hasR && seg->hasX && !seg->hasW;
+--- a/coregrind/m_debuginfo/readelf.c
 b/coregrind/m_debuginfo/readelf.c
+@@ -1785,7 +1785,7 @@
+Bool loaded = False;
+for (j = 0; j < VG_(sizeXA)(di->fsm.maps); j++) {
+   const DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, j);
+-  if (   (map->rx || map->rw)
++  if (   (map->rx || map->rw || map->ro)
+   && map->size > 0 /* stay sane */
+   && a_phdr.p_offset >= map->foff
+   && a_phdr.p_offset <  map->foff + map->size
+@@ -1816,6 +1816,16 @@
+i, (UWord)item.bias);
+ loaded = True;
+  }
++ if (map->ro
++ && (a_phdr.p_flags & (PF_R | PF_W | PF_X))
++== PF_R) {
++item.exec = False;
++VG_(addToXA)(svma_ranges, );
++TRACE_SYMTAB(
++   "PT_LOAD[%ld]:   acquired as ro, bias 0x%lx\n",
++   i, (UWord)item.bias);
++loaded = True;
++ }
+   }
+}
+if (!loaded) {
+@@ -2083,17 +2093,25 @@
+  }
+   }
+ 
+-  /* Accept .rodata where mapped as rx (data), even if zero-sized */
++  /* Accept .rodata where mapped as rx or rw (data), even if zero-sized */
+   if (0 == VG_(strcmp)(name, ".rodata")) {
+- if (inrx && !di->rodata_present) {
+-di->rodata_present = True;
++ if (!di->rodata_present) {
+ di->rodata_svma = svma;
+-di->rodata_avma = svma + inrx->bias;
++di->rodata_avma = svma;
+ di->rodata_size = size;
+-di->rodata_bias = inrx->bias;
+ di->rodata_debug_svma = svma;
+-di->rodata_debug_bias = inrx->bias;
+-/* NB was 'inrw' prior to r11794 */
++if (inrx) {
++   di->rodata_avma += inrx->bias;
++   di->rodata_bias = inrx->bias;
++   di->rodata_debug_bias = inrx->bias;
++} else if (inrw) {
++   di->rodata_avma += inrw->bias;
++   di->rodata_bias = inrw->bias;
++   di->rodata_debug_bias = inrw->bias;
++} else {
++   BAD(".rodata");
++}
++di->rodata_present = True;
+ TRACE_SYMTAB("acquiring .rodata svma = %#lx .. %#lx\n",
+  di->rodata_svma,
+  di->rodata_svma + di->rodata_size - 1);

diff --git 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2018-04-05 Thread Fabian Groffen
commit: 123f0d077921cf488309e0213ff979453cf2a981
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Apr  5 08:08:10 2018 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Apr  5 08:08:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=123f0d07

dev-util/valgrind: fix linking on Solaris

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/valgrind/valgrind-3.13.0-r2.ebuild | 11 ++-
 dev-util/valgrind/valgrind-.ebuild  |  9 +
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
index f509e509703..0ef938d860f 100644
--- a/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == "" ]]; then
inherit git-r3
 else
SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
-   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
 fi
 
 DEPEND="mpi? ( virtual/mpi )"
@@ -37,6 +37,15 @@ src_prepare() {
# Fix --xml-socket command line option (qt-creator), bug #641790
eapply "${FILESDIR}"/${P}-xml-socket.patch
 
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
# Allow users to test their own patches
eapply_user
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 2b96d5f5150..b7152e95dc5 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -31,6 +31,15 @@ src_prepare() {
# Respect CFLAGS, LDFLAGS
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # upstream doesn't support this, but we don't build with
+   # Sun/Oracle ld, we have a GNU toolchain, so get some things
+   # working the Linux/GNU way
+   find "${S}" -name "Makefile.am" -o -name "Makefile.tool.am" | 
xargs \
+   sed -i -e 
's:-M,/usr/lib/ld/map.noexstk:-z,noexecstack:' || die
+   cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
+   fi
+
# Allow users to test their own patches
eapply_user
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2018-03-15 Thread Mikle Kolyada
commit: 4998401695da8ac2a5d27bb18d0098118980f242
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Mar 15 13:50:48 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Mar 15 13:51:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49984016

dev-util/valgrind: arm stable wrt bug #632564

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-util/valgrind/valgrind-3.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/valgrind/valgrind-3.13.0.ebuild 
b/dev-util/valgrind/valgrind-3.13.0.ebuild
index 6e84e64882f..14799cb92f5 100644
--- a/dev-util/valgrind/valgrind-3.13.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos"
+KEYWORDS="-* amd64 arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos 
~x86-macos"
 IUSE="mpi"
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2018-02-28 Thread Austin English
commit: 727a3c7b1f8094d1a66314e64077fe93dbe5dd2d
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Wed Dec 20 07:10:04 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Feb 28 17:54:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=727a3c7b

dev-util/valgrind: fix for --xml-socket option

Fix for Qt Creator working.

Closes: https://bugs.gentoo.org/641790
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../files/valgrind-3.13.0-xml-socket.patch | 27 ++
 ...grind-.ebuild => valgrind-3.13.0-r2.ebuild} | 26 +
 dev-util/valgrind/valgrind-.ebuild | 20 
 3 files changed, 53 insertions(+), 20 deletions(-)

diff --git a/dev-util/valgrind/files/valgrind-3.13.0-xml-socket.patch 
b/dev-util/valgrind/files/valgrind-3.13.0-xml-socket.patch
new file mode 100644
index 000..56039c48bc2
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.13.0-xml-socket.patch
@@ -0,0 +1,27 @@
+From: Ivo Raisr 
+Date: Thu, 3 Aug 2017 05:22:01 + (+)
+Subject: Fix handling command line option --xml-socket.
+X-Git-Url: 
https://sourceware.org/git/?p=valgrind.git;a=commitdiff_plain;h=34dd8493de39314033509bb7ad62673f33dcf3db
+
+Fix handling command line option --xml-socket.
+Fixes BZ#382998
+Patch by: Orgad Shaneh 
+
+
+
+git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16467
+---
+
+diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c
+index d66c67d..f6ba202 100644
+--- a/coregrind/m_libcprint.c
 b/coregrind/m_libcprint.c
+@@ -526,7 +526,7 @@ void VG_(init_log_xml_sinks)(VgLogTo log_to, VgLogTo 
xml_to,
+  break;
+ 
+   case VgLogTo_Socket:
+- log_fd = prepare_sink_socket(VG_(clo_xml_fname_unexpanded),
++ xml_fd = prepare_sink_socket(VG_(clo_xml_fname_unexpanded),
+   _(xml_output_sink), True);
+  break;
+}

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
similarity index 85%
copy from dev-util/valgrind/valgrind-.ebuild
copy to dev-util/valgrind/valgrind-3.13.0-r2.ebuild
index 855bd8a16c2..f509e509703 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
@@ -31,6 +31,12 @@ src_prepare() {
# Respect CFLAGS, LDFLAGS
eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
 
+   # Fix test failures on glibc-2.26
+   eapply "${FILESDIR}"/${P}-test-fixes.patch
+
+   # Fix --xml-socket command line option (qt-creator), bug #641790
+   eapply "${FILESDIR}"/${P}-xml-socket.patch
+
# Allow users to test their own patches
eapply_user
 
@@ -39,7 +45,7 @@ src_prepare() {
 }
 
 src_configure() {
-   local myconf
+   local myconf=()
 
# Respect ar, bug #468114
tc-export AR
@@ -61,23 +67,23 @@ src_configure() {
replace-flags -ggdb3 -ggdb2
 
if use amd64 || use ppc64; then
-   ! has_multilib_profile && myconf="${myconf} --enable-only64bit"
+   ! has_multilib_profile && myconf+=("--enable-only64bit")
fi
 
# Force bitness on darwin, bug #306467
-   use x86-macos && myconf="${myconf} --enable-only32bit"
-   use x64-macos && myconf="${myconf} --enable-only64bit"
+   use x86-macos && myconf+=("--enable-only32bit")
+   use x64-macos && myconf+=("--enable-only64bit")
 
# Don't use mpicc unless the user asked for it (bug #258832)
if ! use mpi; then
-   myconf="${myconf} --without-mpicc"
+   myconf+=("--without-mpicc")
fi
 
-   econf ${myconf}
+   econf "${myconf[@]}"
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
+   default
 
if [[ ${PV} == "" ]]; then
# Otherwise FAQ.txt won't exist:
@@ -85,7 +91,7 @@ src_install() {
mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
fi
 
-   dodoc AUTHORS FAQ.txt NEWS README*
+   dodoc FAQ.txt
 
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 

diff --git a/dev-util/valgrind/valgrind-.ebuild 
b/dev-util/valgrind/valgrind-.ebuild
index 855bd8a16c2..2b96d5f5150 100644
--- a/dev-util/valgrind/valgrind-.ebuild
+++ b/dev-util/valgrind/valgrind-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI=6
 inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger 

[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/

2017-12-15 Thread Jason Zaman
commit: 227450c4fce8886cfeb5d22e1129b75284aaabae
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Dec 15 08:52:30 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Dec 15 08:54:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=227450c4

dev-util/valgrind: amd64 stable

Gentoo-bug: 632564
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-util/valgrind/valgrind-3.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/valgrind/valgrind-3.13.0.ebuild 
b/dev-util/valgrind/valgrind-3.13.0.ebuild
index f4d80dc38c7..6e84e64882f 100644
--- a/dev-util/valgrind/valgrind-3.13.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.13.0.ebuild
@@ -10,7 +10,7 @@ SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos"
+KEYWORDS="-* amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos"
 IUSE="mpi"
 
 DEPEND="mpi? ( virtual/mpi )"



[gentoo-commits] repo/gentoo:master commit in: dev-util/valgrind/, dev-util/valgrind/files/

2017-12-12 Thread Austin English
commit: c0dad8f0e252a0e30dbbe4e1f285f619374fed84
Author: Austin English  gentoo  org>
AuthorDate: Tue Dec 12 21:36:05 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Tue Dec 12 21:59:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0dad8f0

dev-util/valgrind: fix test failures with newer glibc-3.13.0

Gentoo-Bug: https://bugs.gentoo.org/637488
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../files/valgrind-3.13.0-test-fixes.patch |  29 ++
 dev-util/valgrind/valgrind-3.13.0-r1.ebuild| 112 +
 2 files changed, 141 insertions(+)

diff --git a/dev-util/valgrind/files/valgrind-3.13.0-test-fixes.patch 
b/dev-util/valgrind/files/valgrind-3.13.0-test-fixes.patch
new file mode 100644
index 000..9bdd29013ba
--- /dev/null
+++ b/dev-util/valgrind/files/valgrind-3.13.0-test-fixes.patch
@@ -0,0 +1,29 @@
+See:
+https://bugs.gentoo.org/637488
+https://bugs.kde.org/show_bug.cgi?id=387686
+
+commit 2b5eab6a8db1b0487a3ad7fc4e7eeda6d3513626
+Author: Mark Wielaard 
+Date:   Thu Jun 29 15:26:30 2017 +
+
+memcheck/tests: Use ucontext_t instead of struct ucontext
+
+glibc 2.26 does not expose struct ucontext anymore.
+
+Signed-off-by: Khem Raj 
+
+git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16457
+
+diff --git a/memcheck/tests/linux/stack_changes.c 
b/memcheck/tests/linux/stack_changes.c
+index a978fc2b0..7f97b90a5 100644
+--- a/memcheck/tests/linux/stack_changes.c
 b/memcheck/tests/linux/stack_changes.c
+@@ -10,7 +10,7 @@
+ // This test is checking the libc context calls (setcontext, etc.) and
+ // checks that Valgrind notices their stack changes properly.
+ 
+-typedef  struct ucontext  mycontext;
++typedef  ucontext_t  mycontext;
+ 
+ mycontext ctx1, ctx2, oldc;
+ int count;

diff --git a/dev-util/valgrind/valgrind-3.13.0-r1.ebuild 
b/dev-util/valgrind/valgrind-3.13.0-r1.ebuild
new file mode 100644
index 000..1abaadfd609
--- /dev/null
+++ b/dev-util/valgrind/valgrind-3.13.0-r1.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+
+DESCRIPTION="An open-source memory debugger for GNU/Linux"
+HOMEPAGE="http://www.valgrind.org;
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="mpi"
+
+if [[ ${PV} == "" ]]; then
+   EGIT_REPO_URI="git://sourceware.org/git/${PN}.git/"
+   inherit git-r3
+else
+   SRC_URI="ftp://sourceware.org/pub/valgrind/${P}.tar.bz2;
+   KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
+fi
+
+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
+   eapply "${FILESDIR}"/${PN}-3.7.0-respect-flags.patch
+
+   # Fix test failures on glibc-2.26
+   eapply "${FILESDIR}"/${P}-test-fixes.patch
+
+   # Allow users to test their own patches
+   eapply_user
+
+   # 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
+   # -fstack-protector more undefined references to __guard and 
__stack_smash_handler
+   #   because valgrind doesn't link to glibc (bug 
#114347)
+   # -fstack-protector-allFails same way as 
-fstack-protector/-fstack-protector-strong.
+   #  Note: -fstack-protector-explicit is a no-op 
for Valgrind, no need to strip it
+   # -fstack-protector-strong See -fstack-protector (bug #620402)
+   # -m64 -mx32for multilib-portage, bug #398825
+   # -ggdb3segmentation fault on startup
+   filter-flags -fomit-frame-pointer
+   filter-flags -fstack-protector
+   filter-flags -fstack-protector-all
+   filter-flags -fstack-protector-strong
+   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() {
+   

  1   2   >