From: danismostlikely@gmail.com
To: openembedded-core@lists.openembedded.org
Subject: [master][krogoth][PATCH 3/5] openjade-native: work around bug exposed by GCC 6
Date: Tue, 10 May 2016 10:04:47 -0600 [thread overview]
Message-ID: <1462896289-15644-2-git-send-email-danismostlikely@gmail.com> (raw)
In-Reply-To: <1462896289-15644-1-git-send-email-danismostlikely@gmail.com>
From: Dan McGregor <danismostlikely@gmail.com>
From: Daniel McGregor <daniel.mcgregor@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.
Signed-off-by: Daniel McGregor <daniel.mcgregor@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
next prev parent reply other threads:[~2016-05-10 16:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 16:04 [master][krogoth][PATCH v2 2/5] gcc 4.9: backport gperf fixes danismostlikely
2016-05-10 16:04 ` danismostlikely [this message]
2016-05-14 1:03 ` [master][krogoth][PATCH 3/5] openjade-native: work around bug exposed by GCC 6 Khem Raj
2016-05-10 16:04 ` [master][krogoth][PATCH 4/5] binutils: disable werror on native build danismostlikely
2016-05-10 16:04 ` [master][krogoth][PATCH 5/5] pkgconfig: fix build with host gcc 6 danismostlikely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462896289-15644-2-git-send-email-danismostlikely@gmail.com \
--to=danismostlikely@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.