Gentoo Archives: gentoo-user

From: Michael Sullivan <msulli1355@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] GCC gone bad! Help!
Date: Thu, 19 Nov 2009 19:45:02
Message-Id: 1258659856.11560.1.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] GCC gone bad! Help! by James Ausmus
1 On Thu, 2009-11-19 at 11:25 -0800, James Ausmus wrote:
2 >
3 >
4 > On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan
5 > <msulli1355@×××××.com> wrote:
6 > I've started seeing this line after failed emerges:
7 >
8 >
9 >
10 > checking for C compiler default output file name... configure:
11 > error: C
12 > compiler cannot create executables
13 >
14 >
15 >
16 > Please send the contents of the config log for the package you are
17 > trying to build - it should approximately be
18 > in /var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log
19 >
20 >
21 > -James
22
23 This file contains any messages produced by compilers while
24 running configure, to aid debugging if configure makes a mistake.
25
26 It was created by configure, which was
27 generated by GNU Autoconf 2.63. Invocation command line was
28
29 $ ./configure --prefix=/usr --build=i686-pc-linux-gnu
30 --host=i686-pc-linux-gnu --mandir=/usr/share/man
31 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
32 --localstatedir=/var/lib --enable-dns --with-db=/usr/include/db4.7
33 --with-dblib=db-4.7 --enable-geoip --with-language=english
34
35 ## --------- ##
36 ## Platform. ##
37 ## --------- ##
38
39 hostname = carter
40 uname -m = i686
41 uname -r = 2.6.30-gentoo-r4
42 uname -s = Linux
43 uname -v = #1 SMP Thu Nov 5 13:47:33 CST 2009
44
45 /usr/bin/uname -p = AMD Athlon(tm) 7550 Dual-Core Processor
46 /bin/uname -X = unknown
47
48 /bin/arch = unknown
49 /usr/bin/arch -k = unknown
50 /usr/convex/getsysinfo = unknown
51 /usr/bin/hostinfo = unknown
52 /bin/machine = unknown
53 /usr/bin/oslevel = unknown
54 /bin/universe = unknown
55
56 PATH: /usr/lib/portage/bin/ebuild-helpers
57 PATH: /usr/local/sbin
58 PATH: /sbin
59 PATH: /usr/sbin
60 PATH: /usr/local/bin
61 PATH: /bin
62 PATH: /usr/bin
63 PATH: /opt/bin
64 PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.1
65 PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
66 PATH: /usr/qt/3/bin
67
68
69 ## ----------- ##
70 ## Core tests. ##
71 ## ----------- ##
72
73 configure:1831: checking for i686-pc-linux-gnu-gcc
74 configure:1858: result: gcc
75 configure:2130: checking for C compiler version
76 configure:2138: gcc --version >&5
77 gcc-config: error: could not run/locate 'gcc'
78 configure:2142: $? = 1
79 configure:2149: gcc -v >&5
80 gcc-config: error: could not run/locate 'gcc'
81 configure:2153: $? = 1
82 configure:2160: gcc -V >&5
83 gcc-config: error: could not run/locate 'gcc'
84 configure:2164: $? = 1
85 configure:2187: checking for C compiler default output file name
86 configure:2209: gcc -O2 -march=i686 -pipe -Wl,-O1 conftest.c >&5
87 gcc-config: error: could not run/locate 'gcc'
88 configure:2213: $? = 1
89 configure:2251: result:
90 configure: failed program was:
91 | /* confdefs.h. */
92 | #define PACKAGE_NAME ""
93 | #define PACKAGE_TARNAME ""
94 | #define PACKAGE_VERSION ""
95 | #define PACKAGE_STRING ""
96 | #define PACKAGE_BUGREPORT ""
97 | /* end confdefs.h. */
98 |
99 | int
100 | main ()
101 | {
102 |
103 | ;
104 | return 0;
105 | }
106 configure:2257: error: in
107 `/var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10':
108 configure:2260: error: C compiler cannot create executables
109 See `config.log' for more details.
110
111 ## ---------------- ##
112 ## Cache variables. ##
113 ## ---------------- ##
114
115 ac_cv_env_CC_set=set
116 ac_cv_env_CC_value=gcc
117 ac_cv_env_CFLAGS_set=set
118 ac_cv_env_CFLAGS_value='-O2 -march=i686 -pipe'
119 ac_cv_env_CPPFLAGS_set=
120 ac_cv_env_CPPFLAGS_value=
121 ac_cv_env_CPP_set=
122 ac_cv_env_CPP_value=
123 ac_cv_env_LDFLAGS_set=set
124 ac_cv_env_LDFLAGS_value=-Wl,-O1
125 ac_cv_env_LIBS_set=
126 ac_cv_env_LIBS_value=
127 ac_cv_env_build_alias_set=set
128 ac_cv_env_build_alias_value=i686-pc-linux-gnu
129 ac_cv_env_host_alias_set=set
130 ac_cv_env_host_alias_value=i686-pc-linux-gnu
131 ac_cv_env_target_alias_set=
132 ac_cv_env_target_alias_value=
133 ac_cv_prog_CC=gcc
134
135 ## ----------------- ##
136 ## Output variables. ##
137 ## ----------------- ##
138
139 CC='gcc'
140 CFLAGS='-O2 -march=i686 -pipe'
141 CPP=''
142 CPPFLAGS=''
143 DEFAULT_LANG='english'
144 DEFS=''
145 ECHO_C=''
146 ECHO_N='-n'
147 ECHO_T=''
148 EGREP=''
149 ETCDIR=''
150 EXEEXT=''
151 GDLIB=''
152 GDLOC=''
153 GEOIPINC=''
154 GEOIPLIB=''
155 GREP=''
156 INSTALL_DATA=''
157 INSTALL_PROGRAM=''
158 INSTALL_SCRIPT=''
159 LDFLAGS='-Wl,-O1'
160 LIBOBJS=''
161 LIBS=''
162 LN_S=''
163 LTLIBOBJS=''
164 OBJEXT=''
165 OPTS=''
166 PACKAGE_BUGREPORT=''
167 PACKAGE_NAME=''
168 PACKAGE_STRING=''
169 PACKAGE_TARNAME=''
170 PACKAGE_VERSION=''
171 PATH_SEPARATOR=':'
172 SHELL='/bin/sh'
173 ac_ct_CC=''
174 bindir='${exec_prefix}/bin'
175 build_alias='i686-pc-linux-gnu'
176 datadir='/usr/share'
177 datarootdir='${prefix}/share'
178 docdir='${datarootdir}/doc/${PACKAGE}'
179 dvidir='${docdir}'
180 exec_prefix='NONE'
181 host_alias='i686-pc-linux-gnu'
182 htmldir='${docdir}'
183 includedir='${prefix}/include'
184 infodir='/usr/share/info'
185 libdir='${exec_prefix}/lib'
186 libexecdir='${exec_prefix}/libexec'
187 localedir='${datarootdir}/locale'
188 localstatedir='/var/lib'
189 mandir='/usr/share/man'
190 oldincludedir='/usr/include'
191 pdfdir='${docdir}'
192 prefix='/usr'
193 program_transform_name='s,x,x,'
194 psdir='${docdir}'
195 sbindir='${exec_prefix}/sbin'
196 sharedstatedir='${prefix}/com'
197 sysconfdir='/etc'
198 target_alias=''
199
200 ## ----------- ##
201 ## confdefs.h. ##
202 ## ----------- ##
203
204 #define PACKAGE_NAME ""
205 #define PACKAGE_TARNAME ""
206 #define PACKAGE_VERSION ""
207 #define PACKAGE_STRING ""
208 #define PACKAGE_BUGREPORT ""
209
210 configure: exit 77

Replies

Subject Author
Re: [gentoo-user] GCC gone bad! Help! Michael Sullivan <msulli1355@×××××.com>
Re: [gentoo-user] GCC gone bad! Help! James Ausmus <james.ausmus@×××××.com>