Since I can’t seem to get wine to work properly on the 64 bit build, I decided to break down and stop fighting the system. Just create a damn 32bit chroot so that everything works fine. The following (modified from the official gentoo site) were the steps that I took, and everything seemed to build fine with no problems. I put this is script format so if anyone wants to save 15 minutes of time, then they can just cut/paste this into vim, chmod it, and execute it. If you decide to be lazy like me, make sure that you review what you are stuffing into your make.conf file. It might not be what you wanted.
mkdir /mnt/gentoo32
wget http://distro.ibiblio.org/pub/linux/distributions/funtoo/funtoo/x86/stage3-x86-current.tar.bz2
tar -xvjpf stage3-x86-current.tar.bz2
cp -L /etc/resolv.conf /mnt/gentoo32/etc/resolv.conf
cp -L /etc/passwd /mnt/gentoo32/etc/passwd
rm /mnt/gentoo32/etc/make.conf
echo "CFLAGS=\"-O2 -march=native -msse2 -pipe -fomit-frame-pointer\"" >> /mnt/gentoo32/etc/make.conf
echo "CHOST=\"i686-pc-linux-gnu\"" >> /mnt/gentoo32/etc/make.conf
echo "CXXFLAGS=\"${CFLAGS}\"" >> /mnt/gentoo32/etc/make.conf
echo "MAKEOPTS=\"-j2\"" >> /mnt/gentoo32/etc/make.conf
mount -o bind /dev /mnt/gentoo32/dev
mount -o bind /dev/pts /mnt/gentoo32/dev/pts
mount -o bind /dev/shm /mnt/gentoo32/dev/shm
mount -o bind /proc /mnt/gentoo32/proc
mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb
mount -o bind /sys /mnt/gentoo32/sys
mkdir -p /mnt/gentoo32/usr/portage/
mount -o bind /usr/portage /mnt/gentoo32/usr/portage/
mount -o bind /tmp /mnt/gentoo32/tmp
emerge --noreplace sys-apps/util-linux
echo
echo /##################################################\
echo
echo NOW RUN THE FOLLOWING:
echo # linux32 chroot /mnt/gentoo32 /bin/bash
echo # source /etc/profile
echo # env-update
echo # emerge -vauND world
echo
echo \##################################################/

Comments Left