[OE-core] [PATCH] gcc-7.inc: add new warning "Wnot-cross-compiler"

Andre McCurdy armccurdy at gmail.com
Thu Jul 20 19:40:25 UTC 2017


On Thu, Jul 20, 2017 at 12:18 PM, Burton, Ross <ross.burton at intel.com> wrote:
>
> On 20 July 2017 at 19:51, Khem Raj <raj.khem at gmail.com> wrote:
>>
>> it does cause harm, by making the behaviour inconsistent and highly
>> dependent
>> upon build host.
>
> It *stops* behaviour being dependent on the build host, surely.  The problem
> is that some recipes use the host compiler when they're not meant to be and
> this can cause subtle (or not so subtle) breakage.

Is there an example of a recipe which doing that which went unnoticed?
Doesn't the fact that most recipes do get cross compiled (ie x86
target on an x86 host is the corner case) should mean that bugs like
that get flushed out pretty quickly?



More information about the Openembedded-core mailing list