LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-25-2009, 04:54 PM   #1
jbee
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
LFS version 6.5, chapter 6.12.1, make check Binutils-2.19.1 errors


Bit of a newb here, I am working through LFS and everything was going well up to this point. I received the following errors running 'make check' for the binutils installation:

=== binutils Summary ===

# of unexpected failures 5
# of unresolved testcases 18
# of untested testcases 6
make[4]: *** [check-DEJAGNU] Error 1
make[4]: Leaving directory `/sources/binutils-build2/binutils'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/sources/binutils-build2/binutils'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/sources/binutils-build2/binutils'
make[1]: *** [check-binutils] Error 2
make[1]: Leaving directory `/sources/binutils-build2'
make: *** [do-check] Error 2


Here is my config.log from the binutils source directory:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ /sources/binutils-2.19.1/configure --prefix=/usr --enable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.27.12-170.2.5.fc10.i686
uname -s = Linux
uname -v = #1 SMP Wed Jan 21 02:09:37 EST 2009

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /tools/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1549: checking build system type
configure:1567: result: i686-pc-linux-gnu
configure:1602: checking host system type
configure:1616: result: i686-pc-linux-gnu
configure:1624: checking target system type
configure:1638: result: i686-pc-linux-gnu
configure:1682: checking for a BSD-compatible install
configure:1748: result: /tools/bin/install -c
configure:1759: checking whether ln works
configure:1781: result: yes
configure:1785: checking whether ln -s works
configure:1789: result: yes
configure:2983: checking for gcc
configure:2999: found /tools/bin/gcc
configure:3009: result: gcc
configure:3255: checking for C compiler version
configure:3258: gcc --version </dev/null >&5
gcc (GCC) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3261: $? = 0
configure:3263: gcc -v </dev/null >&5
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/4.4.1/specs
Target: i686-pc-linux-gnu
Configured with: /mnt/lfs/sources/gcc-4.4.1/configure --prefix=/tools --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.1 (GCC)
configure:3266: $? = 0
configure:3268: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3271: $? = 1
configure:3294: checking for C compiler default output file name
configure:3297: gcc conftest.c >&5
configure:3300: $? = 0
configure:3348: result: a.out
configure:3353: checking whether the C compiler works
configure:3359: ./a.out
configure:3362: $? = 0
configure:3381: result: yes
configure:3388: checking whether we are cross compiling
configure:3390: result: no
configure:3393: checking for suffix of executables
configure:3395: gcc -o conftest conftest.c >&5
configure:3398: $? = 0
configure:3425: result:
configure:3431: checking for suffix of object files
configure:3452: gcc -c conftest.c >&5
configure:3455: $? = 0
configure:3479: result: o
configure:3483: checking whether we are using the GNU C compiler
configure:3507: gcc -c conftest.c >&5
configure:3513: $? = 0
configure:3517: test -z
|| test ! -s conftest.err
configure:3520: $? = 0
configure:3523: test -s conftest.o
configure:3526: $? = 0
configure:3539: result: yes
configure:3545: checking whether gcc accepts -g
configure:3566: gcc -c -g conftest.c >&5
configure:3572: $? = 0
configure:3576: test -z
|| test ! -s conftest.err
configure:3579: $? = 0
configure:3582: test -s conftest.o
configure:3585: $? = 0
configure:3596: result: yes
configure:3613: checking for gcc option to accept ANSI C
configure:3683: gcc -c -g -O2 conftest.c >&5
configure:3689: $? = 0
configure:3693: test -z
|| test ! -s conftest.err
configure:3696: $? = 0
configure:3699: test -s conftest.o
configure:3702: $? = 0
configure:3720: result: none needed
configure:3738: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3744: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3929: checking for g++
configure:3945: found /tools/bin/g++
configure:3955: result: g++
configure:3971: checking for C++ compiler version
configure:3974: g++ --version </dev/null >&5
g++ (GCC) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3977: $? = 0
configure:3979: g++ -v </dev/null >&5
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/4.4.1/specs
Target: i686-pc-linux-gnu
Configured with: /mnt/lfs/sources/gcc-4.4.1/configure --prefix=/tools --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.1 (GCC)
configure:3982: $? = 0
configure:3984: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:3987: $? = 1
configure:3990: checking whether we are using the GNU C++ compiler
configure:4014: g++ -c conftest.cc >&5
configure:4020: $? = 0
configure:4024: test -z
|| test ! -s conftest.err
configure:4027: $? = 0
configure:4030: test -s conftest.o
configure:4033: $? = 0
configure:4046: result: yes
configure:4052: checking whether g++ accepts -g
configure:4073: g++ -c -g conftest.cc >&5
configure:4079: $? = 0
configure:4083: test -z
|| test ! -s conftest.err
configure:4086: $? = 0
configure:4089: test -s conftest.o
configure:4092: $? = 0
configure:4103: result: yes
configure:4145: g++ -c -g -O2 conftest.cc >&5
configure:4151: $? = 0
configure:4155: test -z
|| test ! -s conftest.err
configure:4158: $? = 0
configure:4161: test -s conftest.o
configure:4164: $? = 0
configure:4190: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:4196: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4145: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
configure:4151: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4145: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:10:
/usr/include/stdlib.h:543: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
conftest.cc:9: error: from previous declaration 'void std::exit(int)'
configure:4151: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4145: g++ -c -g -O2 conftest.cc >&5
configure:4151: $? = 0
configure:4155: test -z
|| test ! -s conftest.err
configure:4158: $? = 0
configure:4161: test -s conftest.o
configure:4164: $? = 0
configure:4190: g++ -c -g -O2 conftest.cc >&5
configure:4196: $? = 0
configure:4200: test -z
|| test ! -s conftest.err
configure:4203: $? = 0
configure:4206: test -s conftest.o
configure:4209: $? = 0
configure:4296: checking for gnatbind
configure:4323: result: no
configure:4376: checking for gnatmake
configure:4403: result: no
configure:4415: checking whether compiler driver understands Ada
configure:4438: result: no
configure:4447: checking how to compare bootstrapped objects
configure:4472: result: cmp --ignore-initial=16 $$f1 $$f2
configure:6124: checking for bison
configure:6153: result: no
configure:6124: checking for byacc
configure:6153: result: no
configure:6124: checking for yacc
configure:6153: result: no
configure:6170: checking for bison
configure:6199: result: no
configure:6215: checking for gm4
configure:6244: result: no
configure:6215: checking for gnum4
configure:6244: result: no
configure:6215: checking for m4
configure:6231: found /tools/bin/m4
configure:6241: result: m4
configure:6260: checking for flex
configure:6289: result: no
configure:6260: checking for lex
configure:6289: result: no
configure:6306: checking for flex
configure:6335: result: no
configure:6351: checking for makeinfo
configure:6367: found /tools/bin/makeinfo
configure:6377: result: makeinfo
configure:6410: checking for expect
configure:6426: found /tools/bin/expect
configure:6436: result: expect
configure:6457: checking for runtest
configure:6473: found /tools/bin/runtest
configure:6483: result: runtest
configure:6596: checking for ar
configure:6612: found /tools/bin/ar
configure:6622: result: ar
configure:6731: checking for as
configure:6747: found /tools/bin/as
configure:6757: result: as
configure:6866: checking for dlltool
configure:6895: result: no
configure:6924: checking for ld
configure:6950: result: /tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld
configure:7136: checking for lipo
configure:7165: result: no
configure:7271: checking for nm
configure:7287: found /tools/bin/nm
configure:7297: result: nm
configure:7406: checking for ranlib
configure:7422: found /tools/bin/ranlib
configure:7432: result: ranlib
configure:7536: checking for strip
configure:7552: found /tools/bin/strip
configure:7562: result: strip
configure:7666: checking for windres
configure:7695: result: no
configure:7801: checking for windmc
configure:7830: result: no
configure:7936: checking for objcopy
configure:7952: found /tools/bin/objcopy
configure:7962: result: objcopy
configure:8071: checking for objdump
configure:8087: found /tools/bin/objdump
configure:8097: result: objdump
configure:8245: checking for cc
configure:8261: found /tools/bin/cc
configure:8271: result: cc
configure:8400: checking for c++
configure:8416: found /tools/bin/c++
configure:8426: result: c++
configure:8555: checking for gcc
configure:8571: found /tools/bin/gcc
configure:8581: result: gcc
configure:8705: checking for gcj
configure:8734: result: no
configure:8860: checking for gfortran
configure:8889: result: no
configure:9094: checking for ar
configure:9110: found /tools/bin/ar
configure:9120: result: ar
configure:9317: checking for as
configure:9333: found /tools/bin/as
configure:9343: result: as
configure:9540: checking for dlltool
configure:9569: result: no
configure:9763: checking for ld
configure:9779: found /tools/bin/ld
configure:9789: result: ld
configure:9986: checking for lipo
configure:10015: result: no
configure:10209: checking for nm
configure:10225: found /tools/bin/nm
configure:10235: result: nm
configure:10432: checking for objdump
configure:10448: found /tools/bin/objdump
configure:10458: result: objdump
configure:10655: checking for ranlib
configure:10671: found /tools/bin/ranlib
configure:10681: result: ranlib
configure:10878: checking for strip
configure:10894: found /tools/bin/strip
configure:10904: result: strip
configure:11101: checking for windres
configure:11130: result: no
configure:11324: checking for windmc
configure:11353: result: no
configure:11380: checking where to find the target ar
configure:11403: result: just compiled
configure:11422: checking where to find the target as
configure:11445: result: just compiled
configure:11464: checking where to find the target cc
configure:11497: result: host tool
configure:11506: checking where to find the target c++
configure:11542: result: host tool
configure:11551: checking where to find the target c++ for libstdc++
configure:11587: result: host tool
configure:11596: checking where to find the target dlltool
configure:11619: result: just compiled
configure:11638: checking where to find the target gcc
configure:11671: result: host tool
configure:11680: checking where to find the target gcj
configure:11716: result: host tool
configure:11725: checking where to find the target gfortran
configure:11761: result: host tool
configure:11770: checking where to find the target ld
configure:11793: result: just compiled
configure:11812: checking where to find the target lipo
configure:11834: result: host tool
configure:11843: checking where to find the target nm
configure:11866: result: just compiled
configure:11885: checking where to find the target objdump
configure:11908: result: just compiled
configure:11927: checking where to find the target ranlib
configure:11950: result: just compiled
configure:11969: checking where to find the target strip
configure:11992: result: just compiled
configure:12011: checking where to find the target windres
configure:12034: result: just compiled
configure:12053: checking where to find the target windmc
configure:12076: result: just compiled
configure:12123: checking whether to enable maintainer-specific portions of Makefiles
configure:12132: result: no
configure:12165: checking whether -fkeep-inline-functions is supported
configure:12189: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5
configure:12195: $? = 0
configure:12199: test -z
|| test ! -s conftest.err
configure:12202: $? = 0
configure:12205: test -s conftest.o
configure:12208: $? = 0
configure:12210: result: yes
configure:12427: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on localhost.localdomain

