Hi,
Am 2/18/2016 um 9:15 PM schrieb Landry Breuil:
On Wed, Feb 17, 2016 at 10:08:40PM +0100, Matthieu Herrb wrote:
On Wed, Feb 17, 2016 at 09:46:30PM +0100, Matthieu Herrb wrote:
On Mon, Feb 15, 2016 at 03:44:02PM +0000, Christian Weisgerber wrote:
On 2016-02-14, Matthieu Herrb <matth...@herrb.eu> wrote:
I've taken the list of individual optimisation from gcc(1) for both -O1
and -O2 and replaced -O2 by this in CFLAGS.
gcc-local(1) is also worth a look...
+O2= ${O1} -fthread-jumps -fcrossjumping \
+ -foptimize-sibling-calls -fcse-follow-jumps -fcse-skip-blocks \
+ -fgcse -fgcse-lm -fexpensive-optimizations -frerun-cse-after-loop \
+ -fcaller-saves -fpeephole2 -fschedule-insns -fschedule-insns2 \
+ -fsched-interblock -fsched-spec -fregmove -fstrict-aliasing \
+ -fstrict-overflow -fdelete-null-pointer-checks -freorder-blocks \
+ -freorder-functions -falign-functions -falign-jumps -falign-loops \
+ -falign-labels -ftree-vrp -ftree-pre
Our -O2 does not include -fstrict-aliasing, -fstrict-overflow,
-ftree-vrp.
Here's a new patch, taking your remarks and jsg's advice on
USER_CFLAGS into account. I can't test it so please someone with an
alpha apply it and try a full xenocara build (see release(8)) with
it. Thanks.
Oops missed one important chunk. Use this one instead
Fwiw, mlarkin@ built xenocara with this patch on his alpha (thanks!),
and this successfully build libGL, libGLU, and even built games/abuse
and graphics/lsys without issues, so this is clearly an improvement.
I also finally got libGL and libGLU built with the patch. just going to
build some ports,
now.
Sebastian
Landry