Default configuration for gcc-crosssddk-initial is now to enable initfini-array. However, this works only for Linux so we disable it for mingw32. Otherwise, (with SDKMACHINE=x86_64-mingw32) we will eventually encounter errors such as:
Assembler messages: Error: invalid instruction suffix for `push' Error: invalid instruction suffix for `pop' Signed-off-by: Juro Bystricky <juro.bystri...@intel.com> --- recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend b/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend index 1c09342..135a776 100644 --- a/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend +++ b/recipes-devtools/gcc/gcc-crosssdk-initial_%.bbappend @@ -1 +1,3 @@ DEPENDS_append_mingw32 = " nativesdk-mingw-w64-headers" +EXTRA_OECONF_remove_mingw32 = "--enable-initfini-array" +EXTRA_OECONF_append_mingw32 = " --disable-initfini-array" -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto