gcc-config -l [1] i386-pc-linux-gnu-3.4.4 [2] i386-pc-linux-gnu-3.4.4-hardened [3] i386-pc-linux-gnu-3.4.4-hardenednopie [4] i386-pc-linux-gnu-3.4.4-hardenednopiessp [5] i386-pc-linux-gnu-3.4.4-hardenednossp [6] i686-pc-linux-gnu-4.1.1 * gcc-config 1 or -f i386-pc-linux-gnu-3.4.4 source /etc/profile gcc-config -l the same as above, it doesnt switch. the reason is it makes the below files ls -l /etc/env.d/ total 52 -rw-r--r-- 1 root root 218 Nov 21 09:13 00basic -rw-r--r-- 1 root root 156 Nov 21 08:01 05binutils -rw-r--r-- 1 root root 269 Nov 21 08:42 05gcc -rw-r--r-- 1 root root 92 Nov 23 06:02 05gcc-i686-pc-linux-gnu -rw-r--r-- 1 root root 34 Nov 21 08:43 05portage.envd -rw-r--r-- 1 root root 47 Nov 21 10:27 50glib2 -rw-r--r-- 1 root root 36 Nov 21 09:42 50ncurses -rw-r--r-- 1 root root 49 Nov 21 09:07 50python-docs -rw-r--r-- 1 root root 23 Nov 21 09:50 70less -rw-r--r-- 1 root root 39 Nov 21 18:53 98tetex -rw-r--r-- 1 root root 42 Nov 21 16:29 99gentoolkit-env drwxr-xr-x 2 root root 4096 Nov 21 08:00 binutils drwxr-xr-x 2 root root 4096 Nov 23 06:02 gcc and in env.d/gcc -rw-r--r-- 1 root root 32 Nov 21 08:42 config -rw-r--r-- 1 root root 32 Nov 23 06:02 config-i686-pc-linux-gnu -rw-r--r-- 1 root root 292 Feb 14 2006 i386-pc-linux-gnu-3.4.4 -rw-r--r-- 1 root root 356 Feb 14 2006 i386-pc-linux-gnu-3.4.4-hardened -rw-r--r-- 1 root root 361 Feb 14 2006 i386-pc-linux-gnu-3.4.4-hardenednopie -rw-r--r-- 1 root root 364 Feb 14 2006 i386-pc-linux-gnu-3.4.4-hardenednopiessp -rw-r--r-- 1 root root 361 Feb 14 2006 i386-pc-linux-gnu-3.4.4-hardenednossp -rw-r--r-- 1 root root 292 Nov 21 08:42 i686-pc-linux-gnu-4.1.1 This is with gcc-config-1.3.14 Portage 2.1.2_rc2-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-rc2 i686) ================================================================= System uname: 2.6.19-rc2 i686 AMD Sempron(tm) Processor 2800+ Gentoo Base System version 1.12.6 Last Sync: Tue, 21 Nov 2006 06:00:01 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -Os -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium2 -Os -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://mirror.datapipe.net/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/include/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa async berkdb bitmap-fonts bzip2 cairo cdr chroot cli cpdflib cracklib crypt cups dba dbus dillo dlloader doc dri dvd dvdr eds elibc_glibc emboss encode esd examples fam fbdev firefox gd gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ live lynxkeymap lzw mad mikmod mmx mp3 mpeg nas ncurses network nptl nptlonly ogg opengl openssh oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sdl session spell spl sse ssl tcpd tetex truetype truetype-fonts type1 type1-fonts udev unicode userland_GNU video_cards_fbdev vim vorbis win32codecs wmp xml xorg xv zlib" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I down graded to gcc-config-1.3.13-r4 and get the same results. You can see from the listing in the first post it worked correctly Nov 21. I can provided a list of files emerged scince then.
you changed your CHOST but didnt fully follow the CHOST changing guide http://www.gentoo.org/doc/en/change-chost.xml