Changing CHOST
During a recent Gentoo installation I accidentally changed the CHOST variable from i386-pc-linux-gnu to i686-pc-linux-gnu. Oops! Afterwards I was getting compilation errors on some packages when I try to update the system. I finally managed to salvage the system by following some advice from this discussion post. Basically what I needed to do was to rebuild the toolkit twice redundantly, then rebuild the world files with the newly built toolkit:
$ emerge glibc binutils gcc $ emerge glibc binutils gcc $ /sbin/fix_libtool_files.sh `gcc -dumpversion` --oldarch i386-pc-linux-gnu $ emerge ccache # ccache needs to be rebuilt to use the new architecture $ emerge xorg-x11 # this needs to be rebuilt first or groff would fail $ emerge -e system $ emerge -e world
One Response to “Changing CHOST”
Leave a Reply
You must be logged in to post a comment.
June 29th, 2006 at 2:22 pm
http://forums.gentoo.org/viewtopic-p-3412848.html