$ gcc-config -l [1] x86_64-pc-linux-gnu-4.4.3 * # gcc-config 1 * Switching native-compiler to x86_64-pc-linux-gnu-4.4.3 ... $ man gcc No manual entry for gcc $ man g++ No manual entry for g++ $ man gfortran No manual entry for gfortran $ find /usr/share/gcc-data/x86_64-pc-linux-gnu | xargs qfile -v sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/fr) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/fr/LC_MESSAGES) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/fr/LC_MESSAGES/libstdc++.mo) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/de) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/de/LC_MESSAGES) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/locale/de/LC_MESSAGES/libstdc++.mo) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/c99) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/c89) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/fixlafiles.awk) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/fix_libtool_files.sh) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/cpp.1.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/g++.1.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gfortran.1.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gcc.1.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gcov.1.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7/gfdl.7.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7/gpl.7.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7/fsf-funding.7.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/cpp.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/gcc.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/cppinternals.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/gccinstall.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/libgomp.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/gccint.info.bz2) sys-devel/gcc-4.4.3 (/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info/gfortran.info.bz2) $ qlist sys-devel/gcc | grep man /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/cpp.1.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/g++.1.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gfortran.1.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gcc.1.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man1/gcov.1.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7/gfdl.7.bz2 /usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man/man7/gpl.7.bz2
Turned out to be invalid, gcc was recompiled in system rebuild (for linux-headers), and it was simple as sourcing /etc/profile again. Sorry for bugspam.