tags 729301 + patch
thanks

On Tue, 03 Dec 2013 at 09:02:46 +0400, Ilya Melnikov wrote:
> Simon, can you try to recompile sofia-sip with
> "-fno-aggressive-loop-optimizations"?

Yes, after I did that (exact patch attached), the telepathy-rakia tests pass
again. Thanks!

Ron: judging by the gcc release notes this probably indicates undefined
behaviour in sofia-sip, so you should probably raise it with upstream,
but I think this will do as a workaround...

On the Telepathy mailing list we've had reports of similar failures
in Fedora and Arch.

    S
>From 93d30147df5bf353952b96cca10e8e09a3426660 Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@debian.org>
Date: Tue, 3 Dec 2013 11:44:01 +0000
Subject: [PATCH] Build with -fno-aggressive-loop-optimizations (patch from
 Ilya Melnikov, Closes: #729301, LP: #1246171)

---
 debian/changelog | 8 ++++++++
 debian/rules     | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bc9b4a6..0ae63e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sofia-sip (1.12.11+20110422.1-1+smcv1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Build with -fno-aggressive-loop-optimizations (patch from Ilya Melnikov,
+    Closes: #729301, LP: #1246171)
+
+ -- Simon McVittie <s...@debian.org>  Tue, 03 Dec 2013 11:41:20 +0000
+
 sofia-sip (1.12.11+20110422.1-1) unstable; urgency=low
 
   * Update for newer autoconf/libtool, needed for some new arches.
diff --git a/debian/rules b/debian/rules
index cd8df0b..410f07b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,7 +34,8 @@ $(objdir)/config.status: configure
 	mkdir -p $(objdir)
 	cd $(objdir) &&	../configure --host=$(DEB_HOST_GNU_TYPE)	\
 				     --build=$(DEB_BUILD_GNU_TYPE)	\
-				     --prefix=/usr
+				     --prefix=/usr \
+				     CFLAGS=-fno-aggressive-loop-optimizations
 
 build: build-arch
 
-- 
1.8.5

Reply via email to