summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-06-11 21:39:05 +0100
committerSam James <sam@gentoo.org>2022-06-25 22:39:23 +0100
commit7e5859b42a87364c116f50c2c4c6be42ffaba1a9 (patch)
tree0c72bc355d3b786a1a807a550eabce250c602b81 /profiles/base
parentnet-libs/libtorrent-rasterbar: drop 1.2.15-r1, 1.2.16, 2.0.5 (diff)
downloadgentoo-7e5859b42a87364c116f50c2c4c6be42ffaba1a9.tar.gz
gentoo-7e5859b42a87364c116f50c2c4c6be42ffaba1a9.tar.bz2
gentoo-7e5859b42a87364c116f50c2c4c6be42ffaba1a9.zip
profiles: Mask glibc[stack-realign] on non-amd64/x86, default on amd64
The stack alignment issue affecting compatibility with older 32-bit binaries is specific to amd64 and x86. The workaround incurs a performance cost on the 32-bit build, so enable the flag by default on amd64 but not on x86. Other popular distributions always enable this workaround. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/base')
-rw-r--r--profiles/base/package.use.mask4
1 files changed, 4 insertions, 0 deletions
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index b65e7efa7daa..b97dee8d561f 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,6 +6,10 @@
# This file is only for generic masks. For arch-specific masks (i.e.
# mask everywhere, unmask on arch/*) use arch/base.
+# James Le Cuirot <chewi@gentoo.org> (2022-06-25)
+# This flag concerns an x86-specific problem.
+sys-libs/glibc stack-realign
+
# Matt Turner <mattst88@gentoo.org> (2022-06-21)
# Depends on old spidermonkey:68. Upstream recommends using Duktape or Webkit
# for PAC parsing. See https://github.com/libproxy/libproxy/pull/139