Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] What happened to my emerge -u?
Date: Sun, 11 Oct 2020 20:45:40
Message-Id: 9ae410a6-29bd-0f4f-7f93-93425d090a56@web.de
In Reply to: Re: [gentoo-user] What happened to my emerge -u? by n952162
1 On 2020-10-11 22:44, n952162 wrote:
2 > On 2020-10-11 22:39, Ashley Dixon wrote:
3 >> On Sun, Oct 11, 2020 at 09:35:07PM +0100, Ashley Dixon wrote:
4 >>> `pkg_pretend` issues that error only if the architecture is x86 and SSE2 is
5 >>> enabled in the USE-flags:
6 >>>
7 >>> (use x86 && ! use cpu_flags_x86_sse2) && \
8 >>> die "Your CPU doesn't support the required SSE2 instruction."
9 >> Sorry, I read that line wrong. Tired.
10 >>
11 >> I don't know why it's written in such an opaque manner (a simple `if` would
12 >> suffice), but it seems like this error is printed only if x86 is used and SSE2
13 >> is disabled, which doesn't make sense to me? Is SSE2 required for building/
14 >> running NodeJS on x86 machines?
15 >>
16 >
17 > But how can my CPU be mistaken for a 32-bit machine?
18 >
19 > /Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz/
20 >
21
22 02~/adm/gentoo/emerged>less /proc/cpuinfo
23 processor       : 0
24 vendor_id       : GenuineIntel
25 cpu family      : 6
26 model           : 23
27 model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
28 stepping        : 10
29 microcode       : 0xa07
30 cpu MHz         : 1656.069
31 cache size      : 3072 KB
32 physical id     : 0
33 siblings        : 2
34 core id         : 0
35 cpu cores       : 2
36 apicid          : 0
37 initial apicid  : 0
38 fpu             : yes
39 fpu_exception   : yes
40 cpuid level     : 13
41 wp              : yes
42 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
43 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
44 syscall nx lm constant_tsc arc>
45 bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
46 bogomips        : 5866.98
47 clflush size    : 64
48 cache_alignment : 64
49 address sizes   : 36 bits physical, 48 bits virtual
50 power management:
51
52 processor       : 1
53 vendor_id       : GenuineIntel
54 cpu family      : 6
55 model           : 23
56 model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
57 stepping        : 10
58 microcode       : 0xa07
59 cpu MHz         : 1994.147
60 cache size      : 3072 KB
61 physical id     : 0
62 siblings        : 2
63 core id         : 1
64 cpu cores       : 2
65 apicid          : 1
66 initial apicid  : 1
67 fpu             : yes
68 fpu_exception   : yes
69 cpuid level     : 13
70 wp              : yes
71 flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
72 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
73 syscall nx lm constant_tsc arc>
74 bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
75 bogomips        : 5866.98
76 clflush size    : 64
77 cache_alignment : 64
78 address sizes   : 36 bits physical, 48 bits virtual
79 power management: