1 |
commit: 0efc5ad7d63239a278a8d07c90a19787da57786e |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 17 08:15:03 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 17 08:15:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0efc5ad7 |
7 |
|
8 |
sys-libs/glibc: override x86_lahf_sahf=no x86_movbe=no values |
9 |
|
10 |
Reported-by: Matt Whitlock |
11 |
Bug: https://bugs.gentoo.org/785091 |
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
sys-libs/glibc/glibc-2.33-r1.ebuild | 5 +++++ |
16 |
sys-libs/glibc/glibc-9999.ebuild | 5 +++++ |
17 |
2 files changed, 10 insertions(+) |
18 |
|
19 |
diff --git a/sys-libs/glibc/glibc-2.33-r1.ebuild b/sys-libs/glibc/glibc-2.33-r1.ebuild |
20 |
index fc5b4b0474f..5e971e697fe 100644 |
21 |
--- a/sys-libs/glibc/glibc-2.33-r1.ebuild |
22 |
+++ b/sys-libs/glibc/glibc-2.33-r1.ebuild |
23 |
@@ -940,6 +940,11 @@ glibc_do_configure() { |
24 |
# -march= option tricks build system to infer too |
25 |
# high ISA level: https://sourceware.org/PR27318 |
26 |
libc_cv_include_x86_isa_level=no |
27 |
+ # Explicit override of https://sourceware.org/PR27991 |
28 |
+ # exposes a bug in glibc's configure: |
29 |
+ # https://sourceware.org/PR27991 |
30 |
+ libc_cv_have_x86_lahf_sahf=no |
31 |
+ libc_cv_have_x86_movbe=no |
32 |
|
33 |
${EXTRA_ECONF} |
34 |
) |
35 |
|
36 |
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild |
37 |
index 112a714c393..e2bc0dad866 100644 |
38 |
--- a/sys-libs/glibc/glibc-9999.ebuild |
39 |
+++ b/sys-libs/glibc/glibc-9999.ebuild |
40 |
@@ -941,6 +941,11 @@ glibc_do_configure() { |
41 |
# -march= option tricks build system to infer too |
42 |
# high ISA level: https://sourceware.org/PR27318 |
43 |
libc_cv_include_x86_isa_level=no |
44 |
+ # Explicit override of https://sourceware.org/PR27991 |
45 |
+ # exposes a bug in glibc's configure: |
46 |
+ # https://sourceware.org/PR27991 |
47 |
+ libc_cv_have_x86_lahf_sahf=no |
48 |
+ libc_cv_have_x86_movbe=no |
49 |
|
50 |
${EXTRA_ECONF} |
51 |
) |