[gnome-continuous-yocto/gnomeostree-3.28-rocko: 274/8267] openjade-native: work around bug exposed by GCC 6
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 274/8267] openjade-native: work around bug exposed by GCC 6
- Date: Sat, 16 Dec 2017 20:11:50 +0000 (UTC)
commit 31f98f92376e5166b84a82da49df0ebbddc7623e
Author: Daniel McGregor <daniel mcgregor vecima com>
Date: Tue May 10 10:04:47 2016 -0600
openjade-native: work around bug exposed by GCC 6
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.
(From OE-Core rev: 39e7dd90878325158c143dfec8234d563b841b86)
Signed-off-by: Daniel McGregor <daniel mcgregor vecima com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../openjade/openjade-native_1.3.2.bb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]