clang++: error: the clang compiler does not support '-march=native'
Erich Dollansky
erichsfreebsdlist at alogt.com
Sun Feb 7 01:29:06 UTC 2016
Hi,
On Sat, 6 Feb 2016 15:49:14 -0700
Warner Losh <imp at bsdimp.com> wrote:
> On Sat, Feb 6, 2016 at 2:01 PM, Erich Dollansky
> <erichsfreebsdlist at alogt.com
> > wrote:
>
> > Hi,
> >
> > compiling on a Raspberry Pi B 2 on FreeBSD 11 gives me above's error
> > message.
> >
> > A Internet search shows that this message does not exist.
> >
> > The program compiles using the same make file on FreeBSD 10 both on
> > x86 and an Raspberry Pi B using the default compilers.
> >
> > Did support for 'march' get removed?
> >
>
> As far as I can tell, it has never worked for either gcc or clang.
>
this is what I would have liked to find out. Intel claims speed gains
of some 40% on their CPUs depending on the work load using gcc.
Getting a few per cent on a Raspberry for free would make a real
difference.
Erich
More information about the freebsd-arm
mailing list