Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] march cflag for Intel Pentium Dual-Core E2160 SLA8Z Malay processor
Date: Wed, 03 Oct 2018 11:05:55
Message-Id: CA+t6X7fTf1oTxBCj0zQkvRTJ0mxBozjzN_tfPyD4ur9LKweAbw@mail.gmail.com
In Reply to: Re: [gentoo-user] march cflag for Intel Pentium Dual-Core E2160 SLA8Z Malay processor by Walter Dnes
1 ср, 3 окт. 2018 г. в 12:50, Walter Dnes <waltdnes@××××××××.org>:
2 >
3 > What's happening is that the ebuild is going through a lookup table of
4 > CPU flags, and saying... "if you invoke a certain advanced feature, then
5 > you also have to invoke the base version of that feature". If you ask
6 > for the advanced feature, but not the base feature, it's like trying to
7 > build the top 4 storeys of a 10-storey building without the bottom 6
8 > storeys. From your output...
9 >
10 > If you're calling for avx2, then you also need avx
11 > > cpu_flags_x86_avx2? ( cpu_flags_x86_avx )
12 >
13 > If you're calling for sse4_2, then you also need sse4_1
14 > > cpu_flags_x86_sse4_2? ( cpu_flags_x86_sse4_1 )
15 >
16 > If you're calling for sse4_1, then you also need ssse3
17 > > cpu_flags_x86_sse4_1? ( cpu_flags_x86_ssse3 )
18 >
19 > If you're calling for ssse3, then you also need sse3 (count the "s")
20 > > cpu_flags_x86_ssse3? ( cpu_flags_x86_sse3 )
21 >
22 > If you're calling for sse3, then you also need sse2
23 > > cpu_flags_x86_sse3? ( cpu_flags_x86_sse2 )
24 >
25 > If you're calling for sse2, then you also need sse
26 > > cpu_flags_x86_sse2? ( cpu_flags_x86_sse )
27 >
28 > If you're calling for sse, then you also need mmxext
29 > > cpu_flags_x86_sse? ( cpu_flags_x86_mmxext )
30 >
31 > If you're calling for mmxext, then you also need mmx
32 > > cpu_flags_x86_mmxext? ( cpu_flags_x86_mmx )
33 >
34 > AMD If you're calling for 3dnowext, then you also need 3dnow
35 > > cpu_flags_x86_3dnowext? ( cpu_flags_x86_3dnow )
36 >
37 > AMD If you're calling for 3dnow, then you also need mmx
38 > > cpu_flags_x86_3dnow? ( cpu_flags_x86_mmx )
39 >
40 > Basically, if flag B is an extension of flag A and builds on it, then
41 > calling flag B requires calling flag A. Think of it as a "march flag
42 > dependency tree".
43
44 Ok, thank you for explanation.
45
46 Interestingly, I have build almost entire system without
47 mmxext flag and only firefox, ffmpeg and vlc started
48 to complane about it.