[OE-core] [PATCH] Fix GCC 5.2 "_FOR_BUILD" and related variables

Mark Hatle mark.hatle at windriver.com
Mon Oct 19 15:29:48 UTC 2015


Without this patch, the wrong header fragments can be used to generate the
nativesdk, cross-canadian, and other variations.  Generally this works 
fine.  However, when there is enough variation from the build machine to the
target runtime it will break.. (Such as SDKMACHINE=i686-mingw32)

The bugs can also how up on a Linux -> Linux build, but it's signficiantly
more rare.  It would require some set of options that make the host
headers and flags incompatible with the target.  (Such as various profiling
options.)

This has been tested with a set of meta-mingw patches that will be sent
to the Yocto Project mailing list soon.

Mark Hatle (1):
  gcc-5.2: Fix various _FOR_BUILD and related variables

 meta/recipes-devtools/gcc/gcc-5.2.inc              |   1 +
 .../gcc/gcc-5.2/0042-cxxflags-for-build.patch      | 123 +++++++++++++++++++++
 2 files changed, 124 insertions(+)
 create mode 100644 meta/recipes-devtools/gcc/gcc-5.2/0042-cxxflags-for-build.patch

-- 
1.9.3




More information about the Openembedded-core mailing list