Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2021 21:08:11 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-hackers@freebsd.org
Subject:   the clang compiler does not support '-march=native'
Message-ID:  <YMe3K8uDXHktRDCZ@ceres.zyxst.net>

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

--Fam1/MLR3+A/Hb4t
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

There's a program I'd like to compile, but I'm getting an error "the
clang compiler does not support '-march=3Dnative'"

% clang --version
FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-11.0.1-0-g43ff75f2c3fe)
Target: aarch64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

Is this because I have this in /etc/src.conf:

WITHOUT_LLVM_TARGET_ALL=3D
WITH_LLVM_TARGET_AARCH64=3D
WITH_LLVM_TARGET_ARM=3D

(this is on a rpi4 arm64.aarch64)

thanks,
--=20
J.

--Fam1/MLR3+A/Hb4t
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmDHtyMACgkQs8o7QhFz
NAWwXBAAibXWzD045OZH0Km6/3r52Knj6/s+fS0Z/B/g4emK9Qy7rioSdLWvrVnQ
XqrmgADHbe2jIbcWYKN/x2jIAtbpZHUmmOg+1n/FqEABntEH1jJAqca3LFzeXRHn
VF4QyIRhqFyKtphXT4ws/Jr42DAwgKzfjhlMOaHFWRd4bGu2Jy6NMp++WRxZTbRi
QVKuASQnxGZ9N3695g9Gv0ozVa3wjoXKDFlCd7aF/NXAou4xL2ft9tNfkJKkJR0H
BDdarII109x7neDY0Yr1LndPYOAyfTo5iP/He1XjK4IX5qM1O+ZZWRYqjYIwQ83s
QM6XboxpKKC7OTyeiglT3BzwzV4Iobck/5P4T/xb2IA4Vz8dvufZYpDfQL1JukCs
L7+RzwuKELJBX0po/BIGbiZPaxpSNoITXOcdf+teZb2YgAPEh8TFXPm7WRAO7I5k
97JAOA6Yn67mi34IjOAE0JZqsJ8TX2K+c+Dc+7fwmcpxulO6LgPMPW/KgkvwoWeQ
5pgrmLJhfBjy7g0EcdH8Jmfi5GXwOSLrZmepJOsgYHoR7/L3JijJ327beOiLX/rI
+3zlHGhME+p83MvWatshq3Ts9k6WL4vLb5GoMYZdRmo1XYSvZOR8DbtzxHZxg/1E
GlJ1T7pdUp+douFsoq6BYwN79jXYK1IDYapOGVS6IKyAOIvShLs=
=XlHn
-----END PGP SIGNATURE-----

--Fam1/MLR3+A/Hb4t--



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