From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1825C15808A for ; Mon, 04 Aug 2025 21:22:54 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0003D33BEAD for ; Mon, 04 Aug 2025 21:22:53 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EE87311036D; Mon, 04 Aug 2025 21:22:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E7D5811036D for ; Mon, 04 Aug 2025 21:22:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97465335D10 for ; Mon, 04 Aug 2025 21:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0AB822889 for ; Mon, 04 Aug 2025 21:22:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1754342457.a6d64cf6d851ea48b45f6b4914a5a2930d0cedce.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/tests/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/tests/dot-a.sh X-VCS-Directories: eclass/tests/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a6d64cf6d851ea48b45f6b4914a5a2930d0cedce X-VCS-Branch: master Date: Mon, 04 Aug 2025 21:22:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b7905a38-e2a9-454f-8de8-ff0a2a1d9dd5 X-Archives-Hash: ed555337e3842d33e0e9fda8f7aef112 commit: a6d64cf6d851ea48b45f6b4914a5a2930d0cedce Author: Sam James gentoo org> AuthorDate: Mon Aug 4 21:20:57 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 4 21:20:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d64cf6 eclass/tests: dot-a: pass --enable-deterministic-archives to strip See 3c6009e3d48bcc80cfc714e4365ae24856114c5f. Signed-off-by: Sam James gentoo.org> eclass/tests/dot-a.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eclass/tests/dot-a.sh b/eclass/tests/dot-a.sh index e747965af80f..2ee526d2ba3e 100755 --- a/eclass/tests/dot-a.sh +++ b/eclass/tests/dot-a.sh @@ -428,7 +428,7 @@ test_strip_lto() { $(tc-getCC) a.c -o a.o -c -flto -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -p -d foo.a || return 1 + $(tc-getSTRIP) --enable-deterministic-archives -p -d foo.a || return 1 # They should NOT differ after stripping because it # can't be safely stripped without special arguments. @@ -447,7 +447,7 @@ test_strip_lto() { $(tc-getCC) a.c -o a.o -c -flto -ffat-lto-objects -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -p -d foo.a || return 1 + $(tc-getSTRIP) --enable-deterministic-archives -p -d foo.a || return 1 # They should differ after stripping because binutils # (these days) can safely strip it without special arguments @@ -526,7 +526,7 @@ test_strip_nolto() { $(tc-getCC) a.c -o a.o -c -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -p -d foo.a || return 1 + $(tc-getSTRIP) --enable-deterministic-archives -p -d foo.a || return 1 # They should differ after stripping. cmp -s foo.a foo.a.bak && return 1 @@ -550,7 +550,7 @@ test_strip_nolto() { $(tc-getCC) a.c -o a.o -c -ggdb3 || return 1 $(tc-getAR) q foo.a a.o 2>/dev/null || return 1 cp foo.a foo.a.bak || return 1 - $(tc-getSTRIP) -p -d foo.a || return 1 + $(tc-getSTRIP) --enable-deterministic-archives -p -d foo.a || return 1 # They should differ after stripping. cmp -s foo.a foo.a.bak && return 1 @@ -577,7 +577,7 @@ test_strip_cross() { # The test only makes sense with binutils[-multitarget], otherwise # binutils will iterate over all available targets and just pick one # rather than not-figuring-it-out and setting EM_NONE. - if $(tc-getSTRIP) |& grep -q aarch ; then + if $(tc-getSTRIP) --enable-deterministic-archives |& grep -q aarch ; then return fi @@ -591,7 +591,7 @@ test_strip_cross() { cp a.o a.o.bak || return 1 # We want this to error out with binutils[-multitarget] # and we skip the test earlier on if binutils[multitarget]. - $(tc-getSTRIP) -p a.o &>/dev/null || return 0 + $(tc-getSTRIP) --enable-deterministic-archives -p a.o &>/dev/null || return 0 if file a.o |& grep "no machine" ; then return 1