From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2883E13933E for ; Fri, 23 Jul 2021 22:27:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E8A2E0B58; Fri, 23 Jul 2021 22:27:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53EA2E0B58 for ; Fri, 23 Jul 2021 22:27:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27CFA33BF24 for ; Fri, 23 Jul 2021 22:27:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE02D5C4 for ; Fri, 23 Jul 2021 22:27:39 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1627079254.a4eee8b76225e833d31c9acb155ad0a5354eddc5.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/dovecot/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/dovecot/dovecot-2.3.15-r1.ebuild X-VCS-Directories: net-mail/dovecot/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a4eee8b76225e833d31c9acb155ad0a5354eddc5 X-VCS-Branch: master Date: Fri, 23 Jul 2021 22:27:39 +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: 61ce34f3-02c4-4622-89a3-4b53f9172453 X-Archives-Hash: cad1739a15c97c115ff27fd97c05fa77 commit: a4eee8b76225e833d31c9acb155ad0a5354eddc5 Author: Marek Szuba gentoo org> AuthorDate: Fri Jul 23 22:15:47 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Jul 23 22:27:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4eee8b7 net-mail/dovecot: use -fasynchronous-unwind-tables, unconditionally Have just confirmed that on riscv asynchronous tables fix test-backtrace errors as well as static ones. Conversely, appending -fno-asynchronous-unwind-tables on amd64 (which is one of the arches for which both gcc and clang enable asynchronous unwind tables by default, IIRC because they've got something to do with stack management) makes the two tests start failing - regardless of whether USE=unwind is enabled or not. Signed-off-by: Marek Szuba gentoo.org> net-mail/dovecot/dovecot-2.3.15-r1.ebuild | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild index 8c886e6a7a5..1668061de0a 100644 --- a/net-mail/dovecot/dovecot-2.3.15-r1.ebuild +++ b/net-mail/dovecot/dovecot-2.3.15-r1.ebuild @@ -100,12 +100,8 @@ src_prepare() { #elibtoolize eautoreconf - if use riscv; then - # Without this, src_tests dies due to failed asserts in test-backtrace.c; - # See https://salsa.debian.org/debian/dovecot/-/merge_requests/8 . - # Might in fact be needed on other arches as well. - append-cflags -funwind-tables - fi + # Bug #727244 + append-cflags -fasynchronous-unwind-tables } src_configure() {