Le mardi 03 décembre 2013 à 12:43 +0000, Simon McVittie a écrit :
> telepathy-rakia's regression tests on Debian, then recompiling sofia-sip
> with -O0 is a bigger hammer than you need; recompiling sofia-sip with
> -fno-aggressive-loop-optimizations seems to be sufficient.

From https://bugzilla.redhat.com/show_bug.cgi?id=981056

         Radist Morse 2013-11-14 15:23:13 EST
                
                My patch and Ilya's option are not mutually exclusive.
                The loop used in the original code can still possibly
                break, with or without
                "-fno-aggressive-loop-optimizations", because, as I
                mentioned, the C standard doesn't guarantee there will
                be no paddings between the struct's fields (C 2011
                (N1570) 6.7.2.1 15, “There may be unnamed padding within
                a structure object, but not at its beginning.”).
                
                The flag fixes it for gcc 4.8, that's all.
                
And the mentionned patch is:
https://bugzilla.redhat.com/attachment.cgi?id=800563&action=diff&context=patch&collapsed=&headers=1&format=raw

Olivier submitted that patch upstream, but Sofia is not exactly
maintained at the moment.

Nicolas

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to