From nobody Fri Feb 24 00:32:25 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 4PN9tz6LWZz3t0pD for ; Fri, 24 Feb 2023 00:36:43 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "uucp.dinoex.sub.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PN9tz3gg8z42HN for ; Fri, 24 Feb 2023 00:36:42 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Authentication-Results: mx1.freebsd.org; none Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]) by uucp.dinoex.org (8.17.1/8.17.1) with ESMTPS id 31O0a6GM014264 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 24 Feb 2023 01:36:07 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: (from uucp@localhost) by uucp.dinoex.org (8.17.1/8.17.1/Submit) with UUCP id 31O0a6Mn014263; Fri, 24 Feb 2023 01:36:06 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from disp.intra.daemon.contact (disp-e.intra.daemon.contact [IPv6:fd00:0:0:0:0:0:0:112]) by admn.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 31O0XmXQ081764 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK); Fri, 24 Feb 2023 01:33:49 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from disp.intra.daemon.contact (localhost [127.0.0.1]) by disp.intra.daemon.contact (8.17.1/8.17.1) with ESMTPS id 31O0WPV3051524 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 24 Feb 2023 01:32:25 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: (from pmc@localhost) by disp.intra.daemon.contact (8.17.1/8.17.1/Submit) id 31O0WP11051523; Fri, 24 Feb 2023 01:32:25 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) X-Authentication-Warning: disp.intra.daemon.contact: pmc set sender to pmc@citylink.dinoex.sub.org using -f Date: Fri, 24 Feb 2023 01:32:25 +0100 From: Peter To: Jamie Landeg-Jones Cc: freebsd-stable@freebsd.org Subject: Re: 13.2-BETA2: xz: illegal instruction Message-ID: References: <202302231422.31NEM1dn001786@donotpassgo.dyslexicfish.net> <202302232214.31NMEDVL026598@donotpassgo.dyslexicfish.net> 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-Disposition: inline In-Reply-To: <202302232214.31NMEDVL026598@donotpassgo.dyslexicfish.net> X-Milter: Spamilter (Reciever: uucp.dinoex.org; Sender-ip: 0:0:2a0b:f840::; Sender-helo: uucp.dinoex.org;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [IPv6:2a0b:f840:0:0:0:0:0:12]); Fri, 24 Feb 2023 01:36:09 +0100 (CET) X-Rspamd-Queue-Id: 4PN9tz3gg8z42HN X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, Feb 23, 2023 at 10:14:13PM +0000, Jamie Landeg-Jones wrote: ! Peter wrote: ! ! > -target-cpu westmere ! > ! > But when building with CPTYPE?=native, the code works! ! ! That's weird! Ah. Hm... ! I notice the only difference between those 2 is that the "native" one ! specifically sets (-target-feature +...) or unsets (-target-feature -...) ! the features to use. ! ! Presumably there is something enabled by default that shouldn't be ! (for westmere), but the extra flags added with "native" fix that. Very likely so. ! This is more a question for the clang folks, but if you're really ! interested, you could try (on your -march=westmere build) ! disabling them in ever decreasing group sizes until you narrow ! down the culprit! Negative. I have a whole lot more of these little nasty bugs to pursue. Bug number is 269792 Cheerio, and kind thanks for the helping hand!