Re: 13.2-BETA2: xz: illegal instruction
- Reply: Peter : "Re: 13.2-BETA2: xz: illegal instruction"
- In reply to: Peter : "Re: 13.2-BETA2: xz: illegal instruction"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 14:22:01 UTC
Peter <pmc@citylink.dinoex.sub.org> 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