Peter <[email protected]> wrote: > > # ./xz < /dev/zero > /dev/null > > Illegal instruction (core dumped) > > > > CPU: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz (3059.08-MHz K8-class > > CPU) > > Origin="GenuineIntel" Id=0x20655 Family=0x6 Model=0x25 Stepping=5 > > > > > > CPUTYPE?=westmere > > It's liblzma, and it doesn't want westmere, it apparently wants > penryn.
Doesn't "CPUTYPE?=native" do the right thing? You can see what features this enables/disables on your machine and also the determined "-target-cpu" in the following output: /usr/bin/env -i /usr/bin/clang -v -x c -march=native -fsyntax-only -o /dev/null /dev/null 2>&1 Cheers, Jamie
