MACHINE_CPU detection b0rked?

From: Alexey Dokuchaev <danfe_at_nsu.ru>
Date: Thu, 31 Oct 2013 09:53:42 +0700
Hi,

Judging from /usr/share/mk/bsd.cpu.mk, it knows about both "core" and
"core2" and should be able to give me the list of features these CPUs
support.  However, I'm puzzled:

    $ make -V MACHINE_CPU CPUTYPE=core2
    ssse3 sse3 sse2 sse i686 mmx i586 i486
    $ fmake -V MACHINE_CPU CPUTYPE=core2
    ssse3 sse3 sse2 sse i686 mmx i586 i486
    $ make -V MACHINE_CPU CPUTYPE=core
    i486
    $ fmake -V MACHINE_CPU CPUTYPE=core
    i486 i486
    $ uname -Um
    i386 1100000

WTF? :)

./danfe
Received on Thu Oct 31 2013 - 01:52:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC