Gentoo Archives: gentoo-user

From: Christopher Lemire <christopher.lemire@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] GCC/Build Problems
Date: Mon, 16 Jul 2012 12:02:07
Message-Id: CAB43Gpk+2HEgOSww3mLxsxvud9=TMAyf-z2bX8T1BfHzidDWDQ@mail.gmail.com
1 I was doing a system upgrade. Following the instructions from
2
3 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=2&chap=1
4
5 emerge --sync
6 emerge --update --deep world
7
8 So after that, everything was updated except build dependencies and
9 packages that had a use flag change on them, so I believe building one
10 of the build dependencies failed causing all the problems I am having.
11 I did:
12
13 emerge --update --deep --with-bdeps=y --newuse world
14
15
16
17
18 So I would often get the message
19
20 configure: error: C compiler cannot create executables
21 See `config.log' for more details
22
23
24
25
26 So, what I did is get another gcc compiler as a bin package, and set
27 it as my default with gcc-config.
28
29 I then tried to rebuild libtool. Again, I got the same message (in the
30 bold part):
31
32 bullshark@beastlinux ~ % sudo emerge -av --oneshot libtool
33 Password:
34
35 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
36 * Use eselect news to read news items.
37
38
39 These are the packages that would be merged, in order:
40
41 Calculating dependencies... done!
42 [ebuild R ] sys-devel/libtool-2.4-r1 USE="-test -vanilla*" 0 kB
43
44 Total: 1 package (1 reinstall), Size of downloads: 0 kB
45
46 Would you like to merge these packages? [Yes/No] y
47
48 >>> Verifying ebuild manifests
49
50 >>> Emerging (1 of 1) sys-devel/libtool-2.4-r1
51 * libtool-2.4.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
52 >>> Unpacking source...
53 >>> Unpacking ./libtool-2.4.tar to /var/tmp/portage/sys-devel/libtool-2.4-r1/work
54 >>> Source unpacked in /var/tmp/portage/sys-devel/libtool-2.4-r1/work
55 >>> Preparing source in /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4 ...
56 * Applying libtool-1.5.20-use-linux-version-in-fbsd.patch ... [ ok ]
57 * Running eautoreconf in
58 '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl'
59 ...
60 * Running true --install --copy --force --automake ... [ ok ]
61 * Running aclocal -I m4 ... [ ok ]
62 * Running autoconf ... [ ok ]
63 * Running autoheader ... [ ok ]
64 * Running automake --add-missing --copy --foreign ... [ ok ]
65 * Running eautoreconf in
66 '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4' ...
67 * Running true --install --copy --force --automake ... [ ok ]
68 * Running aclocal -I libltdl/m4 ... [ ok ]
69 * Running autoconf ... [ ok ]
70 * Running autoheader ... [ ok ]
71 * Running automake --add-missing --copy ... [ ok ]
72 >>> Source prepared.
73 >>> Configuring source in /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4 ...
74 * econf: updating libtool-2.4/libltdl/config/config.sub with
75 /usr/share/gnuconfig/config.sub
76 * econf: updating libtool-2.4/libltdl/config/config.guess with
77 /usr/share/gnuconfig/config.guess
78 ./configure --prefix=/usr --build=i686-pc-linux-gnu
79 --host=i686-pc-linux-gnu --mandir=/usr/share/man
80 --infodir=/usr/share/info --dat
81 adir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
82 ## ----------------------- ##
83 ## Configuring libtool 2.4 ##
84 ## ----------------------- ##
85
86 checking for a BSD-compatible install... /usr/bin/install -c
87 checking whether build environment is sane... yes
88 checking for a thread-safe mkdir -p... /bin/mkdir -p
89 checking for gawk... gawk
90 checking whether make sets $(MAKE)... yes
91 checking build system type... i686-pc-linux-gnu
92 checking host system type... i686-pc-linux-gnu
93 configure: autobuild project... GNU Libtool
94 configure: autobuild revision... 2.4 ()
95 configure: autobuild hostname... beastlinux
96 configure: autobuild mode... default
97 configure: autobuild timestamp... 20120715T164750Z
98 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
99 [b]checking whether the C compiler works... no
100 configure: error: in
101 `/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4':
102 configure: error: C compiler cannot create executables
103 See `config.log' for more details[/b]
104
105 !!! Please attach the following file when seeking support:
106 !!! /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/config.log
107 * ERROR: sys-devel/libtool-2.4-r1 failed (configure phase):
108 * econf failed
109 *
110 * Call stack:
111 * ebuild.sh, line 85: Called src_configure
112 * environment, line 2807: Called default
113 * phase-functions.sh, line 798: Called _eapi2_src_configure
114 * phase-helpers.sh, line 567: Called econf
115 * phase-helpers.sh, line 467: Called die
116 * The specific snippet of code:
117 * die "econf failed"
118 *
119 * If you need support, post the output of `emerge --info
120 '=sys-devel/libtool-2.4-r1'`,
121 * the complete build log and the output of `emerge -pqv
122 '=sys-devel/libtool-2.4-r1'`.
123 /usr/lib/portage/bin/isolated-functions.sh: line 214: wait: `econf
124 failed': not a pid or valid job spec
125 * The complete build log is located at
126 '/var/tmp/portage/sys-devel/libtool-2.4-r1/temp/build.log'.
127 * The ebuild environment file is located at
128 '/var/tmp/portage/sys-devel/libtool-2.4-r1/temp/environment'.
129 * Working directory:
130 '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4'
131 * S: '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4'
132
133 >>> Failed to emerge sys-devel/libtool-2.4-r1, Log file:
134
135 >>> '/var/tmp/portage/sys-devel/libtool-2.4-r1/temp/build.log'
136
137 * Messages for package sys-devel/libtool-2.4-r1:
138
139 * ERROR: sys-devel/libtool-2.4-r1 failed (configure phase):
140 * econf failed
141 *
142 * Call stack:
143 * ebuild.sh, line 85: Called src_configure
144 * environment, line 2807: Called default
145 * phase-functions.sh, line 798: Called _eapi2_src_configure
146 * phase-helpers.sh, line 567: Called econf
147 * phase-helpers.sh, line 467: Called die
148 * The specific snippet of code:
149 * die "econf failed"
150 *
151 * If you need support, post the output of `emerge --info
152 '=sys-devel/libtool-2.4-r1'`,
153 * the complete build log and the output of `emerge -pqv
154 '=sys-devel/libtool-2.4-r1'`.
155 * The complete build log is located at
156 '/var/tmp/portage/sys-devel/libtool-2.4-r1/temp/build.log'.
157 * The ebuild environment file is located at
158 '/var/tmp/portage/sys-devel/libtool-2.4-r1/temp/environment'.
159 * Working directory:
160 '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4'
161 * S: '/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4
162
163
164
165
166
167 Here's the build.log:
168
169 This file contains any messages produced by compilers while
170 running configure, to aid debugging if configure makes a mistake.
171
172 It was created by GNU Libtool configure 2.4, which was
173 generated by GNU Autoconf 2.68. Invocation command line was
174
175 $ ./configure --prefix=/usr --build=i686-pc-linux-gnu
176 --host=i686-pc-linux-gnu --mandir=/usr/share/man
177 --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
178 --localstatedir=/var/lib
179
180 ## --------- ##
181 ## Platform. ##
182 ## --------- ##
183
184 hostname = beastlinux
185 uname -m = i686
186 uname -r = 3.2.12-gentoo-laptop
187 uname -s = Linux
188 uname -v = #5 Mon Jul 9 22:45:24 CDT 2012
189
190 /usr/bin/uname -p = unknown
191 /bin/uname -X = unknown
192
193 /bin/arch = unknown
194 /usr/bin/arch -k = unknown
195 /usr/convex/getsysinfo = unknown
196 /usr/bin/hostinfo = unknown
197 /bin/machine = unknown
198 /usr/bin/oslevel = unknown
199 /bin/universe = unknown
200
201 PATH: /usr/lib/portage/bin/ebuild-helpers
202 PATH: /usr/local/sbin
203 PATH: /usr/local/bin
204 PATH: /usr/sbin
205 PATH: /usr/bin
206 PATH: /sbin
207 PATH: /bin
208 PATH: /opt/bin
209 PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.5.3
210
211
212 ## ----------- ##
213 ## Core tests. ##
214 ## ----------- ##
215
216 configure:2703: checking for a BSD-compatible install
217 configure:2771: result: /usr/bin/install -c
218 configure:2782: checking whether build environment is sane
219 configure:2832: result: yes
220 configure:2973: checking for a thread-safe mkdir -p
221 configure:3012: result: /bin/mkdir -p
222 configure:3025: checking for gawk
223 configure:3041: found /usr/bin/gawk
224 configure:3052: result: gawk
225 configure:3063: checking whether make sets $(MAKE)
226 configure:3085: result: yes
227 configure:3179: checking build system type
228 configure:3193: result: i686-pc-linux-gnu
229 configure:3213: checking host system type
230 configure:3226: result: i686-pc-linux-gnu
231 configure:3253: autobuild project... GNU Libtool
232 configure:3259: autobuild revision... 2.4 ()
233 configure:3264: autobuild hostname... beastlinux
234 configure:3268: autobuild mode... default
235 configure:3276: autobuild timestamp... 20120715T164750Z
236 configure:3335: checking for i686-pc-linux-gnu-gcc
237 configure:3351: found /usr/bin/i686-pc-linux-gnu-gcc
238 configure:3362: result: i686-pc-linux-gnu-gcc
239 configure:3631: checking for C compiler version
240 configure:3640: i686-pc-linux-gnu-gcc --version >&5
241 i686-pc-linux-gnu-gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3
242 Copyright (C) 2010 Free Software Foundation, Inc.
243 This is free software; see the source for copying conditions. There is NO
244 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
245
246 configure:3651: $? = 0
247 configure:3640: i686-pc-linux-gnu-gcc -v >&5
248 Using built-in specs.
249 COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.5.3/i686-pc-linux-gnu-gcc
250 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.5.3/lto-wrapper
251 Target: i686-pc-linux-gnu
252 Configured with:
253 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/gcc-4.5.3/configure
254 --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.5.3
255 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include
256 --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3
257 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/man
258 --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/info
259 --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4
260 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
261 --disable-fixed-point --without-ppl --without-cloog --disable-lto
262 --disable-nls --with-system-zlib --disable-werror --enable-secureplt
263 --disable-multilib --enable-libmudflap --disable-libssp
264 --enable-libgomp
265 --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.5.3/python
266 --enable-checking=release --disable-libgcj --with-arch=i686
267 --enable-languages=c,c++,fortran --enable-shared
268 --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
269 --enable-targets=all --with-bugurl=http://bugs.gentoo.org/
270 --with-pkgversion='Gentoo 4.5.3-r2 p1.1, pie-0.4.7'
271 Thread model: posix
272 gcc version 4.5.3 (Gentoo 4.5.3-r2 p1.1, pie-0.4.7)
273 configure:3651: $? = 0
274 configure:3640: i686-pc-linux-gnu-gcc -V >&5
275 i686-pc-linux-gnu-gcc: '-V' option must have argument
276 configure:3651: $? = 1
277 configure:3640: i686-pc-linux-gnu-gcc -qversion >&5
278 i686-pc-linux-gnu-gcc: unrecognized option '-qversion'
279 i686-pc-linux-gnu-gcc: no input files
280 configure:3651: $? = 1
281 configure:3671: checking whether the C compiler works
282 configure:3693: i686-pc-linux-gnu-gcc -O2 -march=pentium3 -pipe
283 -fomit-frame-pointer -msse -mmmx -Wl,-O1 -Wl,--as-needed conftest.c
284 >&5
285 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/as:
286 symbol lookup error:
287 /usr/lib/binutils/i686-pc-linux-gnu/2.21.1/libopcodes-2.21.1.so:
288 undefined symbol: buffer_read_memory
289 configure:3697: $? = 2
290 configure:3735: result: no
291 configure: failed program was:
292 | /* confdefs.h */
293 | #define PACKAGE_NAME "GNU Libtool"
294 | #define PACKAGE_TARNAME "libtool"
295 | #define PACKAGE_VERSION "2.4"
296 | #define PACKAGE_STRING "GNU Libtool 2.4"
297 | #define PACKAGE_BUGREPORT "bug-libtool@×××.org"
298 | #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
299 | #define PACKAGE "libtool"
300 | #define VERSION "2.4"
301 | /* end confdefs.h. */
302 |
303 | int
304 | main ()
305 | {
306 |
307 | ;
308 | return 0;
309 | }
310 configure:3740: error: in
311 `/var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4':
312 configure:3742: error: C compiler cannot create executables
313 See `config.log' for more details
314
315 ## ---------------- ##
316 ## Cache variables. ##
317 ## ---------------- ##
318
319 ac_cv_build=i686-pc-linux-gnu
320 ac_cv_env_CCC_set=
321 ac_cv_env_CCC_value=
322 ac_cv_env_CC_set=
323 ac_cv_env_CC_value=
324 ac_cv_env_CFLAGS_set=set
325 ac_cv_env_CFLAGS_value='-O2 -march=pentium3 -pipe -fomit-frame-pointer
326 -msse -mmmx'
327 ac_cv_env_CPPFLAGS_set=
328 ac_cv_env_CPPFLAGS_value=
329 ac_cv_env_CPP_set=
330 ac_cv_env_CPP_value=
331 ac_cv_env_CXXCPP_set=
332 ac_cv_env_CXXCPP_value=
333 ac_cv_env_CXXFLAGS_set=set
334 ac_cv_env_CXXFLAGS_value='-O2 -march=pentium3 -pipe
335 -fomit-frame-pointer -msse -mmmx'
336 ac_cv_env_CXX_set=
337 ac_cv_env_CXX_value=
338 ac_cv_env_F77_set=
339 ac_cv_env_F77_value=
340 ac_cv_env_FCFLAGS_set=set
341 ac_cv_env_FCFLAGS_value='-march=i686 -O2 -pipe'
342 ac_cv_env_FC_set=
343 ac_cv_env_FC_value=
344 ac_cv_env_FFLAGS_set=set
345 ac_cv_env_FFLAGS_value='-march=i686 -O2 -pipe'
346 ac_cv_env_LDFLAGS_set=set
347 ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
348 ac_cv_env_LIBS_set=
349 ac_cv_env_LIBS_value=
350 ac_cv_env_build_alias_set=set
351 ac_cv_env_build_alias_value=i686-pc-linux-gnu
352 ac_cv_env_host_alias_set=set
353 ac_cv_env_host_alias_value=i686-pc-linux-gnu
354 ac_cv_env_target_alias_set=
355 ac_cv_env_target_alias_value=
356 ac_cv_host=i686-pc-linux-gnu
357 ac_cv_path_install='/usr/bin/install -c'
358 ac_cv_path_mkdir=/bin/mkdir
359 ac_cv_prog_AWK=gawk
360 ac_cv_prog_CC=i686-pc-linux-gnu-gcc
361 ac_cv_prog_make_make_set=yes
362
363 ## ----------------- ##
364 ## Output variables. ##
365 ## ----------------- ##
366
367 ACLOCAL='${SHELL}
368 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
369 --run aclocal-1.11'
370 AMDEPBACKSLASH=''
371 AMDEP_FALSE=''
372 AMDEP_TRUE=''
373 AMTAR='${SHELL}
374 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
375 --run tar'
376 AR=''
377 ARGZ_H=''
378 AS=''
379 AUTOCONF='${SHELL}
380 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
381 --run autoconf'
382 AUTOHEADER='${SHELL}
383 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
384 --run autoheader'
385 AUTOM4TE='autom4te'
386 AUTOMAKE='${SHELL}
387 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
388 --run automake-1.11'
389 AUTOTEST='$(AUTOM4TE) --language=autotest'
390 AWK='gawk'
391 CC='i686-pc-linux-gnu-gcc'
392 CCDEPMODE=''
393 CFLAGS='-O2 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx'
394 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/ChangeLog'
395 CONF_SUBDIRS='tests/cdemo tests/demo tests/depdemo tests/f77demo
396 tests/fcdemo tests/mdemo tests/mdemo2 tests/pdemo tests/tagdemo'
397 CONVENIENCE_LTDL_FALSE=''
398 CONVENIENCE_LTDL_TRUE=''
399 CPP=''
400 CPPFLAGS=''
401 CXX=''
402 CXXCPP=''
403 CXXDEPMODE=''
404 CXXFLAGS='-O2 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx'
405 CYGPATH_W='echo'
406 DEFS=''
407 DEPDIR=''
408 DIST_MAKEFILE_LIST='tests/cdemo/Makefile tests/demo/Makefile
409 tests/depdemo/Makefile tests/f77demo/Makefile tests/fcdemo/Makefile
410 tests/mdemo/Makefile tests/mdemo2/Makefile tests/pdemo/Makefile
411 tests/tagdemo/Makefile '
412 DLLTOOL=''
413 DSYMUTIL=''
414 DUMPBIN=''
415 ECHO_C=''
416 ECHO_N='-n'
417 ECHO_T=''
418 EGREP=''
419 EXEEXT=''
420 F77=''
421 FC=''
422 FCFLAGS='-march=i686 -O2 -pipe'
423 FFLAGS='-march=i686 -O2 -pipe'
424 FGREP=''
425 GCJ=''
426 GCJFLAGS=''
427 GREP=''
428 HAVE_CXX_FALSE=''
429 HAVE_CXX_TRUE=''
430 HAVE_F77_FALSE=''
431 HAVE_F77_TRUE=''
432 HAVE_FC_FALSE=''
433 HAVE_FC_TRUE=''
434 HAVE_GCJ_FALSE=''
435 HAVE_GCJ_TRUE=''
436 HAVE_RC_FALSE=''
437 HAVE_RC_TRUE=''
438 HELP2MAN=''
439 INSTALL_DATA='${INSTALL} -m 644'
440 INSTALL_LTDL_FALSE=''
441 INSTALL_LTDL_TRUE=''
442 INSTALL_PROGRAM='${INSTALL}'
443 INSTALL_SCRIPT='${INSTALL}'
444 INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
445 LASTRELEASE=''
446 LD=''
447 LDFLAGS='-Wl,-O1 -Wl,--as-needed'
448 LIBADD_DL=''
449 LIBADD_DLD_LINK=''
450 LIBADD_DLOPEN=''
451 LIBADD_SHL_LOAD=''
452 LIBOBJS=''
453 LIBS=''
454 LIBTOOL=''
455 LIPO=''
456 LN_S=''
457 LTDLOPEN=''
458 LTLIBOBJS=''
459 LT_CONFIG_H=''
460 LT_DLLOADERS=''
461 LT_DLPREOPEN=''
462 M4SH='$(AUTOM4TE) --language=m4sh'
463 MAKEINFO='${SHELL}
464 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/missing
465 --run makeinfo'
466 MANIFEST_TOOL=''
467 MKDIR_P='/bin/mkdir -p'
468 NM=''
469 NMEDIT=''
470 OBJDUMP=''
471 OBJEXT=''
472 ORDER=''
473 OTOOL64=''
474 OTOOL=''
475 PACKAGE='libtool'
476 PACKAGE_BUGREPORT='bug-libtool@×××.org'
477 PACKAGE_NAME='GNU Libtool'
478 PACKAGE_STRING='GNU Libtool 2.4'
479 PACKAGE_TARNAME='libtool'
480 PACKAGE_URL='http://www.gnu.org/software/libtool/'
481 PACKAGE_VERSION='2.4'
482 PATH_SEPARATOR=':'
483 RANLIB=''
484 RC=''
485 SED=''
486 SET_MAKE=''
487 SHELL='/bin/bash'
488 STRIP=''
489 TIMESTAMP=''
490 VERSION='2.4'
491 ac_ct_AR=''
492 ac_ct_CC=''
493 ac_ct_CXX=''
494 ac_ct_DUMPBIN=''
495 ac_ct_F77=''
496 ac_ct_FC=''
497 aclocaldir='${datadir}/aclocal'
498 am__EXEEXT_FALSE=''
499 am__EXEEXT_TRUE=''
500 am__fastdepCC_FALSE=''
501 am__fastdepCC_TRUE=''
502 am__fastdepCXX_FALSE=''
503 am__fastdepCXX_TRUE=''
504 am__include=''
505 am__isrc=''
506 am__leading_dot='.'
507 am__quote=''
508 am__tar='${AMTAR} chof - "$$tardir"'
509 am__untar='${AMTAR} xf -'
510 bindir='${exec_prefix}/bin'
511 build='i686-pc-linux-gnu'
512 build_alias='i686-pc-linux-gnu'
513 build_cpu='i686'
514 build_os='linux-gnu'
515 build_vendor='pc'
516 datadir='/usr/share'
517 datarootdir='${prefix}/share'
518 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
519 dvidir='${docdir}'
520 exec_prefix='NONE'
521 host='i686-pc-linux-gnu'
522 host_alias='i686-pc-linux-gnu'
523 host_cpu='i686'
524 host_os='linux-gnu'
525 host_vendor='pc'
526 htmldir='${docdir}'
527 includedir='${prefix}/include'
528 infodir='/usr/share/info'
529 install_sh='${SHELL}
530 /var/tmp/portage/sys-devel/libtool-2.4-r1/work/libtool-2.4/libltdl/config/install-sh'
531 libdir='${exec_prefix}/lib'
532 libexecdir='${exec_prefix}/libexec'
533 localedir='${datarootdir}/locale'
534 localstatedir='/var/lib'
535 mandir='/usr/share/man'
536 mkdir_p='/bin/mkdir -p'
537 oldincludedir='/usr/include'
538 package_revision='1.3293'
539 pdfdir='${docdir}'
540 pkgdatadir='${datadir}/libtool'
541 prefix='/usr'
542 program_transform_name='s,x,x,'
543 psdir='${docdir}'
544 sbindir='${exec_prefix}/sbin'
545 sharedstatedir='${prefix}/com'
546 sys_symbol_underscore=''
547 sysconfdir='/etc'
548 target_alias=''
549 to_host_file_cmd=''
550 to_tool_file_cmd=''
551
552 ## ----------- ##
553 ## confdefs.h. ##
554 ## ----------- ##
555
556 /* confdefs.h */
557 #define PACKAGE_NAME "GNU Libtool"
558 #define PACKAGE_TARNAME "libtool"
559 #define PACKAGE_VERSION "2.4"
560 #define PACKAGE_STRING "GNU Libtool 2.4"
561 #define PACKAGE_BUGREPORT "bug-libtool@×××.org"
562 #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
563 #define PACKAGE "libtool"
564 #define VERSION "2.4"
565
566 configure: exit 77
567
568
569
570
571
572 And emerge --info
573
574 Portage 2.1.10.65 (hardened/linux/x86, gcc-4.5.3, glibc-2.14.1-r3,
575 3.2.12-gentoo-laptop i686)
576 =================================================================
577 System uname: Linux-3.2.12-gentoo-laptop-i686-with-gentoo-2.1
578 Timestamp of tree: Sun, 15 Jul 2012 09:15:01 +0000
579 distcc 3.1 i686-pc-linux-gnu [disabled]
580 app-shells/bash: 4.2_p20
581 dev-lang/python: 2.7.3-r2, 3.2.3
582 dev-util/cmake: 2.8.7-r5
583 dev-util/pkgconfig: 0.26
584 sys-apps/baselayout: 2.1-r1
585 sys-apps/openrc: 0.9.8.4
586 sys-apps/sandbox: 2.5
587 sys-devel/autoconf: 2.68
588 sys-devel/automake: 1.11.1
589 sys-devel/binutils: 2.21.1-r1
590 sys-devel/gcc: 4.5.3-r2, 4.6.2
591 sys-devel/gcc-config: 1.6
592 sys-devel/libtool: 2.4-r1
593 sys-devel/make: 3.82-r1
594 sys-kernel/linux-headers: 3.1 (virtual/os-headers)
595 sys-libs/glibc: 2.14.1-r3
596 Repositories: gentoo
597 ACCEPT_KEYWORDS="x86"
598 ACCEPT_LICENSE="* -@EULA"
599 CBUILD="i686-pc-linux-gnu"
600 CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx"
601 CHOST="i686-pc-linux-gnu"
602 CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
603 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
604 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
605 /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
606 CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx"
607 DISTDIR="/usr/portage/distfiles"
608 FCFLAGS="-march=i686 -O2 -pipe"
609 FEATURES="assume-digests binpkg-logs config-protect-if-modified
610 distlocks ebuild-locks fixlafiles news parallel-fetch
611 parse-eapi-ebuild-head protect-owned sandbox sfperms strict
612 unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
613 FFLAGS="-march=i686 -O2 -pipe"
614 GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/
615 http://mirror.datapipe.net/gentoo"
616 LANG="en_US.UTF-8"
617 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
618 LINGUAS="en en_GB en_US"
619 MAKEOPTS="-j2"
620 PKGDIR="/usr/portage/packages"
621 PORTAGE_CONFIGROOT="/"
622 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
623 --compress --force --whole-file --delete --stats --human-readable
624 --timeout=180 --exclude=/distfiles --exclude=/local
625 --exclude=/packages"
626 PORTAGE_TMPDIR="/var/tmp"
627 PORTDIR="/usr/portage"
628 PORTDIR_OVERLAY=""
629 SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
630 USE="256-color X acl alsa bash-completion berkdb branding bzip2 cdr
631 cli cpudetection cracklib crypt cxx dbus dga dri dvd exif fbcon flac
632 gdbm gif gnutls gpm gstreamer gtk gzip hardened iconv ipv6 jabber jit
633 joystick jpeg keyboard lcms libnotify lzma matroska mmx modules mouse
634 mp3 mp4 mpeg mudflap multiuser ncurses nls nptl nsplugin offensive ogg
635 opengl openmp pam pax_kernel pcre pic png posix pppd pulseaudio qt4
636 readline sasl session socks5 sox spell sse ssl symlink syslog tcpd
637 tiff truetype udev unicode unicode3 urandom usb v4l vim-syntax vorbis
638 wifi win32codecs x264 x86 xattr xcomposite xft xmpp xorg xscreensaver
639 xvid zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp
640 atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371
641 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident
642 usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
643 asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
644 ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route
645 share shm softvol" APACHE2_MODULES="actions alias auth_basic
646 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm
647 authz_default authz_groupfile authz_host authz_owner authz_user
648 autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache
649 env expires ext_filter file_cache filter headers include info
650 log_config logio mem_cache mime mime_magic negotiation rewrite
651 setenvif speling status unique_id userdir usertrack vhost_alias"
652 CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita
653 karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq
654 load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech
655 aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301
656 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf
657 superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev
658 synaptics keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad
659 cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
660 LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
661 LINGUAS="en en_GB en_US" PHP_TARGETS="php5-3"
662 PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19"
663 USERLAND="GNU" VIDEO_CARDS="r128" XTABLES_ADDONS="quota2 psd pknock
664 lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
665 tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
666 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
667 PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
668 PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
669
670
671
672
673
674 Making a simple Hello World and attempting to compile:
675
676 bullshark@beastlinux ~ % cat hello.c
677 #include <stdio.h>
678
679 main() {
680 printf("Hello Working GCC\n.");
681 }
682 bullshark@beastlinux ~ % gcc hello.c -o hello
683 /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/as:
684 symbol lookup error:
685 /usr/lib/binutils/i686-pc-linux-gnu/2.21.1/libopcodes-2.21.1.so:
686 undefined symbol: buffer_read_memory
687 bullshark@beastlinux ~ %
688
689
690 Christopher Lemire <christopher.lemire@×××××.com>
691 Ubuntu 64 bit Linux Raid Level 0
692
693 Gnu Privacy Guard Key Fingerprint = 3E1A 9103 EF3D 4885 6866 E9DE
694 C69F 18B3 E13B 0909
695
696 Web: http://linuxinnovations.blogspot.com
697 Jabber: recursivequicksort@××××××.org

Replies

Subject Author
Re: [gentoo-user] GCC/Build Problems Todd Goodman <tsg@×××××××××.net>