config.status:765: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/tools/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AR_FOR_TARGET=ar
ac_cv_prog_AS=as
ac_cv_prog_AS_FOR_TARGET=as
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_EXPECT=expect
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld
ac_cv_prog_LD_FOR_TARGET=ld
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_NM_FOR_TARGET=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OBJDUMP_FOR_TARGET=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_RANLIB_FOR_TARGET=ranlib
ac_cv_prog_RUNTEST=runtest
ac_cv_prog_STRIP=strip
ac_cv_prog_STRIP_FOR_TARGET=strip
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_GNATBIND=no
ac_cv_prog_ac_ct_GNATMAKE=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=
gcc_cv_tool_prefix=/usr

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
BISON='/sources/binutils-2.19.1/missing bison'
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$(CC)'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$(CXX)'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" '
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -L$$r/$(HOST_SUBDIR)/ld'
FLEX='/sources/binutils-2.19.1/missing flex'
GCC_FOR_TARGET='$()'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='$(GCJ)'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$(GFORTRAN)'
GNATBIND='no'
GNATMAKE='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/tools/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../../i686-pc-linux-gnu/bin/ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
LEX='/sources/binutils-2.19.1/missing flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='$(LIPO)'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
RAW_CXX_FOR_TARGET='$(CXX)'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/sources/binutils-2.19.1/configure --prefix=/usr --enable-shared'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
YACC='/sources/binutils-2.19.1/missing bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_GNATBIND='no'
ac_ct_GNATMAKE='no'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_configargs='--cache-file=../config.cache '--prefix=/usr' '--enable-shared' --program-transform-name='s,y,y,''
build_configdirs=' libiberty'
build_cpu='i686'
build_libsubdir='build-i686-pc-linux-gnu'
build_noncanonical='i686-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-i686-pc-linux-gnu'
build_tooldir='${exec_prefix}/i686-pc-linux-gnu'
build_vendor='pc'
config_shell='/bin/sh'
configdirs=' intl libiberty opcodes bfd binutils gas ld gprof etc'
datadir='${prefix}/share'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc'
exec_prefix='${prefix}'
gmpinc=''
gmplibs='-lmpfr -lgmp'
host='i686-pc-linux-gnu'
host_alias=''
host_configargs='--cache-file=./config.cache --with-gnu-as --with-gnu-ld '--prefix=/usr' '--enable-shared' --program-transform-name='s,y,y,''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,y,y,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g -fkeep-inline-functions'
stage1_checking='--enable-checking=yes,types'
stage1_languages=',c,'
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_configargs='--cache-file=./config.cache --enable-multilib '--prefix=/usr' '--enable-shared' --program-transform-name='s,y,y,''
target_cpu='i686'
target_noncanonical='i686-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-pc-linux-gnu'
target_vendor='pc'
tooldir='${exec_prefix}/i686-pc-linux-gnu'

## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/sources/binutils-2.19.1/config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='/sources/binutils-2.19.1/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void exit (int) throw ();

configure: exit 0

Any ideas where I went wrong?
 
Old 09-30-2009, 04:51 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
config.log is helpful if the configure script bombs, not if the test suite fails. You need to find out what the 5 unexpected failures are and fix those or decide they're not important.
 
Old 10-05-2009, 10:17 AM   #3
reclis94
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
Try doin:
# make
# make install
 
Old 10-05-2009, 11:03 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by reclis94 View Post
Try doin:
# make
# make install
Although the OP doesn't say so, if the OP is following the instructions in the book, the OP already executed make.

The OP has test suite errors, why would you tell the OP to execute make install? You don't know what the errors are from what the OP posted. Telling the OP to install a potentially seriously borked package is not helpful.
 
Old 10-06-2009, 07:53 AM   #5
jbee
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I have been following the instructions in the LFS book version 6.5. I am on step 6.12.1. I have configured Binutils-2.19.1 with the results of config.log posted above. I then did a "make" followed by a "make check", the results of "make check" are here:

=== binutils Summary ===

# of unexpected failures 5
# of unresolved testcases 18
# of untested testcases 6
make[4]: *** [check-DEJAGNU] Error 1
make[4]: Leaving directory `/sources/binutils-build2/binutils'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/sources/binutils-build2/binutils'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/sources/binutils-build2/binutils'
make[1]: *** [check-binutils] Error 2
make[1]: Leaving directory `/sources/binutils-build2'
make: *** [do-check] Error 2

