I'm having a problem while installing Gentoo Linux on a VMWare Fusion (for Mac) Virtual Machine.
Actually everything ran fine so far (though finding the correct kernel config was somewhat difficult)...
Now, I'm running into a strange problem while updating system and adding apps.
First, I ran into the known "gcc problem while updating busybox" problem :
Code: Select all
/bin/sh: i686-pc-linux-gnu-gcc: command not found
make[1]: *** [applets/applets.o] Error 127
make: *** [applets_dir] Error 2
* ERROR: sys-apps/busybox-1.15.3 failed:
* build failed
*
* Call stack:
* ebuild.sh, line 54: Called src_compile
* environment, line 2682: Called die
* The specific snippet of code:
* emake busybox || die "build failed";
*
* If you need support, post the output of 'emerge --info =sys-apps/busybox-1.15.3',
* the complete build log and the output of 'emerge -pqv =sys-apps/busybox-1.15.3'.
* The complete build log is located at '/var/tmp/portage/sys-apps/busybox-1.15.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/busybox-1.15.3/temp/environment'.
* S: '/var/tmp/portage/sys-apps/busybox-1.15.3/work/busybox-1.15.3'Here's my CHOST and CFLAGS in make.conf :
Code: Select all
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -mmmx -msse2"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"Code: Select all
# gcc-config -l
[1] i486-pc-linux-gnu-4.3.4 *
# binutils-config -l
[1] i686-pc-linux-gnu-2.18 *Eeew ? Where is i686 ?
Is this normal ?
Code: Select all
# cat /etc/env.d/05gcc-i686-pc-linux-gnu
PATH="/usr/i486-pc-linux-gnu/gcc-bin/4.3.4"
ROOTPATH="/usr/i486-pc-linux-gnu/gcc-bin/4.3.4"
# ls -al /etc/env.d/gcc/
total 20
drwxr-xr-x 2 root root 4096 Mar 19 10:52 .
drwxr-xr-x 5 root root 4096 Mar 19 11:09 ..
lrwxrwxrwx 1 root root 23 Mar 11 14:38 .NATIVE -> i486-pc-linux-gnu-4.3.4
-rw-r--r-- 1 root root 32 Feb 16 11:13 config-i486-pc-linux-gnu
-rw-r--r-- 1 root root 32 Mar 19 10:52 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 235 Feb 16 11:12 i486-pc-linux-gnu-4.3.4
# cat /etc/env.d/gcc/config-i486-pc-linux-gnu
CURRENT=i486-pc-linux-gnu-4.3.4
# cat /etc/env.d/gcc/config-i686-pc-linux-gnu
CURRENT=i486-pc-linux-gnu-4.3.4
# cat /etc/env.d/gcc/i486-pc-linux-gnu-4.3.4
LDPATH="/usr/lib/gcc/i486-pc-linux-gnu/4.3.4"
MANPATH="/usr/share/gcc-data/i486-pc-linux-gnu/4.3.4/man"
INFOPATH="/usr/share/gcc-data/i486-pc-linux-gnu/4.3.4/info"
STDCXX_INCDIR="g++-v4"
GCC_PATH="/usr/i486-pc-linux-gnu/gcc-bin/4.3.4"I've rebuilt binutils, python, glibc, and now I'm in the process of re-emerging system (42/111 so far).
GCC won't compile (actually I had not yet rebuilt glibc when trying, I'll try that later if nothing works).
Could someone explain to me how I don't see the i686 profile when listing GCC profiles?
Thanks in advance. This is really starting to bug me...

