LTO is broken when used with gcc assembler directives, the LTO wrapper drops the directives. The result is the -Wa,momit-lock-prefix=yes is dropped by LTO wapper for Quark. Disable LTO for Quark for moment, pending upstreaming of a proper fix to gcc LTO.
Signed-off-by: Ray Kinsella <[email protected]> --- conf/machine/include/intel-quark-common.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/intel-quark-common.inc b/conf/machine/include/intel-quark-common.inc index f7cfe14..9f8abf0 100644 --- a/conf/machine/include/intel-quark-common.inc +++ b/conf/machine/include/intel-quark-common.inc @@ -9,4 +9,8 @@ require conf/machine/include/x86-base.inc # gnutls padlock code uses CMOV instruction in assembly which # is not valid for Quark. EXTRA_OECONF_append_pn-gnutls_intel-quark = " --disable-padlock" -EXTRA_OECONF_append_pn-openssl_intel-quark = " no-asm" +EXTRA_OECONF_append_pn-openssl_intel-quark = " no-asm" + +# gcc LTO drops assembler directives such as -Wa,momit-lock-prefix +# disabling LTO for the moment +LTO_pn-gcc-cross-i586 = " --disable-lto" -- 1.7.10.4 -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