I guess I'm looking for guidance on how to trouble shoot these errors. Is there a way to get more detailed error information?
 
Old 10-06-2009, 09:41 AM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
In the binutils-build directory
Code:
for summary in $(find . -name '*.sum'); do echo $summary; grep FAIL $summary; done
This will list each of the test suite summary files followed by any occurrences of FAIL in that file. XFAIL means expected failure and can be ignored. For example, when I execute the above on a newly built binutils-2.19.1, I get
Code:
./binutils/binutils.sum
./gas/testsuite/gas.sum
./ld/ld.sum
FAIL: bootstrap with --static
FAIL: static preinit array
FAIL: static init array
FAIL: static fini array
XFAIL: ld-scripts/provide-3
XFAIL: selective4
XFAIL: selective5
XFAIL: selective6
I know now that the four unexpected failures occurred in the ld test suite. So I can look at the file ld/ld.log which provides greater detail regarding the failure. Looking at ld/ld.log, I can find the following for one of the unexpected failures
Code:
/home/andrew/binutils-build/ld/.libs/lt-ld-new: cannot find -lz
/home/andrew/binutils-build/ld/.libs/lt-ld-new: cannot find -lz
FAIL: static preinit array
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs-6.3 - chapter 6: binutils-2.17 - make error regarding libbfd-2.17.so :not found me-$-on Linux From Scratch 5 07-02-2009 02:49 PM
LFS 6.4 Chapter 5.4. Binutils-2.18 - Pass 1 gazza1z Linux From Scratch 2 01-23-2009 11:16 AM
Chapter 6.12 GCC make -k check errors kz_chopper Linux From Scratch 2 02-20-2007 11:54 PM
lfs chapter 6.11 Binutils-2.16.1 make problems Nislick Linux From Scratch 3 08-15-2006 05:25 PM
LFS 6, chapter 6.11; Glibc 'make check' error Zamochit Linux From Scratch 5 05-31-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration