summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-07-23 23:15:47 +0100
committerMarek Szuba <marecki@gentoo.org>2021-07-23 23:27:34 +0100
commita4eee8b76225e833d31c9acb155ad0a5354eddc5 (patch)
tree534dc72c8fcd2973a76a5a5a8293804fdde945e6 /net-mail/dovecot
parentnet-misc/iputils: bump to v20210722 (diff)
downloadgentoo-a4eee8b76225e833d31c9acb155ad0a5354eddc5.tar.gz
gentoo-a4eee8b76225e833d31c9acb155ad0a5354eddc5.tar.bz2
gentoo-a4eee8b76225e833d31c9acb155ad0a5354eddc5.zip
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@gentoo.org>
Diffstat (limited to 'net-mail/dovecot')
-rw-r--r--net-mail/dovecot/dovecot-2.3.15-r1.ebuild8
1 files 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 8c886e6a7a53..1668061de0a9 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() {