[OE-core] [master][krogoth][PATCH 3/5] openjade-native: work around bug exposed by GCC 6

Khem Raj raj.khem at gmail.com
Sat May 14 01:03:19 UTC 2016


> On May 10, 2016, at 9:04 AM, danismostlikely at gmail.com wrote:
> 
> From: Dan McGregor <danismostlikely at gmail.com>
> 
> From: Daniel McGregor <daniel.mcgregor at vecima.com>
> 
> Simply turn off the optimzation that is causing this breakage. I had
> originally used -fno-lifetime-dse, but -fno-tree-dse works at least
> going back as far as gcc 4.8.
> 
> This isn't a real fix, but it allows openjade to work enough to complete
> a build.

would be good to add a comment on where its discussed e.g.

https://bugzilla.redhat.com/show_bug.cgi?id=1306162
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69534

> 
> Signed-off-by: Daniel McGregor <daniel.mcgregor at vecima.com>
> ---
> meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
> index bc25008..afcb8ca 100644
> --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
> +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
> @@ -44,6 +44,7 @@ CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadi
> oe_runconf[vardepsexclude] += "CONFIGUREOPTS"
> 
> CFLAGS =+ "-I${S}/include"
> +CXXFLAGS += "-fno-tree-dse"
> 
> SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
> SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"
> --
> 2.8.2
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160513/5768e9e2/attachment-0002.sig>


More information about the Openembedded-core mailing list