1 |
OK, that's it. I have this in my make.conf, and emerged gcc with: |
2 |
emerge -vuD --newuse gcc |
3 |
---------------------------------------------------------------------------------------------------------------------------------------------- |
4 |
CFLAGS="-march=athlon64 -O2 -pipe" |
5 |
CXXFLAGS="${CFLAGS}" |
6 |
CHOST="x86_64-pc-linux-gnu" |
7 |
MAKEOPT="-j2" |
8 |
#FEATURES="ccache" |
9 |
FEATURES="-sandbox emerge sandbox" |
10 |
USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif |
11 |
glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl |
12 |
nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads |
13 |
tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv |
14 |
xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4" |
15 |
|
16 |
VIDEO_CARDS="NVIDIA" |
17 |
---------------------------------------------------------------------------------------------------------------------------------------------- |
18 |
|
19 |
Now, that's what I am getting. |
20 |
|
21 |
checking for gawk... gawk |
22 |
checking whether make sets $(MAKE)... yes |
23 |
checking for x86_64-pc-linux-gnu-gcc... |
24 |
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc |
25 |
-B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/ |
26 |
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ |
27 |
-isystem /usr/x86_64-pc-linux-gnu/include -isystem |
28 |
/usr/x86_64-pc-linux-gnu/sys-include -m32 |
29 |
checking for C compiler default output file name... a.out |
30 |
checking whether the C compiler works... configure: error: cannot run |
31 |
C compiled programs. |
32 |
If you meant to cross compile, use `--host'. |
33 |
See `config.log' for more details. |
34 |
make[2]: *** [configure-target-libstdc++-v3] Error 1 |
35 |
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' |
36 |
make[1]: *** [all] Error 2 |
37 |
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build' |
38 |
make: *** [profiledbootstrap] Error 2 |
39 |
* |
40 |
* ERROR: sys-devel/gcc-4.1.2 failed. |
41 |
* Call stack: |
42 |
* ebuild.sh, line 49: Called src_compile |
43 |
* environment, line 4638: Called toolchain_src_compile |
44 |
* environment, line 5156: Called gcc_src_compile |
45 |
* environment, line 2964: Called gcc_do_make |
46 |
* environment, line 2787: Called die |
47 |
* The specific snippet of code: |
48 |
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" |
49 |
LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} |
50 |
|| die "emake failed with ${GCC_MAKE_TARGET}"; |
51 |
* The die message: |
52 |
* emake failed with profiledbootstrap |
53 |
* |
54 |
* If you need support, post the topmost build error, and the call |
55 |
stack if relevant. |
56 |
* A complete build log is located at |
57 |
'/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'. |
58 |
* The ebuild environment file is located at |
59 |
'/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'. |
60 |
* |
61 |
|
62 |
I just enabled IA32_EMULATION and recompiling my kernel. I downloaded |
63 |
the latest kernel form kernel instead of the one that comes with |
64 |
gentoo. I will report the results. |
65 |
Just out of curiosity, how did you know that IA32_EMULATION is not |
66 |
enabled? Which message told you this ? |
67 |
|
68 |
|
69 |
|
70 |
On Fri, Nov 14, 2008 at 5:48 PM, Christoph Mende <angelos@g.o> wrote: |
71 |
> On Fri, 14 Nov 2008 14:02:19 -0400 |
72 |
> "Mansour Al Akeel" <mansour.alakeel@×××××.com> wrote: |
73 |
> |
74 |
>> Any idea ? |
75 |
> Enable IA32_EMULATION in your kernel |
76 |
> |
77 |
> -- |
78 |
> Christoph Mende |
79 |
> Gentoo/AMD64 Operational Lead and Release Engineering |
80 |
> GPG: EE2A 454A 6A3B A2D8 E43B FF45 2A19 C3B3 6DA0 C1AF |
81 |
> |