TLDR There's a typo on the line that runs tuneup, it should be a - and not a . in the filename gmp-mparam.h.new. The pgo useflag for gmp causes the tuneup program to be ran, and then the library to be recompiled with new tuned flags. However, the ebuild has this code: if use pgo ; then emake -j1 -C tune tuneup ebegin "Trying to generate tuned data" ./tune/tuneup | tee gmp.mparam.h.new if eend $(( 0 + ${PIPESTATUS[*]/#/+} )) ; then mv gmp-mparam.h.new gmp-mparam.h emake clean emake fi fi The tee command writes to a file called gmp.mparam.h.new but the mv command tries to move a file gmp-mparam.h.new that does not exist, causing the whole thing to have no effect.
should be all set now in the tree; thanks for the report! Commit message: Fix typo in generated pgo header http://sources.gentoo.org/dev-libs/gmp/gmp-5.1.0.ebuild?r1=1.7&r2=1.8 http://sources.gentoo.org/dev-libs/gmp/gmp-5.1.1.ebuild?r1=1.3&r2=1.4 http://sources.gentoo.org/dev-libs/gmp/gmp-5.1.2.ebuild?r1=1.12&r2=1.13 http://sources.gentoo.org/dev-libs/gmp/gmp-5.1.3-r1.ebuild?r1=1.16&r2=1.17 http://sources.gentoo.org/dev-libs/gmp/gmp-5.1.3.ebuild?r1=1.2&r2=1.3 http://sources.gentoo.org/dev-libs/gmp/gmp-6.0.0a.ebuild?r1=1.1&r2=1.2