Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge any gcc
Date: Sun, 27 May 2012 23:50:16
Message-Id: 1338162519.12863.10.camel@moriah
In Reply to: [gentoo-user] Can't emerge any gcc by Ezequiel Garcia
1 probably not, you will need some more info as its a bit vague:
2
3 What does "gcc -v" say?
4
5 and "gcc-config -l"
6
7 Can you compile anything, either through emerge or manually (i.e., even
8 a small "hello world")
9
10 Need to narrow it down.
11
12 BillK
13
14
15
16
17 On Sun, 2012-05-27 at 20:33 -0300, Ezequiel Garcia wrote:
18 > Hi,
19 >
20 > I can't emerge any gcc. I tried emerging 4.7, 4.5.3-r2 with no luck.
21 >
22 > Should I file a bug?
23 >
24 > Thanks,
25 > Ezequiel.
26 > ---
27 >
28 > Checking multilib configuration for libgomp...
29 > Configuring stage 1 in i686-pc-linux-gnu/libgomp
30 > configure: loading site script /usr/share/config.site
31 > configure: loading site script /usr/share/crossdev/include/site/linux
32 > configure: loading site script /usr/share/crossdev/include/site/linux-gnu
33 > configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu
34 > configure: creating cache ./config.cache
35 > checking for --enable-version-specific-runtime-libs... no
36 > checking for --enable-generated-files-in-srcdir... no
37 > checking build system type... i686-pc-linux-gnu
38 > checking host system type... i686-pc-linux-gnu
39 > checking target system type... i686-pc-linux-gnu
40 > checking for a BSD-compatible install... /usr/bin/install -c
41 > checking whether build environment is sane... yes
42 > checking for a thread-safe mkdir -p... /bin/mkdir -p
43 > checking for gawk... gawk
44 > checking whether make sets $(MAKE)... yes
45 > checking for i686-pc-linux-gnu-gcc...
46 > /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/xgcc
47 > -B/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/
48 > -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
49 > /usr/i686-pc-linux-gnu/include -isystem
50 > /usr/i686-pc-linux-gnu/sys-include
51 > checking for C compiler default output file name...
52 > configure: error: in
53 > `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/i686-pc-linux-gnu/libgomp':
54 > configure: error: C compiler cannot create executables
55 > See `config.log' for more details.
56 > make[2]: *** [configure-stage1-target-libgomp] Error 77
57 > make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
58 > make[1]: *** [stage1-bubble] Error 2
59 > make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
60 > make: *** [bootstrap-lean] Error 2
61 > emake failed
62 > * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
63 > * emake failed with bootstrap-lean
64 > *
65 > * Call stack:
66 > * ebuild.sh, line 85: Called src_compile
67 > * environment, line 3866: Called toolchain_src_compile
68 > * environment, line 4507: Called gcc_do_make
69 > * environment, line 2223: Called die
70 > * The specific snippet of code:
71 > * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
72 > LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
73 > || die "emake failed with ${GCC_MAKE_TARGET}";
74 > *
75 > * If you need support, post the output of 'emerge --info
76 > =sys-devel/gcc-4.5.3-r2',
77 > * the complete build log and the output of 'emerge -pqv
78 > =sys-devel/gcc-4.5.3-r2'.
79 > *
80 > * Please include
81 > /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
82 > in your bug report
83 > *
84 > * The complete build log is located at
85 > '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
86 > * The ebuild environment file is located at
87 > '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
88 > * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
89 >
90 > >>> Failed to emerge sys-devel/gcc-4.5.3-r2, Log file:
91 >
92 > >>> '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'
93 >
94 > * Messages for package sys-devel/gcc-4.5.3-r2:
95 >
96 > * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
97 > * emake failed with bootstrap-lean
98 > *
99 > * Call stack:
100 > * ebuild.sh, line 85: Called src_compile
101 > * environment, line 3866: Called toolchain_src_compile
102 > * environment, line 4507: Called gcc_do_make
103 > * environment, line 2223: Called die
104 > * The specific snippet of code:
105 > * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
106 > LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
107 > || die "emake failed with ${GCC_MAKE_TARGET}";
108 > *
109 > * If you need support, post the output of 'emerge --info
110 > =sys-devel/gcc-4.5.3-r2',
111 > * the complete build log and the output of 'emerge -pqv
112 > =sys-devel/gcc-4.5.3-r2'.
113 > *
114 > * Please include
115 > /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
116 > in your bug report
117 > *
118 > * The complete build log is located at
119 > '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
120 > * The ebuild environment file is located at
121 > '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
122 > * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
123 >

Replies

Subject Author
Re: [gentoo-user] Can't emerge any gcc Ezequiel Garcia <elezegarcia@×××××.com>