Source of QEMU woes: CPUTYPE

Eric McCorkle eric at metricspace.net
Tue Apr 4 18:34:35 UTC 2017


On 04/04/2017 14:31, Dimitry Andric wrote:
> On 4 Apr 2017, at 14:34, Eric McCorkle <eric at metricspace.net> wrote:
> 
> Out of interest, what does "llvm-tblgen -version | grep 'Host CPU'"
> show?  (This is a simple way to see what LLVM auto-detects.)

broadwell

> 
>> I'm posting this here, as it's somewhat non-obvious, and probably ought
>> to be documented somewhere.
> 
> I usually find it clearer to specify the exact CPU type myself, for
> example CPUTYPE?=core-avx2 (which is an alias for "haswell").  You can
> also specify a lower CPUTYPE to build the world that you are going to
> run inside QEMU.
> 

I have a standard config for my laptops, so that's why it has
CPUTYPE?=native

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20170404/3398c315/attachment.sig>


More information about the freebsd-hackers mailing list