Unfortunately it wasn't, I personally tested Qt4 with tree-vectorize, it
worked flawlessly, while graphite flags made it unstable. In that case
there is no doubt that graphite triggered the instability.

Your test has been very useful though, letting us know that even
tree-vectorize alone could lead to instabilities, thus our policy will
be, from now on, to test packages compiled with graphite and/or
tree-vectorize very carefully before pushing them out.
In my opinion Sabayon must not become unstable for some optimizations,
there are a lot of packages that don't respect good coding practices,
this most likely leads to crashes when compiled with higher optimization
levels, my guess is that bad coding leads to problems with
optimizations, I am aware of some dubious pointer arithmetics and usage
on Seven Kingdoms.
Thus default CFLAGS will be -O2 alone.

Il giorno sab, 24/03/2012 alle 21.21 +0200, Steven Cristian ha scritto:
> So as the title suggests, I have feedback you guys about an aspect
> I've observed today. The story begins with testing with vectorize +
> graphite compiling a game named Seven Kingdoms : Ancient Adversaries
> which is available in the portage overlays (more exact in seden). Once
> compiled, I tried to create a random map with 6 players, once I
> clicked the "Create" button, it segfaulted in terminal (as root). So I
> recompiled the game without vectorize and graphite, all worked fine ,
> the map was created with 6 players. 
> All positive until now. The next step was to compile it with
> vectorize ... it segfaulted once I tried more 2 players per map. After
> this, the main step occurred : I compiled it ONLY with Graphite and it
> worked ! The game created the random map with 6 players, and played
> all the game and no segfaults :) ! 
> 
> 
> So my guess is : maybe the flag "-ftree-vectorize" was the real one
> that created hell loads of corruption in the code, and Graphite is
> innocent. As my tests result can confirm this. Maybe some other one
> can confirm it with QT ? xD
> 
> 
> P.S.: if you want the full compilations in a pastebin, notice me
> please.
> 
> 
> Yours sincerely,
> BlackNoxis

-- 
Lorenzo Cogotti


Reply via email to