xorg-x11 will not emerge correctly when gcc-config-1.3.7 is installed. It appears that this ebuild expect the $CC variable and it bombs out quickly with errors such as: O2: command not found Backing off to gcc-config-1.3.6-r3 fixed the problem.
bug in the ebuild, not gcc-config
Fixed already from user report. It was relying on behavior I think gcc-getCC had of CC as a nonlocal rather than keeping it as a local, then when that was removed fell back to the env CC and then just died when that was pulled.
hmm - is that really fixed? look at this: <root@CogES>/usr/src: cat /etc/env.d/05gcc PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3" ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3" MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2" and that's all. with -1.3.6-r3 it looks like this: PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3" ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3" MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" CC="gcc" CXX="g++" LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4:/usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2" where are lines with CC= and CXX= ? come ebuilds needs them (i've noticed it on lm-sensors, but grep -R CC= /usr/portage/* shows many results... )
Those ebuilds are now considered broken.
Problem still exists in gcc-config-1.3.7-r1. We should consider this, because a lots of ebuilds need to be fixed, just try `grep -RE 'CC=|CXX=' /usr/portage/*`.
a few things: those ebuilds are broken i'm not changing gcc-config back env.d entries may still contain CC/CXX; doesnt matter ... gcc-config filters it before outputing the final env.d entry which makes it into the user's environment yes i know how many packages are broken, i've already grepped the tree and filed bugs and fixed some gcc-getCC is the old method ... tc-getCC is the new function and it correctly handles known cases (and if it doesnt, file another bug)