Re: [Evolution-hackers] Crazy Bug in Evolution? Glib? GTKHTML? GCC?

On Wed, 2006-09-13 at 11:27 -0400, Daniel Gryniewicz wrote:
> On Tue, 2006-09-12 at 21:20 -0600, Zan Lynx wrote:
> > Ok, first off, I am a AMD-64 Gentoo user.  I know nobody cares about our
> > bug reports but I've reached the end of my rope so I am looking for
> > help.  As you'll see, my rope is pretty long. :)
> > 
> > I'm reporting this here since so far, I have only seen it with the new
> > Evolution 2.8.  Other software is GCC 4.1.1, Glib 2.12.3, gtkhtml 3.12,
> > gdk-pixbuf 0.22, GTK+ 2.10.3
> > 
> <big snip>
> Something occurred to me since we talked last night.  Do you by any
> chance have gtk+ built with -O3 or -finline-functions?  If so, could you
> rebuild it with -O2?  This sounds like just the sort of random crashes
> we've been seeing with gtk+ built with high optimizations.
> I've just modified the gtk+ ebuilds to strip CFLAGS down to upstream
> approved levels.

Actually, it isn't -O3 or -finline-functions.  It is -Os.  I tried
several variants and ended up with:
CFLAGS="-march=athlon64 -pipe -O2 -g -DNDEBUG -finline-functions
-ffast-math -ffunction-sections -fdata-sections -ftree-vectorize
-ftree-vectorizer-verbose=1 -ftree-loop-linear"

And that works just fine.  But -Os, even by itself, creates the problem.
It is likely a GCC bug.
Zan Lynx <zlynx acm org>

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]