commit:     7d7a0aef8dc2b882d5d46b6cb06af6653c4433cc
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sun Sep 12 08:42:13 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 12 22:44:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d7a0aef

profiles/base: mask USE=jemalloc for ~mail-filter/rspamd-3.0

rspamd-3.0 segfaults a lot with jemalloc enabled. The issue is caused by
-Wl,--as-needed linker flag.

Bug: https://bugs.gentoo.org/810337
See-also: https://github.com/rspamd/rspamd/issues/3871
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/22274
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/base/package.use.mask | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 662415c672b..609e707fa76 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,12 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
+# Petr Vanek <arka...@atlas.cz> (2021-09-12)
+# rspamd-3.0 segfaults a lot with jemalloc enabled (Bug #810337)
+# It is caused by -Wl,--as-needed linker flag,
+# see also: https://github.com/rspamd/rspamd/issues/3871
+~mail-filter/rspamd-3.0 jemalloc
+
 # James Le Cuirot <ch...@gentoo.org> (2021-09-04)
 # Currently requires an unreleased version of FFmpeg. If you really want it,
 # unmask the flag and emerge ffmpeg-9999 with this environment variable set:

Reply via email to