public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Eli Schwartz" <eschwartz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/
Date: Fri, 04 Jul 2025 03:26:18 +0000 (UTC)	[thread overview]
Message-ID: <1751599301.db7d5cdc0904d236cd8bbf8d64f71599a63572f3.eschwartz@gentoo> (raw)

commit:     db7d5cdc0904d236cd8bbf8d64f71599a63572f3
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  3 22:11:04 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jul  4 03:21:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7d5cdc

dev-debug/valgrind: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958412
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-debug/valgrind/valgrind-3.24.0_p3.ebuild | 5 ++++-
 dev-debug/valgrind/valgrind-3.25.1.ebuild    | 5 ++++-
 dev-debug/valgrind/valgrind-9999.ebuild      | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild
index af3eabd2e04b..417a87c7bc03 100644
--- a/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild
+++ b/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild
@@ -10,7 +10,7 @@ EAPI=8
 #
 # Also check the ${PV}_STABLE branch upstream for backports.
 
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://valgrind.org"
@@ -117,6 +117,7 @@ src_configure() {
 	)
 
 	tc-is-lto && myconf+=( --enable-lto )
+	lto-guarantee-fat
 
 	# Respect ar, bug #468114
 	tc-export AR
@@ -174,6 +175,8 @@ src_install() {
 
 	pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 
+	strip-lto-bytecode
+
 	# See README_PACKAGERS
 	dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
 

diff --git a/dev-debug/valgrind/valgrind-3.25.1.ebuild b/dev-debug/valgrind/valgrind-3.25.1.ebuild
index 1461530b6296..7603169acd71 100644
--- a/dev-debug/valgrind/valgrind-3.25.1.ebuild
+++ b/dev-debug/valgrind/valgrind-3.25.1.ebuild
@@ -10,7 +10,7 @@ EAPI=8
 #
 # Also check the ${PV}_STABLE branch upstream for backports.
 
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://valgrind.org"
@@ -120,6 +120,7 @@ src_configure() {
 	)
 
 	tc-is-lto && myconf+=( --enable-lto )
+	lto-guarantee-fat
 
 	# Respect ar, bug #468114
 	tc-export AR
@@ -177,6 +178,8 @@ src_install() {
 
 	pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 
+	strip-lto-bytecode
+
 	# See README_PACKAGERS
 	dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
 

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index fabc10e80fda..ce3b98be085d 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -10,7 +10,7 @@ EAPI=8
 #
 # Also check the ${PV}_STABLE branch upstream for backports.
 
-inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
+inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
 
 DESCRIPTION="An open-source memory debugger for GNU/Linux"
 HOMEPAGE="https://valgrind.org"
@@ -120,6 +120,7 @@ src_configure() {
 	)
 
 	tc-is-lto && myconf+=( --enable-lto )
+	lto-guarantee-fat
 
 	# Respect ar, bug #468114
 	tc-export AR
@@ -177,6 +178,8 @@ src_install() {
 
 	pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
 
+	strip-lto-bytecode
+
 	# See README_PACKAGERS
 	dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
 


             reply	other threads:[~2025-07-04  3:26 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-04  3:26 Eli Schwartz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-06 20:54 [gentoo-commits] repo/gentoo:master commit in: dev-debug/valgrind/ Sam James
2025-06-22 15:47 Sam James
2025-06-22 14:50 Sam James
2025-06-21 17:50 Sam James
2025-06-19  1:40 Sam James
2025-06-19  1:40 Sam James
2025-06-19  1:40 Sam James
2025-05-20 19:07 Sam James
2025-05-10 16:48 Sam James
2025-05-01 14:25 Sam James
2025-05-01  7:27 Sam James
2025-05-01  7:24 Sam James
2025-05-01  6:07 Sam James
2025-05-01  6:07 Sam James
2025-04-25 14:55 Sam James
2025-04-24 10:30 Sam James
2025-04-19  4:24 Sam James
2025-04-18 21:33 Sam James
2025-04-18 21:33 Sam James
2025-03-31 22:23 Sam James
2025-03-28 18:22 Sam James
2025-03-28 18:22 Sam James
2025-03-28 18:22 Sam James
2025-03-28 18:22 Sam James
2025-02-10  8:56 Sam James
2025-01-21  6:17 Arthur Zamarin
2025-01-21  6:17 Arthur Zamarin
2025-01-21  6:17 Arthur Zamarin
2024-12-01  9:00 Sam James
2024-11-27  6:24 Sam James
2024-11-03 21:26 Andreas K. Hüttel
2024-11-01  7:13 Sam James
2024-10-28  8:37 Sam James
2024-10-03  4:46 Sam James
2024-10-03  4:46 Sam James
2024-10-03  4:46 Sam James
2024-08-31  5:15 Sam James
2024-08-30 13:00 Jakov Smolić
2024-08-30 13:00 Jakov Smolić
2024-08-30  8:12 Sam James
2024-08-30  8:12 Sam James
2024-07-07  2:05 Sam James
2024-07-07  1:54 Sam James
2024-06-24  5:33 Sam James
2024-06-12 14:30 Sam James
2024-06-12  4:26 Sam James
2024-06-12  4:26 Sam James
2024-06-11 19:00 Sam James
2024-05-26 23:12 Sam James
2024-05-13 12:52 Arthur Zamarin
2024-05-13  1:06 Sam James
2024-05-13  1:06 Sam James
2024-05-13  1:06 Sam James
2024-04-26 21:35 Sam James
2024-04-26 19:36 Sam James
2024-04-25  8:55 Sam James
2024-04-25  8:55 Sam James
2024-04-24 23:03 Sam James
2024-04-20  4:23 Sam James
2024-01-14  4:32 Sam James
2024-01-14  4:19 Sam James
2024-01-14  4:14 Sam James
2024-01-14  4:08 Sam James
2024-01-14  3:17 Sam James
2024-01-14  3:17 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1751599301.db7d5cdc0904d236cd8bbf8d64f71599a63572f3.eschwartz@gentoo \
    --to=eschwartz@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox