commit: a4eee8b76225e833d31c9acb155ad0a5354eddc5
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 23 22:15:47 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> 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 <marecki <AT> 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() {