Volker Armin Hemmann wrote:

install the gcc-porting and toolchain overlays. Have fun. Or feel the pain.
look at this first:
http://bugs.gentoo.org/show_bug.cgi?id=249226


Thanks for the answer. I emerged it and it seems to be working, even though I am using pretty aggressive flags:

CFLAGS="-march=native -O3 -pipe -fgcse-sm -fgcse-las -fivopts -ftree-loop-linear -floop-interchange -floop-strip-mine -floop-block -ftree-loop-distribution -ftracer -funroll-loops -fprefetch-loop-arrays -freorder-blocks-and-partition -funswitch-loops -fsee -ftree-loop-im -ftree-loop-ivcanon -fvariable-expansion-in-unroller"


I tried also using -ftree-parallelize-loops=4, but with it compiler fails when I try to compile practically anything.


BTW: How much of a performance gain would be if one could compile everything with -profile-generate, run resulting program on some representative test data and then use profile files to generate final binary with -fprofile-use ?






Reply via email to