From nobody Tue Jun 15 20:05:53 2021 X-Original-To: freebsd-hackers@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 9658D11E1C5F for ; Tue, 15 Jun 2021 20:05:55 +0000 (UTC) (envelope-from linimon@portsmon.org) Received: from MTA-05-4.privateemail.com (mta-05-4.privateemail.com [68.65.122.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G4K7l3V2Nz3DSR; Tue, 15 Jun 2021 20:05:55 +0000 (UTC) (envelope-from linimon@portsmon.org) Received: from MTA-05.privateemail.com (localhost [127.0.0.1]) by MTA-05.privateemail.com (Postfix) with ESMTP id A7FE460126; Tue, 15 Jun 2021 16:05:53 -0400 (EDT) Received: from APP-04 (unknown [10.50.14.154]) by MTA-05.privateemail.com (Postfix) with ESMTPA id 806D7600E0; Tue, 15 Jun 2021 16:05:53 -0400 (EDT) Date: Tue, 15 Jun 2021 15:05:53 -0500 (CDT) From: "linimon@portsmon.org linimon@portsmon.org" To: Dimitry Andric , tech-lists Cc: freebsd-hackers@freebsd.org Message-ID: <743205487.80006.1623787553495@privateemail.com> In-Reply-To: <6E5624A0-6456-4C22-A090-6C1496257AC8@FreeBSD.org> References: <6E5624A0-6456-4C22-A090-6C1496257AC8@FreeBSD.org> Subject: Re: the clang compiler does not support '-march=native' List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer v7.10.4-Rev25 X-Originating-Client: open-xchange-appsuite X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4G4K7l3V2Nz3DSR X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 06/14/2021 3:18 PM Dimitry Andric wrote: > No, this is because whatever you are trying to compile has apparently > hardcoded "-march=native" in its compile flags. Try removing that. :) fwiw we turn this off in FreeBSD ports, because the FreeBSD package builders are set up to do cross-compiles. mcl