All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] wvstreams: fixing segfault with new gcc optimizations
@ 2016-05-06 13:49 Ray Kinsella
  2016-06-14 14:26 ` Kinsella, Ray
  0 siblings, 1 reply; 3+ messages in thread
From: Ray Kinsella @ 2016-05-06 13:49 UTC (permalink / raw)
  To: openembedded-devel

Recent GCC optimizations -ftree-dce and -foptimize-sibling-calls are causing
a segfault in the wvstream stackmaster. Fedora had the same problem and
resolved the issue by removing these optimizations.

See: https://bugzilla.redhat.com/show_bug.cgi?id=812651

Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
---
 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
index 73cfb03..6199a2f 100644
--- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
@@ -20,6 +20,8 @@ inherit autotools-brokensep pkgconfig
 
 PARALLEL_MAKE = ""
 
+TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls"
+
 LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
 
 EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
-- 
1.8.5.6



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] wvstreams: fixing segfault with new gcc optimizations
  2016-05-06 13:49 [meta-oe][PATCH] wvstreams: fixing segfault with new gcc optimizations Ray Kinsella
@ 2016-06-14 14:26 ` Kinsella, Ray
  2016-06-14 15:31   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Kinsella, Ray @ 2016-06-14 14:26 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org, martin.jansa

Hi Martin,

What should I do to progress this?

Ray K

On 06/05/2016 14:49, Kinsella, Ray wrote:
> Recent GCC optimizations -ftree-dce and -foptimize-sibling-calls are causing
> a segfault in the wvstream stackmaster. Fedora had the same problem and
> resolved the issue by removing these optimizations.
>
> See: https://bugzilla.redhat.com/show_bug.cgi?id=812651
>
> Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
> ---
>  meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> index 73cfb03..6199a2f 100644
> --- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> @@ -20,6 +20,8 @@ inherit autotools-brokensep pkgconfig
>
>  PARALLEL_MAKE = ""
>
> +TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls"
> +
>  LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
>
>  EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH] wvstreams: fixing segfault with new gcc optimizations
  2016-06-14 14:26 ` Kinsella, Ray
@ 2016-06-14 15:31   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2016-06-14 15:31 UTC (permalink / raw)
  To: Kinsella, Ray; +Cc: openembedded-devel@lists.openembedded.org

[-- Attachment #1: Type: text/plain, Size: 1666 bytes --]

On Tue, Jun 14, 2016 at 03:26:16PM +0100, Kinsella, Ray wrote:
> Hi Martin,
> 
> What should I do to progress this?

What progress you're expecting? it was merged more than a month ago:

commit 786ab843f0eb825781df5b4c639b6ae5f4c74c41
Author:     Kinsella, Ray <ray.kinsella@intel.com>
AuthorDate: Fri May 6 14:49:19 2016 +0100
Commit:     Martin Jansa <Martin.Jansa@gmail.com>
CommitDate: Tue May 10 20:18:56 2016 +0200

> 
> Ray K
> 
> On 06/05/2016 14:49, Kinsella, Ray wrote:
> > Recent GCC optimizations -ftree-dce and -foptimize-sibling-calls are causing
> > a segfault in the wvstream stackmaster. Fedora had the same problem and
> > resolved the issue by removing these optimizations.
> >
> > See: https://bugzilla.redhat.com/show_bug.cgi?id=812651
> >
> > Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
> > ---
> >  meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> > index 73cfb03..6199a2f 100644
> > --- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> > +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> > @@ -20,6 +20,8 @@ inherit autotools-brokensep pkgconfig
> >
> >  PARALLEL_MAKE = ""
> >
> > +TARGET_CFLAGS_append = " -fno-tree-dce -fno-optimize-sibling-calls"
> > +
> >  LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
> >
> >  EXTRA_OECONF = " --without-tcl --without-qt --without-pam --without-valgrind"
> >

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-14 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06 13:49 [meta-oe][PATCH] wvstreams: fixing segfault with new gcc optimizations Ray Kinsella
2016-06-14 14:26 ` Kinsella, Ray
2016-06-14 15:31   ` Martin Jansa

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.