Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2021 15:05:53 -0500 (CDT)
From:      "linimon@portsmon.org linimon@portsmon.org" <linimon@portsmon.org>
To:        Dimitry Andric <dim@FreeBSD.org>, tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: the clang compiler does not support '-march=native'
Message-ID:  <743205487.80006.1623787553495@privateemail.com>
In-Reply-To: <6E5624A0-6456-4C22-A090-6C1496257AC8@FreeBSD.org>
References:  <YMe3K8uDXHktRDCZ@ceres.zyxst.net> <6E5624A0-6456-4C22-A090-6C1496257AC8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 06/14/2021 3:18 PM Dimitry Andric <dim@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?743205487.80006.1623787553495>