The freeglut ebuild doesn't seem to like the -mcpu option telling that is is deprecated and then a little latter fails to build the package. Removing it from my CFLAGS solved the problem. Would it be better to remove it's reference in the Gentoo handbook? Reproducible: Always Steps to Reproduce: 1.Build minimal system (no big DE) 2.emerge -avt xfce4 xscreensaver 3.Wait and it fails at freeglut Actual Results: The ebuild of freeglut failed Expected Results: Remove the -mcpu flag in CFLAG of /etc/make.conf I don't have the build.log since I didn't back it up before trying my solution.
You should use mtune, not mcpu. See man gcc.
(In reply to comment #1) > You should use mtune, not mcpu. See man gcc. > I know that now, the problem is that it is referenced in the gentoo handbook.
indeed
And it would probably better only to advise -march. Anyone who wants to support multile cpu's can find out about -mtune himself.
Are you sure that quite innocent gcc varning about deprecated option made the whole process fail?
Using -mcpu will not make the compile fail. However, I did fix it in the handbook.
Fixed in CVS as said earlier.