OK, that's it. I have this in my make.conf, and emerged gcc with:
emerge -vuD --newuse gcc
----------------------------------------------------------------------------------------------------------------------------------------------
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPT="-j2"
#FEATURES="ccache"
FEATURES="-sandbox emerge sandbox"
USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif
     glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl
     nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads
     tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv
     xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4"

VIDEO_CARDS="NVIDIA"
----------------------------------------------------------------------------------------------------------------------------------------------

Now, that's what I am getting.

checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc...
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/
-isystem /usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include  -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run
C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[2]: *** [configure-target-libstdc++-v3] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make: *** [profiledbootstrap] Error 2
 *
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4638:  Called toolchain_src_compile
 *             environment, line 5156:  Called gcc_src_compile
 *             environment, line 2964:  Called gcc_do_make
 *             environment, line 2787:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
|| die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with profiledbootstrap
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
 *

I just enabled IA32_EMULATION and recompiling my kernel. I downloaded
the latest kernel form kernel instead of the one that comes with
gentoo. I will report the results.
Just out of curiosity, how did you know that IA32_EMULATION is not
enabled? Which message told you this ?



On Fri, Nov 14, 2008 at 5:48 PM, Christoph Mende <[EMAIL PROTECTED]> wrote:
> On Fri, 14 Nov 2008 14:02:19 -0400
> "Mansour Al Akeel" <[EMAIL PROTECTED]> wrote:
>
>> Any idea ?
> Enable IA32_EMULATION in your kernel
>
> --
> Christoph Mende
> Gentoo/AMD64 Operational Lead and Release Engineering
> GPG: EE2A 454A 6A3B A2D8 E43B  FF45 2A19 C3B3 6DA0 C1AF
>

Reply via email to