crash with gcc 4.8 (aggressive-loop-optimizations)

Bug #1246171 reported by Ilya Melnikov
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sofia-sip (Ubuntu)

Bug Description

I build and use application ( which depends on sofia-sip library. Ubuntu releases before Saucy works fine. But in Saucy was introduced gcc 4.8:

Sofia-sip package has only one little change in Saucy in comparsion to Raring (fix build on arm64). But sofia-sip in Saucy became broken. Another one broken thing in Saucy with target application is libx264. Trying and googling bring me here:

Recompiling sofia-sip package with "-fno-aggressive-loop-optimizations" solves issue for sofia-sip. Same as enabling saucy-proposed solves issue for libx264 (in saucy-proposed it is compiled with "-fno-aggressive-loop-optimizations").

It would be great if "-fno-aggressive-loop-optimizations" will be in Saucy (and probably in Trusty?) for sofia-sip too.

Attaching patch for debian/rules which solves issue with sofia-sip in my case.

Tags: patch saucy
Revision history for this message
Ilya Melnikov (rayanayar) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch for debian/rules" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sofia-sip (Ubuntu):
status: New → Confirmed
Revision history for this message
Ilya Melnikov (rayanayar) wrote :
Revision history for this message
Simon McVittie (smcv) wrote :

Upstream bug, with references to other reports:

Revision history for this message
Konstantin Yeliseyev (kay27) wrote :

Simon, please note: sofia-sip looks dead at sourceforge. I'm afraid, Nokia has stopped to support it. So it is very good, you've submitted a patch... but it absolutely does not solve the problem at the moment.
Why just don't to use the patch from this issue (offered by Ilya)?

Revision history for this message
Ilya Melnikov (rayanayar) wrote :

I tested patch "fix-undefined-behaviour" (by Radist Morse):

It solves problem for OpenMCU-ru. But probably there is other issues with gcc 4.8 in Sofia-sip. Because this patch does not solve problems for all users (see comment #13:

Temporarily (while this patch is not in Saucy) I build Sofia-sip in OpenMCU-ru Dev PPA:

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.