On 2020-10-11 22:44, n952162 wrote:
On 2020-10-11 22:39, Ashley Dixon wrote:
On Sun, Oct 11, 2020 at 09:35:07PM +0100, Ashley Dixon wrote:
`pkg_pretend` issues that error only if the architecture is x86 and SSE2 is
enabled in the USE-flags:

         (use x86 && ! use cpu_flags_x86_sse2) && \
                 die "Your CPU doesn't support the required SSE2 instruction."
Sorry, I read that line wrong. Tired.

I don't know why it's written in such an opaque  manner  (a  simple  `if`  would
suffice), but it seems like this error is printed only if x86 is used  and  SSE2
is disabled, which doesn't make sense to me?  Is  SSE2  required  for  building/
running NodeJS on x86 machines?


But how can my CPU be mistaken for a 32-bit machine?

/Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz/


02~/adm/gentoo/emerged>less /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
stepping        : 10
microcode       : 0xa07
cpu MHz         : 1656.069
cache size      : 3072 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arc>
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
bogomips        : 5866.98
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz
stepping        : 10
microcode       : 0xa07
cpu MHz         : 1994.147
cache size      : 3072 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx lm constant_tsc arc>
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
bogomips        : 5866.98
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


Reply via email to