From nobody Thu Feb 23 14:22:01 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PMwGK1rHsz3tmxK for ; Thu, 23 Feb 2023 14:22:33 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4PMwGJ2nzxz4MM5 for ; Thu, 23 Feb 2023 14:22:32 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jamie@catflap.org designates 2001:19f0:300:2185:123::1 as permitted sender) smtp.mailfrom=jamie@catflap.org; dmarc=pass (policy=none) header.from=catflap.org X-Catflap-Envelope-From: X-Catflap-Envelope-To: freebsd-stable@FreeBSD.org Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 31NEM27U001787; Thu, 23 Feb 2023 14:22:02 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 31NEM1dn001786; Thu, 23 Feb 2023 14:22:01 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202302231422.31NEM1dn001786@donotpassgo.dyslexicfish.net> Date: Thu, 23 Feb 2023 14:22:01 +0000 Organization: Dyslexic Fish To: pmc@citylink.dinoex.sub.org, freebsd-stable@FreeBSD.org Subject: Re: 13.2-BETA2: xz: illegal instruction References: In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Thu, 23 Feb 2023 14:22:02 +0000 (GMT) X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[catflap.org,none]; R_SPF_ALLOW(-0.20)[+mx:dyslexicfish.net]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; MLMMJ_DEST(0.00)[freebsd-stable@FreeBSD.org]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[jamie]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0::/38, country:US] X-Rspamd-Queue-Id: 4PMwGJ2nzxz4MM5 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Peter 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