1 |
Alan McKinnon wrote: |
2 |
> On Thursday 21 May 2009 10:30:17 Jarry wrote: |
3 |
>> |
4 |
>> I tried to emerge spamassassin, but emerge failed while working |
5 |
>> on re2c. I keep getting this error for about 3 days, despite |
6 |
>> of syncing/cleaning/rebuilding portage tree. What could be reason |
7 |
>> for this problem? |
8 |
>> |
9 |
>> Log says something about c++ compiler problem. But just a few |
10 |
>> days ago I emerged sendmail, without any problem. Why suddenly |
11 |
>> c++ does not work? |
12 |
>> --------------------------------------------- |
13 |
>> |
14 |
>> >>> Emerging (14 of 62) dev-util/re2c-0.13.5 |
15 |
>> ... |
16 |
>> checking for a BSD-compatible install... /usr/bin/install -c |
17 |
>> checking whether build environment is sane... yes |
18 |
>> checking for a thread-safe mkdir -p... /bin/mkdir -p |
19 |
>> checking for gawk... gawk |
20 |
>> checking whether make sets $(MAKE)... yes |
21 |
>> checking for bison... bison -y |
22 |
>> checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ |
23 |
>> checking for C++ compiler default output file name... |
24 |
>> configure: error: C++ compiler cannot create executables |
25 |
>> See `config.log' for more details. |
26 |
>> |
27 |
>> !!! Please attach the following file when seeking support: |
28 |
>> !!! /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/config.log |
29 |
> |
30 |
> You need to do this first |
31 |
|
32 |
I'm not sure what you mean. Sending config.log? I did attach it. |
33 |
Probably mailing list has cut it off. So I put it directly |
34 |
(sorry for long post): |
35 |
______________________________________________________________ |
36 |
|
37 |
This file contains any messages produced by compilers while |
38 |
running configure, to aid debugging if configure makes a mistake. |
39 |
|
40 |
It was created by re2c configure 0.13.5, which was |
41 |
generated by GNU Autoconf 2.61. Invocation command line was |
42 |
|
43 |
$ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu |
44 |
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man |
45 |
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc |
46 |
--localstatedir=/var/lib --libdir=/usr/lib64 |
47 |
|
48 |
## --------- ## |
49 |
## Platform. ## |
50 |
## --------- ## |
51 |
|
52 |
hostname = mail |
53 |
uname -m = x86_64 |
54 |
uname -r = 2.6.22-vs2.2.0.7-gentoo |
55 |
uname -s = Linux |
56 |
uname -v = #2 SMP Fri Mar 20 18:27:58 GMT 2009 |
57 |
|
58 |
/usr/bin/uname -p = AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ |
59 |
/bin/uname -X = unknown |
60 |
|
61 |
/bin/arch = unknown |
62 |
/usr/bin/arch -k = unknown |
63 |
/usr/convex/getsysinfo = unknown |
64 |
/usr/bin/hostinfo = unknown |
65 |
/bin/machine = unknown |
66 |
/usr/bin/oslevel = unknown |
67 |
/bin/universe = unknown |
68 |
|
69 |
PATH: /usr/lib64/portage/bin/ebuild-helpers |
70 |
PATH: /usr/local/sbin |
71 |
PATH: /sbin |
72 |
PATH: /usr/sbin |
73 |
PATH: /usr/local/bin |
74 |
PATH: /bin |
75 |
PATH: /usr/bin |
76 |
PATH: /opt/bin |
77 |
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 |
78 |
|
79 |
|
80 |
## ----------- ## |
81 |
## Core tests. ## |
82 |
## ----------- ## |
83 |
|
84 |
configure:1796: checking for a BSD-compatible install |
85 |
configure:1852: result: /usr/bin/install -c |
86 |
configure:1863: checking whether build environment is sane |
87 |
configure:1906: result: yes |
88 |
configure:1934: checking for a thread-safe mkdir -p |
89 |
configure:1973: result: /bin/mkdir -p |
90 |
configure:1986: checking for gawk |
91 |
configure:2002: found /bin/gawk |
92 |
configure:2013: result: gawk |
93 |
configure:2024: checking whether make sets $(MAKE) |
94 |
configure:2045: result: yes |
95 |
configure:2252: checking for bison |
96 |
configure:2268: found /usr/bin/bison |
97 |
configure:2279: result: bison -y |
98 |
configure:2305: checking for x86_64-pc-linux-gnu-g++ |
99 |
configure:2321: found /usr/bin/x86_64-pc-linux-gnu-g++ |
100 |
configure:2332: result: x86_64-pc-linux-gnu-g++ |
101 |
configure:2407: checking for C++ compiler version |
102 |
configure:2414: x86_64-pc-linux-gnu-g++ --version >&5 |
103 |
x86_64-pc-linux-gnu-g++ (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2 |
104 |
Copyright (C) 2008 Free Software Foundation, Inc. |
105 |
This is free software; see the source for copying conditions. There is NO |
106 |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
107 |
|
108 |
configure:2417: $? = 0 |
109 |
configure:2424: x86_64-pc-linux-gnu-g++ -v >&5 |
110 |
Using built-in specs. |
111 |
Target: x86_64-pc-linux-gnu |
112 |
Configured with: |
113 |
/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/configure |
114 |
--prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2 |
115 |
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include |
116 |
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2 |
117 |
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/man |
118 |
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.2/info |
119 |
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/include/g++-v4 |
120 |
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec |
121 |
--disable-fixed-point --enable-nls --without-included-gettext |
122 |
--with-system-zlib --disable-checking --disable-werror |
123 |
--enable-secureplt --enable-multilib --enable-libmudflap |
124 |
--disable-libssp --enable-libgomp --disable-libgcj |
125 |
--enable-languages=c,c++,treelang,fortran --enable-shared |
126 |
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu |
127 |
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.2-r3 |
128 |
p1.6, pie-10.1.5' |
129 |
Thread model: posix |
130 |
gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) |
131 |
configure:2427: $? = 0 |
132 |
configure:2434: x86_64-pc-linux-gnu-g++ -V >&5 |
133 |
x86_64-pc-linux-gnu-g++: '-V' option must have argument |
134 |
configure:2437: $? = 1 |
135 |
configure:2460: checking for C++ compiler default output file name |
136 |
configure:2487: x86_64-pc-linux-gnu-g++ -march=athlon64 - O2 -pipe |
137 |
-Wl,-O1 conftest.cpp >&5 |
138 |
x86_64-pc-linux-gnu-g++: O2: No such file or directory |
139 |
x86_64-pc-linux-gnu-g++: -E or -x required when input is from standard input |
140 |
configure:2490: $? = 1 |
141 |
configure:2528: result: |
142 |
configure: failed program was: |
143 |
| /* confdefs.h. */ |
144 |
| #define PACKAGE_NAME "re2c" |
145 |
| #define PACKAGE_TARNAME "re2c" |
146 |
| #define PACKAGE_VERSION "0.13.5" |
147 |
| #define PACKAGE_STRING "re2c 0.13.5" |
148 |
| #define PACKAGE_BUGREPORT "re2c-general@×××××××××××××××××.net" |
149 |
| #define PACKAGE "re2c" |
150 |
| #define VERSION "0.13.5" |
151 |
| /* end confdefs.h. */ |
152 |
| |
153 |
| int |
154 |
| main () |
155 |
| { |
156 |
| |
157 |
| ; |
158 |
| return 0; |
159 |
| } |
160 |
configure:2535: error: C++ compiler cannot create executables |
161 |
See `config.log' for more details. |
162 |
|
163 |
## ---------------- ## |
164 |
## Cache variables. ## |
165 |
## ---------------- ## |
166 |
|
167 |
ac_cv_env_CCC_set= |
168 |
ac_cv_env_CCC_value= |
169 |
ac_cv_env_CC_set= |
170 |
ac_cv_env_CC_value= |
171 |
ac_cv_env_CFLAGS_set=set |
172 |
ac_cv_env_CFLAGS_value='-march=athlon64 -O2 -pipe' |
173 |
ac_cv_env_CPPFLAGS_set= |
174 |
ac_cv_env_CPPFLAGS_value= |
175 |
ac_cv_env_CPP_set= |
176 |
ac_cv_env_CPP_value= |
177 |
ac_cv_env_CXXFLAGS_set=set |
178 |
ac_cv_env_CXXFLAGS_value='-march=athlon64 - O2 -pipe' |
179 |
ac_cv_env_CXX_set= |
180 |
ac_cv_env_CXX_value= |
181 |
ac_cv_env_LDFLAGS_set=set |
182 |
ac_cv_env_LDFLAGS_value=-Wl,-O1 |
183 |
ac_cv_env_LIBS_set= |
184 |
ac_cv_env_LIBS_value= |
185 |
ac_cv_env_YACC_set= |
186 |
ac_cv_env_YACC_value= |
187 |
ac_cv_env_YFLAGS_set= |
188 |
ac_cv_env_YFLAGS_value= |
189 |
ac_cv_env_build_alias_set=set |
190 |
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu |
191 |
ac_cv_env_host_alias_set=set |
192 |
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu |
193 |
ac_cv_env_target_alias_set= |
194 |
ac_cv_env_target_alias_value= |
195 |
ac_cv_path_install='/usr/bin/install -c' |
196 |
ac_cv_path_mkdir=/bin/mkdir |
197 |
ac_cv_prog_AWK=gawk |
198 |
ac_cv_prog_CXX=x86_64-pc-linux-gnu-g++ |
199 |
ac_cv_prog_YACC='bison -y' |
200 |
ac_cv_prog_make_make_set=yes |
201 |
|
202 |
## ----------------- ## |
203 |
## Output variables. ## |
204 |
## ----------------- ## |
205 |
|
206 |
ACLOCAL='${SHELL} |
207 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run |
208 |
aclocal-1.10' |
209 |
AMDEPBACKSLASH='' |
210 |
AMDEP_FALSE='' |
211 |
AMDEP_TRUE='' |
212 |
AMTAR='${SHELL} |
213 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run tar' |
214 |
AUTOCONF='${SHELL} |
215 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run |
216 |
autoconf' |
217 |
AUTOHEADER='${SHELL} |
218 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run |
219 |
autoheader' |
220 |
AUTOMAKE='${SHELL} |
221 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run |
222 |
automake-1.10' |
223 |
AWK='gawk' |
224 |
CC='' |
225 |
CCDEPMODE='' |
226 |
CFLAGS='-march=athlon64 -O2 -pipe' |
227 |
CPP='' |
228 |
CPPFLAGS='' |
229 |
CXX='x86_64-pc-linux-gnu-g++' |
230 |
CXXDEPMODE='' |
231 |
CXXFLAGS='-march=athlon64 - O2 -pipe' |
232 |
CYGPATH_W='echo' |
233 |
DEFS='' |
234 |
DEPDIR='' |
235 |
ECHO_C='' |
236 |
ECHO_N='-n' |
237 |
ECHO_T='' |
238 |
EGREP='' |
239 |
EXEEXT='' |
240 |
GREP='' |
241 |
INSTALL_DATA='${INSTALL} -m 644' |
242 |
INSTALL_PROGRAM='${INSTALL}' |
243 |
INSTALL_SCRIPT='${INSTALL}' |
244 |
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
245 |
LDFLAGS='-Wl,-O1' |
246 |
LIBOBJS='' |
247 |
LIBS='' |
248 |
LTLIBOBJS='' |
249 |
MAKEINFO='${SHELL} |
250 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/missing --run |
251 |
makeinfo' |
252 |
OBJEXT='' |
253 |
PACKAGE='re2c' |
254 |
PACKAGE_BUGREPORT='re2c-general@×××××××××××××××××.net' |
255 |
PACKAGE_DATE='21 May 2009' |
256 |
PACKAGE_NAME='re2c' |
257 |
PACKAGE_RELEASE='1' |
258 |
PACKAGE_STRING='re2c 0.13.5' |
259 |
PACKAGE_TARNAME='re2c' |
260 |
PACKAGE_VERSION='0.13.5' |
261 |
PATH_SEPARATOR=':' |
262 |
SET_MAKE='' |
263 |
SHELL='/bin/sh' |
264 |
STRIP='' |
265 |
VERSION='0.13.5' |
266 |
WINBUILDDIR='Release-2005' |
267 |
YACC='bison -y' |
268 |
YFLAGS='' |
269 |
ac_ct_CC='' |
270 |
ac_ct_CXX='' |
271 |
am__fastdepCC_FALSE='' |
272 |
am__fastdepCC_TRUE='' |
273 |
am__fastdepCXX_FALSE='' |
274 |
am__fastdepCXX_TRUE='' |
275 |
am__include='' |
276 |
am__isrc='' |
277 |
am__leading_dot='.' |
278 |
am__quote='' |
279 |
am__tar='${AMTAR} chof - "$$tardir"' |
280 |
am__untar='${AMTAR} xf -' |
281 |
bindir='${exec_prefix}/bin' |
282 |
build_alias='x86_64-pc-linux-gnu' |
283 |
datadir='/usr/share' |
284 |
datarootdir='${prefix}/share' |
285 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
286 |
dvidir='${docdir}' |
287 |
exec_prefix='NONE' |
288 |
host_alias='x86_64-pc-linux-gnu' |
289 |
htmldir='${docdir}' |
290 |
includedir='${prefix}/include' |
291 |
infodir='/usr/share/info' |
292 |
install_sh='$(SHELL) |
293 |
/var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/install-sh' |
294 |
libdir='/usr/lib64' |
295 |
libexecdir='${exec_prefix}/libexec' |
296 |
localedir='${datarootdir}/locale' |
297 |
localstatedir='/var/lib' |
298 |
mandir='/usr/share/man' |
299 |
mkdir_p='/bin/mkdir -p' |
300 |
oldincludedir='/usr/include' |
301 |
pdfdir='${docdir}' |
302 |
prefix='/usr' |
303 |
program_transform_name='s,x,x,' |
304 |
psdir='${docdir}' |
305 |
sbindir='${exec_prefix}/sbin' |
306 |
sharedstatedir='${prefix}/com' |
307 |
sysconfdir='/etc' |
308 |
target_alias='' |
309 |
|
310 |
## ----------- ## |
311 |
## confdefs.h. ## |
312 |
## ----------- ## |
313 |
|
314 |
#define PACKAGE_NAME "re2c" |
315 |
#define PACKAGE_TARNAME "re2c" |
316 |
#define PACKAGE_VERSION "0.13.5" |
317 |
#define PACKAGE_STRING "re2c 0.13.5" |
318 |
#define PACKAGE_BUGREPORT "re2c-general@×××××××××××××××××.net" |
319 |
#define PACKAGE "re2c" |
320 |
#define VERSION "0.13.5" |
321 |
|
322 |
configure: exit 77 |
323 |
_________________________________________________________ |