All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection.
@ 2014-04-10  9:13 Søren Holm
  2014-04-10 18:25 ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Søren Holm @ 2014-04-10  9:13 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Søren Holm

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(+)

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


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

* Re: [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection.
  2014-04-10  9:13 [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection Søren Holm
@ 2014-04-10 18:25 ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2014-04-10 18:25 UTC (permalink / raw)
  To: openembeded-devel

On Thu, Apr 10, 2014 at 2:13 AM, Søren Holm <sgh@sgh.dk> wrote:
> 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(+)
>
> 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"
>

Disabling optimizations all the way is probably a bad idea. As
suggested in the bugs can you just disable
few of optimizations like

TARGET_CFLAGS += "-fno-tree-dce -fno-optimize-sibling-calls"
TARGET_CXXFLAGS += "-fno-tree-dce -fno-optimize-sibling-calls"

>  LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"
>
> --
> 1.9.1
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection.
  2014-04-10  9:07 ` Martin Jansa
@ 2014-04-10  9:11   ` Søren Holm
  0 siblings, 0 replies; 5+ messages in thread
From: Søren Holm @ 2014-04-10  9:11 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core

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"

-- 
Søren Holm


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

* Re: [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection.
  2014-04-08  8:48 Søren Holm
@ 2014-04-10  9:07 ` Martin Jansa
  2014-04-10  9:11   ` Søren Holm
  0 siblings, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2014-04-10  9:07 UTC (permalink / raw)
  To: Søren Holm; +Cc: openembedded-core

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

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

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

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

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

* [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection.
@ 2014-04-08  8:48 Søren Holm
  2014-04-10  9:07 ` Martin Jansa
  0 siblings, 1 reply; 5+ messages in thread
From: Søren Holm @ 2014-04-08  8:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Søren Holm

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(+)

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



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

end of thread, other threads:[~2014-04-10 18:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-10  9:13 [PATCH] wvstreams: Set optimization to -O0 to avoid breaking stack protection Søren Holm
2014-04-10 18:25 ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2014-04-08  8:48 Søren Holm
2014-04-10  9:07 ` Martin Jansa
2014-04-10  9:11   ` Søren Holm

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.