Bug#653024: clang: -march=native (sometimes?) fails

Sylvestre Ledru sylvestre at debian.org
Thu Dec 22 22:32:15 UTC 2011


Le vendredi 23 décembre 2011 à 06:45 +0900, Miles Bader a écrit :
> At least on this system, "-march=native" fails oddly:
> 
>    $ echo 'int main () { }' > m.cc; clang++ -o m -march=native m.cc
>    error: unknown target CPU 'amdfam10'
> 
> The -march=native option _used_ to work with [the debian version of]
> clang [on this same system], and seems to work with a recent clang
> trunk version, so I'm not sure what's going on... something out of
> sync?
Probably an upstream bug ?
It is working on my system.

S






More information about the Pkg-llvm-team mailing list