Patchwork wvstreams: Set optimization to -O0 to avoid breaking stack protection.

login
register
mail settings
Submitter Søren Holm
Date April 8, 2014, 8:48 a.m.
Message ID <1396946890-16295-1-git-send-email-sgh@sgh.dk>
Download mbox | patch
Permalink /patch/70251/
State New
Headers show

Comments

Søren Holm - April 8, 2014, 8:48 a.m.
A description of the bug is here :
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674006
---
 meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)
Martin Jansa - April 10, 2014, 9:07 a.m.
On Tue, Apr 08, 2014 at 10:48:10AM +0200, Søren Holm wrote:
> A description of the bug is here :
> See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674006

Wrong ML, this belongs to openembedded-devel@lists.openembedded.org
> ---
>  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 ce2b337..869402b 100644
> --- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> @@ -19,6 +19,8 @@ SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8eb
>  inherit autotools pkgconfig
>  
>  PARALLEL_MAKE = ""
> +TARGET_CFLAGS_append = " -O0"
> +TARGET_CXXFLAGS_append = " -O0"
>  
>  LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
>  
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
Søren Holm - April 10, 2014, 9:11 a.m.
Ok

I will post it there then.

Torsdag den 10. april 2014 11:07:22 skrev Martin Jansa:
> On Tue, Apr 08, 2014 at 10:48:10AM +0200, Søren Holm wrote:
> > A description of the bug is here :
> > See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674006
> 
> Wrong ML, this belongs to openembedded-devel@lists.openembedded.org
> 
> > ---
> > 
> >  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
> > ce2b337..869402b 100644
> > --- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> > +++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
> > @@ -19,6 +19,8 @@ SRC_URI[sha256sum] =
> > "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8eb> 
> >  inherit autotools pkgconfig
> >  
> >  PARALLEL_MAKE = ""
> > 
> > +TARGET_CFLAGS_append = " -O0"
> > +TARGET_CXXFLAGS_append = " -O0"
> > 
> >  LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"

Patch

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 ce2b337..869402b 100644
--- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
@@ -19,6 +19,8 @@  SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8eb
 inherit autotools pkgconfig
 
 PARALLEL_MAKE = ""
+TARGET_CFLAGS_append = " -O0"
+TARGET_CXXFLAGS_append = " -O0"
 
 LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"