Gentoo Archives: gentoo-amd64

From: Mansour Al Akeel <mansour.alakeel@×××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Can not compile gcc
Date: Fri, 14 Nov 2008 18:02:22
Message-Id: 2a21586d0811141002p735a3839h74ec70ff8dd7f524@mail.gmail.com
1 Hello all, I have updated my use flags.
2
3 USE="X aac aiglx alsa aoss asf bzip2 cairo dbus dvd emerald fam firefox gif
4 glitz gnome gstreamer gtk hal java jpeg mad mp3 mp4 new-login nptl
5 nptlonly nsplugin opengl pdf png samba spell sqlite svg symlink threads
6 tiff truetype unicode x264 xcomposite xinerama xml xorg xscreensaver xv
7 xvid -arts -eds -esd -fortran -ipv6 -kde -qt3 -qt4"
8
9 And then tried :
10 emerge -vuD --newuse world
11
12 It failed with the error:
13 =============================================================
14 checking whether the C compiler works... configure: error: cannot run C
15 compiled programs.
16 If you meant to cross compile, use `--host'.
17 See `config.log' for more details.
18 make[2]: *** [configure-target-libstdc++-v3] Error 1
19 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
20 make[1]: *** [all] Error 2
21 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
22 make: *** [profiledbootstrap] Error 2
23 *
24 * ERROR: sys-devel/gcc-4.1.2 failed.
25 * Call stack:
26 * ebuild.sh, line 49: Called src_compile
27 * environment, line 4646: Called toolchain_src_compile
28 * environment, line 5164: Called gcc_src_compile
29 * environment, line 2972: Called gcc_do_make
30 * environment, line 2795: Called die
31 * The specific snippet of code:
32 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
33 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die
34 "emake failed with ${GCC_MAKE_TARGET}";
35 * The die message:
36 * emake failed with profiledbootstrap
37 *
38 * If you need support, post the topmost build error, and the call stack if
39 relevant.
40 * A complete build log is located at
41 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
42 * The ebuild environment file is located at
43 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
44 *
45
46 * Messages for package app-editors/nano-2.1.5:
47
48 * More helpful info about nano, visit the GDP page:
49 * http://www.gentoo.org/doc/en/nano-basics-guide.xml
50
51 * Messages for package sys-devel/gcc-4.1.2:
52
53 *
54 * ERROR: sys-devel/gcc-4.1.2 failed.
55 * Call stack:
56 * ebuild.sh, line 49: Called src_compile
57 * environment, line 4646: Called toolchain_src_compile
58 * environment, line 5164: Called gcc_src_compile
59 * environment, line 2972: Called gcc_do_make
60 * environment, line 2795: Called die
61 * The specific snippet of code:
62 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
63 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die
64 "emake failed with ${GCC_MAKE_TARGET}";
65 * The die message:
66 * emake failed with profiledbootstrap
67 *
68 * If you need support, post the topmost build error, and the call stack if
69 relevant.
70 * A complete build log is located at
71 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
72 * The ebuild environment file is located at
73 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
74 *
75 * Regenerating GNU info directory index...
76 * Processed 132 info files.
77 * IMPORTANT: 3 config files in '/etc' need updating.
78 * See the CONFIGURATION FILES section of the emerge
79 * man page to learn how to update config files.
80 =============================================================
81 The log file:
82
83 checking for x86_64-pc-linux-gnu-gcc...
84 /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc
85 -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/
86 -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem
87 /usr/x86_64-pc-linux-gnu/include -isystem
88 /usr/x86_64-pc-linux-gnu/sys-include -m32
89 checking for C compiler default output file name... a.out
90 checking whether the C compiler works... configure: error: cannot run C
91 compiled programs.
92 If you meant to cross compile, use `--host'.
93 See `config.log' for more details.
94 make[2]: *** [configure-target-libstdc++-v3] Error 1
95 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
96 make[1]: *** [all] Error 2
97 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
98 make: *** [profiledbootstrap] Error 2
99 *
100 * ERROR: sys-devel/gcc-4.1.2 failed.
101 * Call stack:
102 * ebuild.sh, line 49: Called src_compile
103 * environment, line 4646: Called toolchain_src_compile
104 * environment, line 5164: Called gcc_src_compile
105 * environment, line 2972: Called gcc_do_make
106 * environment, line 2795: Called die
107 * The specific snippet of code:
108 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
109 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die
110 "emake failed with ${GCC_MAKE_TARGET}";
111 * The die message:
112 * emake failed with profiledbootstrap
113 *
114 * If you need support, post the topmost build error, and the call stack if
115 relevant.
116 * A complete build log is located at
117 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.
118 * The ebuild environment file is located at
119 '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/environment'.
120 *
121
122
123 Any idea ?

Replies

Subject Author
Re: [gentoo-amd64] Can not compile gcc Barry Schwartz <chemoelectric@×××××××××××××.org>
[gentoo-amd64] Re: Can not compile gcc Duncan <1i5t5.duncan@×××.net>
Re: [gentoo-amd64] Can not compile gcc Christoph Mende <angelos@g.o>