[oe-commits] [meta-openembedded] 28/39: wvstreams: fixing segfault with new gcc optimizations

git at git.openembedded.org git at git.openembedded.org
Thu May 19 10:10:55 UTC 2016


martin_jansa pushed a commit to branch krogoth-next
in repository meta-openembedded.

commit f797b791efdb656704262f9c46b7c9adae911faa
Author: Kinsella, Ray <ray.kinsella at intel.com>
AuthorDate: Fri May 6 14:49:19 2016 +0100

    wvstreams: fixing segfault with new gcc optimizations
    
    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 at intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list