[OE-core] [PATCH V3 0/2]fix native package compile error with gcc 4.3.4 on x86 host

Burton, Ross ross.burton at intel.com
Thu Feb 28 11:06:28 UTC 2013


On 28 February 2013 07:09, Hongxu Jia <hongxu.jia at windriver.com> wrote:
> Change from V2: as Khem Raj suggested, use `-march=native' to cause the
> compiler to auto-detect the architecture of the build computer, if the
> auto-detect is unsuccessful the option has no effect.

What happens if you're in an environment where you're sharing sstate
between multiple developers, and the build machine is an i7 but
another developer's machine is a Core2?    These machines have
different sets of extensions available

Using the architecture as determined by bitbake seems like a better
idea (which was V1, right?) as that's embedded in the sstate hash.

Ross




More information about the Openembedded-core mailing list