crash with gcc 4.8 (aggressive-loop-optimizations)

Bug #1246171 reported by Ilya Melnikov on 2013-10-30
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sofia-sip (Ubuntu)
Undecided
Unassigned

Bug Description

I build and use application (https://launchpad.net/~rayanayar/+archive/openmcu-ru-dev) which depends on sofia-sip library. Ubuntu releases before Saucy works fine. But in Saucy was introduced gcc 4.8:
http://gcc.gnu.org/gcc-4.8/changes.html

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:
https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772

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.

Ilya Melnikov (rayanayar) 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
Launchpad Janitor (janitor) wrote :

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

Changed in sofia-sip (Ubuntu):
status: New → Confirmed
Simon McVittie (smcv) wrote :

Upstream bug, with references to other reports: https://sourceforge.net/p/sofia-sip/bugs/121/

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)?

Ilya Melnikov (rayanayar) wrote :

I tested patch "fix-undefined-behaviour" (by Radist Morse):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729301#32

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: https://bugzilla.redhat.com/show_bug.cgi?id=981056#c13).

Temporarily (while this patch is not in Saucy) I build Sofia-sip in OpenMCU-ru Dev PPA:
https://launchpad.net/~rayanayar/+archive/openmcu-ru-dev/+packages?field.name_filter=sofia

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

Other bug subscribers

Remote bug watches

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