Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] emerge -u world fails -- broke compiler? Robert Crawford <flacycads@×××.net>