Created attachment 331649 [details] sys-devel/gcc-4.2.4-r01.4 build failure I tried the Gentoo Prefix bootstrap on an upstream FreeBSD 9.1-RC3 installation. It failed when trying to build sys-devel/gcc-4.2.4-r01.4. The issue is that EPREFIX=/home/richard/gentoo was used in econf while the toolchain.eclass uses python to canonicalize EPREFIX by introducing realEPREFIX: local realEPREFIX=$(python -c 'import os; print os.path.realpath("'"${EPREFIX}"'")') Running the following command will permit the bootstrap to finish successfully: env I_KNOW_MY_GCC_WORKS_FINE_WITH_SYMLINKS=yes bootstrap-prefix.sh FreeBSD's installer will make /home as a symlink to /usr/home, while giving users home directories in /home. Telling them to bootstrap somewhere else would be a problem. As far as I can tell, the last that anyone discussed this was 3 years ago. Is the original issue for which this hack went into prefix still an issue: http://archives.gentoo.org/gentoo-alt/msg_0425de98061f8676d88521b58c977ec8.xml
Haven't checked with more recent gcc, but the original bugreport still is open: http://gcc.gnu.org/PR29831
freebsd is no longer a supported prefix arch, sorry