Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge -u world fails -- broke compiler?
Date: Sun, 14 Aug 2005 17:41:44
Message-Id: 20050814173526.725.qmail@web31706.mail.mud.yahoo.com
1 Hello everybody,
2
3 This is another "C compiler cannot create executables
4 error" :( There's a lot of stuff in the archive about
5 it but nothing I've seen so far seems to suit my case.
6
7 I ran emerge --sync successfully and then tried -uv
8 world; it failed trying to compile sed-4.1.4
9
10 Sure enough, compiling Hello_World.c, did not produce
11 the .o file
12
13 Anyways, here's the /var/tmp/portage/../config.log:
14
15 This file contains any messages produced by compilers
16 while
17 running configure, to aid debugging if configure makes
18 a mistake.
19
20 It was created by sed configure 4.1.4, which was
21 generated by GNU Autoconf 2.59. Invocation command
22 line was
23
24 $ ./configure --prefix=/usr --host=i686-pc-linux-gnu
25 --mandir=/usr/share/man --infodir=/usr/share/info
26 --datadir=/usr/share --sysconfdir=/etc
27 --localstatedir=/var/lib --enable-nls
28
29 ## --------- ##
30 ## Platform. ##
31 ## --------- ##
32
33 hostname = dayglo
34 uname -m = i686
35 uname -r = 2.6.11-gentoo-r3
36 uname -s = Linux
37 uname -v = #3 Wed Aug 3 11:42:53 Local time zone must
38 be set--see zic manua
39
40 /usr/bin/uname -p = AMD Sempron(tm) Processor 3100+
41 /bin/uname -X = unknown
42
43 /bin/arch = i686
44 /usr/bin/arch -k = unknown
45 /usr/convex/getsysinfo = unknown
46 hostinfo = unknown
47 /bin/machine = unknown
48 /usr/bin/oslevel = unknown
49 /bin/universe = unknown
50
51 PATH: /sbin
52 PATH: /usr/sbin
53 PATH: /usr/lib/portage/bin
54 PATH: /bin
55 PATH: /usr/bin
56 PATH: /usr/local/bin
57 PATH: /opt/bin
58 PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3.5
59 PATH: /opt/ati/bin
60 PATH: /usr/qt/3/bin
61 PATH: /usr/kde/3.4/sbin
62 PATH: /usr/kde/3.4/bin
63
64
65 ## ----------- ##
66 ## Core tests. ##
67 ## ----------- ##
68
69 configure:1376: checking for a BSD-compatible install
70 configure:1431: result: /bin/install -c
71 configure:1442: checking whether build environment is
72 sane
73 configure:1485: result: yes
74 configure:1550: checking for gawk
75 configure:1566: found /bin/gawk
76 configure:1576: result: gawk
77 configure:1586: checking whether make sets $(MAKE)
78 configure:1606: result: yes
79 configure:1682: checking for i686-pc-linux-gnu-strip
80 configure:1711: result: no
81 configure:1720: checking for strip
82 configure:1736: found /usr/bin/strip
83 configure:1747: result: strip
84 configure:1791: checking for i686-pc-linux-gnu-gcc
85 configure:1807: found /usr/bin/i686-pc-linux-gnu-gcc
86 configure:1817: result: i686-pc-linux-gnu-gcc
87 configure:2099: checking for C compiler version
88 configure:2102: i686-pc-linux-gnu-gcc --version
89 </dev/null >&5
90 i686-pc-linux-gnu-gcc (GCC) 3.3.5 (Gentoo Linux
91 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
92 Copyright (C) 2003 Free Software Foundation, Inc.
93 This is free software; see the source for copying
94 conditions. There is NO
95 warranty; not even for MERCHANTABILITY or FITNESS FOR
96 A PARTICULAR PURPOSE.
97
98 configure:2105: $? = 0
99 configure:2107: i686-pc-linux-gnu-gcc -v </dev/null
100 >&5
101 Reading specs from
102 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
103 Configured with:
104 /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure
105 --enable-version-specific-runtime-libs --prefix=/usr
106 --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.5
107 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include
108 --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5
109 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man
110 --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info
111 --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/include/g++-v3
112 --host=i686-pc-linux-gnu --disable-altivec
113 --enable-nls --without-included-gettext
114 --enable-__cxa_atexit --enable-clocale=gnu
115 --with-system-zlib --disable-checking --disable-werror
116 --disable-libunwind-exceptions --enable-shared
117 --enable-threads=posix --disable-multilib
118 --disable-libgcj --enable-languages=c,c++
119 Thread model: posix
120 gcc version 3.3.5 (Gentoo Linux 3.3.5-r1,
121 ssp-3.3.2-3, pie-8.7.7.1)
122 configure:2110: $? = 0
123 configure:2112: i686-pc-linux-gnu-gcc -V </dev/null
124 >&5
125 i686-pc-linux-gnu-gcc: `-V' option must have argument
126 configure:2115: $? = 1
127 configure:2138: checking for C compiler default output
128 file name
129 configure:2141: i686-pc-linux-gnu-gcc -O2 -march=i686
130 -fomit-frame-pointer conftest.c >&5
131 cc1: /usr/local/include: Not a directory
132 configure:2144: $? = 1
133 configure: failed program was:
134 | /* confdefs.h. */
135 |
136 | #define PACKAGE_NAME "sed"
137 | #define PACKAGE_TARNAME "sed"
138 | #define PACKAGE_VERSION "4.1.4"
139 | #define PACKAGE_STRING "sed 4.1.4"
140 | #define PACKAGE_BUGREPORT "bonzini@×××.org"
141 | #define PACKAGE "sed"
142 | #define VERSION "4.1.4"
143 | #define SED_FEATURE_VERSION "4.1"
144 | /* end confdefs.h. */
145 |
146 | int
147 | main ()
148 | {
149 |
150 | ;
151 | return 0;
152 | }
153 configure:2183: error: C compiler cannot create
154 executables
155 See `config.log' for more details.
156
157 ## ---------------- ##
158 ## Cache variables. ##
159 ## ---------------- ##
160
161 ac_cv_env_CC_set=
162 ac_cv_env_CC_value=
163 ac_cv_env_CFLAGS_set=set
164 ac_cv_env_CFLAGS_value='-O2 -march=i686
165 -fomit-frame-pointer'
166 ac_cv_env_CPPFLAGS_set=
167 ac_cv_env_CPPFLAGS_value=
168 ac_cv_env_CPP_set=
169 ac_cv_env_CPP_value=
170 ac_cv_env_LDFLAGS_set=
171 ac_cv_env_LDFLAGS_value=
172 ac_cv_env_build_alias_set=
173 ac_cv_env_build_alias_value=
174 ac_cv_env_host_alias_set=set
175 ac_cv_env_host_alias_value=i686-pc-linux-gnu
176 ac_cv_env_target_alias_set=
177 ac_cv_env_target_alias_value=
178 ac_cv_path_install='/bin/install -c'
179 ac_cv_prog_AWK=gawk
180 ac_cv_prog_CC=i686-pc-linux-gnu-gcc
181 ac_cv_prog_ac_ct_STRIP=strip
182 ac_cv_prog_make_make_set=yes
183
184 ## ----------------- ##
185 ## Output variables. ##
186 ## ----------------- ##
187
188 ACLOCAL='${SHELL}
189 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
190 --run aclocal-1.9'
191 ALLOCA=''
192 AMDEPBACKSLASH=''
193 AMDEP_FALSE=''
194 AMDEP_TRUE=''
195 AMTAR='${SHELL}
196 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
197 --run tar'
198 AUTOCONF='${SHELL}
199 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
200 --run autoconf'
201 AUTOHEADER='${SHELL}
202 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
203 --run autoheader'
204 AUTOMAKE='${SHELL}
205 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
206 --run automake-1.9'
207 AWK='gawk'
208 BUILD_HTML_FALSE=''
209 BUILD_HTML_TRUE=''
210 BUILD_INCLUDED_LIBINTL=''
211 CATOBJEXT=''
212 CC='i686-pc-linux-gnu-gcc'
213 CCDEPMODE=''
214 CFLAGS='-O2 -march=i686 -fomit-frame-pointer'
215 CPP=''
216 CPPFLAGS=''
217 CYGPATH_W='echo'
218 DATADIRNAME=''
219 DEFS=''
220 DEPDIR=''
221 ECHO_C=''
222 ECHO_N='-n'
223 ECHO_T=''
224 EGREP=''
225 EXEEXT=''
226 GENCAT=''
227 GLIBC21=''
228 GMSGFMT=''
229 HAVE__BOOL=''
230 INSTALL_DATA='${INSTALL} -m 644'
231 INSTALL_PROGRAM='${INSTALL}'
232 INSTALL_SCRIPT='${INSTALL}'
233 INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
234 INSTOBJEXT=''
235 INTLBISON=''
236 INTLLIBS=''
237 INTLOBJS=''
238 INTL_LIBTOOL_SUFFIX_PREFIX=''
239 LDFLAGS=''
240 LIBICONV=''
241 LIBINTL=''
242 LIBOBJS=''
243 LIBS=''
244 LTLIBICONV=''
245 LTLIBINTL=''
246 LTLIBOBJS=''
247 MAKEINFO='${SHELL}
248 /var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/missing
249 --run makeinfo'
250 MAKEINFO_HTML_FALSE=''
251 MAKEINFO_HTML_TRUE=''
252 MKINSTALLDIRS=''
253 MSGFMT=''
254 MSGMERGE=''
255 OBJEXT=''
256 PACKAGE='sed'
257 PACKAGE_BUGREPORT='bonzini@×××.org'
258 PACKAGE_NAME='sed'
259 PACKAGE_STRING='sed 4.1.4'
260 PACKAGE_TARNAME='sed'
261 PACKAGE_VERSION='4.1.4'
262 PATH_SEPARATOR=':'
263 POSUB=''
264 RANLIB=''
265 SED_FEATURE_VERSION='4.1'
266 SET_MAKE=''
267 SHELL='/bin/sh'
268 STRIP='strip'
269 TEST_REGEX_FALSE=''
270 TEST_REGEX_TRUE=''
271 TEXI2HTML=''
272 TEXI2HTML_HTML_FALSE=''
273 TEXI2HTML_HTML_TRUE=''
274 USE_INCLUDED_LIBINTL=''
275 USE_NLS=''
276 VERSION='4.1.4'
277 XGETTEXT=''
278 ac_ct_CC=''
279 ac_ct_RANLIB=''
280 ac_ct_STRIP='strip'
281 am__fastdepCC_FALSE=''
282 am__fastdepCC_TRUE=''
283 am__include=''
284 am__leading_dot='.'
285 am__quote=''
286 am__tar='${AMTAR} chof - "$$tardir"'
287 am__untar='${AMTAR} xf -'
288 bindir='${exec_prefix}/bin'
289 build=''
290 build_alias=''
291 build_cpu=''
292 build_os=''
293 build_vendor=''
294 datadir='/usr/share'
295 exec_prefix='NONE'
296 host='i686-pc-linux-gnu'
297 host_alias='i686-pc-linux-gnu'
298 host_cpu=''
299 host_os=''
300 host_vendor=''
301 includedir='${prefix}/include'
302 infodir='/usr/share/info'
303 install_sh='/var/tmp/portage/sed-4.1.4/work/sed-4.1.4/config/install-sh'
304 libdir='${exec_prefix}/lib'
305 libexecdir='${exec_prefix}/libexec'
306 localstatedir='/var/lib'
307 mandir='/usr/share/man'
308 mkdir_p='mkdir -p --'
309 oldincludedir='/usr/include'
310 prefix='/usr'
311 program_transform_name='s,x,x,'
312 sbindir='${exec_prefix}/sbin'
313 sharedstatedir='${prefix}/com'
314 sysconfdir='/etc'
315 target_alias=''
316
317 ## ----------- ##
318 ## confdefs.h. ##
319 ## ----------- ##
320
321 #define PACKAGE "sed"
322 #define PACKAGE_BUGREPORT "bonzini@×××.org"
323 #define PACKAGE_NAME "sed"
324 #define PACKAGE_STRING "sed 4.1.4"
325 #define PACKAGE_TARNAME "sed"
326 #define PACKAGE_VERSION "4.1.4"
327 #define SED_FEATURE_VERSION "4.1"
328 #define VERSION "4.1.4"
329
330 configure: exit 77
331
332 -mw
333
334
335
336
337 ____________________________________________________
338 Start your day with Yahoo! - make it your home page
339 http://www.yahoo.com/r/hs
340
341 --
342 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] emerge -u world fails -- broke compiler? Ben@××××××××××××××××.uk