LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-17-2012, 11:35 PM   #1
daveLin
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Rep: Reputation: Disabled
Chapter 5.9 Binutils Pass 2 - make install step failure


Hi,

My LFS experience until Binutils pass 2 was very smooth. The binutils pass 2 "make install" step is giving me an error

Here is my system configurtion

Host platform : Ubuntu 12 lts 64 bit

I'm using LFS stable version 7.0

Here is the log output of "make install" command,

Quote:
ldctor.o ../../binutils-2.21.1/ld/ldctor.c
mv -f .deps/ldctor.Tpo .deps/ldctor.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldmain.o -MD -MP -MF .deps/ldmain.Tpo -c -o ldmain.o \
-DDEFAULT_EMULATION='"elf_x86_64"' \
-DBINDIR='"/tools/bin"' -DTOOLBINDIR='"/tools/x86_64-unknown-linux-gnu/bin"' \
-DTARGET='"x86_64-unknown-linux-gnu"' -DTARGET_SYSTEM_ROOT=\"\" \
../../binutils-2.21.1/ld/ldmain.c
mv -f .deps/ldmain.Tpo .deps/ldmain.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldwrite.o -MD -MP -MF .deps/ldwrite.Tpo -c -o ldwrite.o ../../binutils-2.21.1/ld/ldwrite.c
mv -f .deps/ldwrite.Tpo .deps/ldwrite.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldexp.o -MD -MP -MF .deps/ldexp.Tpo -c -o ldexp.o ../../binutils-2.21.1/ld/ldexp.c
mv -f .deps/ldexp.Tpo .deps/ldexp.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldemul.o -MD -MP -MF .deps/ldemul.Tpo -c -o ldemul.o ../../binutils-2.21.1/ld/ldemul.c
mv -f .deps/ldemul.Tpo .deps/ldemul.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldver.o -MD -MP -MF .deps/ldver.Tpo -c -o ldver.o ../../binutils-2.21.1/ld/ldver.c
mv -f .deps/ldver.Tpo .deps/ldver.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldmisc.o -MD -MP -MF .deps/ldmisc.Tpo -c -o ldmisc.o ../../binutils-2.21.1/ld/ldmisc.c
mv -f .deps/ldmisc.Tpo .deps/ldmisc.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldfile.o -MD -MP -MF .deps/ldfile.Tpo -c -o ldfile.o \
-DSCRIPTDIR='"/tools/x86_64-unknown-linux-gnu/lib"' -DBINDIR='"/tools/bin"' -DTOOLBINDIR='"/tools/x86_64-unknown-linux-gnu/bin"' \
../../binutils-2.21.1/ld/ldfile.c
mv -f .deps/ldfile.Tpo .deps/ldfile.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldcref.o -MD -MP -MF .deps/ldcref.Tpo -c -o ldcref.o ../../binutils-2.21.1/ld/ldcref.c
mv -f .deps/ldcref.Tpo .deps/ldcref.Po
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT plugin.o -MD -MP -MF .deps/plugin.Tpo -c -o plugin.o ../../binutils-2.21.1/ld/plugin.c
mv -f .deps/plugin.Tpo .deps/plugin.Po
cp ../../binutils-2.21.1/ld/emultempl/astring.sed stringify.sed
LIB_PATH='/tools/lib' /bin/bash ../../binutils-2.21.1/ld/genscripts.sh "../../binutils-2.21.1/ld" "/tools/lib" "/tools" "/tools" x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu "elf_x86_64 elf_i386" "/usr/local/lib /lib /usr/lib" no elf_x86_64 "x86_64-unknown-linux-gnu"
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT eelf_x86_64.o -MD -MP -MF .deps/eelf_x86_64.Tpo -c -o eelf_x86_64.o eelf_x86_64.c
mv -f .deps/eelf_x86_64.Tpo .deps/eelf_x86_64.Po
LIB_PATH='/tools/lib' /bin/bash ../../binutils-2.21.1/ld/genscripts.sh "../../binutils-2.21.1/ld" "/tools/lib" "/tools" "/tools" x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu "elf_x86_64 elf_i386" "/usr/local/lib /lib /usr/lib" no elf_i386 "i386-unknown-linux-gnu"
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT eelf_i386.o -MD -MP -MF .deps/eelf_i386.Tpo -c -o eelf_i386.o eelf_i386.c
mv -f .deps/eelf_i386.Tpo .deps/eelf_i386.Po
LIB_PATH='/tools/lib' /bin/bash ../../binutils-2.21.1/ld/genscripts.sh "../../binutils-2.21.1/ld" "/tools/lib" "/tools" "/tools" x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu "elf_x86_64 elf_i386" "/usr/local/lib /lib /usr/lib" no i386linux "i386-unknown-linux-gnuaout"
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ei386linux.o -MD -MP -MF .deps/ei386linux.Tpo -c -o ei386linux.o ei386linux.c
mv -f .deps/ei386linux.Tpo .deps/ei386linux.Po
LIB_PATH='/tools/lib' /bin/bash ../../binutils-2.21.1/ld/genscripts.sh "../../binutils-2.21.1/ld" "/tools/lib" "/tools" "/tools" x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu x86_64-unknown-linux-gnu "elf_x86_64 elf_i386" "/usr/local/lib /lib /usr/lib" no elf_l1om "x86_64-unknown-linux-gnu"
x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -DHAVE_CONFIG_H -I. -I../../binutils-2.21.1/ld -I. -I../../binutils-2.21.1/ld -I../bfd -I../../binutils-2.21.1/ld/../bfd -I../../binutils-2.21.1/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT eelf_l1om.o -MD -MP -MF .deps/eelf_l1om.Tpo -c -o eelf_l1om.o eelf_l1om.c
mv -f .deps/eelf_l1om.Tpo .deps/eelf_l1om.Po
/bin/bash ./libtool --tag=CC --mode=link x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o ld-new ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o plugin.o eelf_x86_64.o eelf_i386.o ei386linux.o eelf_l1om.o ../bfd/libbfd.la ../libiberty/libiberty.a -ldl
libtool: link: x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o ld-new ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o plugin.o eelf_x86_64.o eelf_i386.o ei386linux.o eelf_l1om.o ../bfd/.libs/libbfd.a ../libiberty/libiberty.a -ldl
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: Nothing to be done for `all-target'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
lfs@unixshree:/mnt/lfs/sources/binutils-build$ make install > mylogfile.txt
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
lfs@unixshree:/mnt/lfs/sources/binutils-build$ make install
make[1]: Entering directory `/mnt/lfs/sources/binutils-build'
/bin/bash ../binutils-2.21.1/mkinstalldirs /tools /tools
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make install-recursive
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
Making install in doc
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/doc'
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/usr/bin/install -c -m 644 ../../../binutils-2.21.1/bfd/doc/bfd.info '/tools/share/info'
install-info --info-dir='/tools/share/info' '/tools/share/info/bfd.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/doc'
Making install in po
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/bfd'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/tools/include" || /bin/mkdir -p "/tools/include"
/usr/bin/install -c -m 644 bfd.h ../../binutils-2.21.1/bfd/../include/ansidecl.h ../../binutils-2.21.1/bfd/../include/symcat.h ../../binutils-2.21.1/bfd/../include/bfdlink.h '/tools/include'
test -z "/tools/lib" || /bin/mkdir -p "/tools/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c libbfd.la '/tools/lib'
libtool: install: /usr/bin/install -c .libs/libbfd.lai /tools/lib/libbfd.la
libtool: install: /usr/bin/install -c .libs/libbfd.a /tools/lib/libbfd.a
libtool: install: chmod 644 /tools/lib/libbfd.a
libtool: install: x86_64-lfs-linux-gnu-ranlib /tools/lib/libbfd.a
libtool: finish: PATH="/tools/bin:/bin:/usr/bin:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
Making install in .
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/tools/include" || /bin/mkdir -p "/tools/include"
/usr/bin/install -c -m 644 ../../binutils-2.21.1/opcodes/../include/dis-asm.h '/tools/include'
test -z "/tools/lib" || /bin/mkdir -p "/tools/lib"
/bin/bash ./libtool --mode=install /usr/bin/install -c libopcodes.la '/tools/lib'
libtool: install: /usr/bin/install -c .libs/libopcodes.lai /tools/lib/libopcodes.la
libtool: install: /usr/bin/install -c .libs/libopcodes.a /tools/lib/libopcodes.a
libtool: install: chmod 644 /tools/lib/libopcodes.a
libtool: install: x86_64-lfs-linux-gnu-ranlib /tools/lib/libopcodes.a
libtool: finish: PATH="/tools/bin:/bin:/usr/bin:/sbin" ldconfig -n /tools/lib
----------------------------------------------------------------------
Libraries have been installed in:
/tools/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
Making install in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes/po'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/opcodes'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
make install-recursive
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
Making install in doc
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[5]: Nothing to be done for `install-exec-am'.
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/usr/bin/install -c -m 644 ../../../binutils-2.21.1/binutils/doc/binutils.info '/tools/share/info'
install-info --info-dir='/tools/share/info' '/tools/share/info/binutils.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/tools/share/man/man1" || /bin/mkdir -p "/tools/share/man/man1"
/usr/bin/install -c -m 644 ../../../binutils-2.21.1/binutils/doc/addr2line.1 ../../../binutils-2.21.1/binutils/doc/ar.1 ../../../binutils-2.21.1/binutils/doc/dlltool.1 ../../../binutils-2.21.1/binutils/doc/nlmconv.1 ../../../binutils-2.21.1/binutils/doc/nm.1 ../../../binutils-2.21.1/binutils/doc/objcopy.1 ../../../binutils-2.21.1/binutils/doc/objdump.1 ../../../binutils-2.21.1/binutils/doc/ranlib.1 ../../../binutils-2.21.1/binutils/doc/readelf.1 ../../../binutils-2.21.1/binutils/doc/size.1 ../../../binutils-2.21.1/binutils/doc/strings.1 ../../../binutils-2.21.1/binutils/doc/strip.1 ../../../binutils-2.21.1/binutils/doc/elfedit.1 ../../../binutils-2.21.1/binutils/doc/windres.1 ../../../binutils-2.21.1/binutils/doc/windmc.1 c++filt.1 '/tools/share/man/man1'
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/doc'
Making install in po
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils/po'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/binutils'
test -z "/tools/bin" || /bin/mkdir -p "/tools/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c size objdump ar strings ranlib objcopy addr2line readelf elfedit '/tools/bin'
libtool: install: /usr/bin/install -c size /tools/bin/size
libtool: install: /usr/bin/install -c objdump /tools/bin/objdump
libtool: install: /usr/bin/install -c ar /tools/bin/ar
libtool: install: /usr/bin/install -c strings /tools/bin/strings
libtool: install: /usr/bin/install -c ranlib /tools/bin/ranlib
libtool: install: /usr/bin/install -c objcopy /tools/bin/objcopy
libtool: install: /usr/bin/install -c addr2line /tools/bin/addr2line
libtool: install: /usr/bin/install -c readelf /tools/bin/readelf
libtool: install: /usr/bin/install -c elfedit /tools/bin/elfedit
test -z "/tools/bin" || /bin/mkdir -p "/tools/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c nm-new /tools/bin/nm
libtool: install: /usr/bin/install -c nm-new /tools/bin/nm
/bin/bash ./libtool --mode=install /usr/bin/install -c strip-new /tools/bin/strip
libtool: install: /usr/bin/install -c strip-new /tools/bin/strip
/bin/bash ./libtool --mode=install /usr/bin/install -c cxxfilt /tools/bin/c++filt
libtool: install: /usr/bin/install -c cxxfilt /tools/bin/c++filt
/bin/bash ../../binutils-2.21.1/binutils/../mkinstalldirs /tools/x86_64-unknown-linux-gnu/bin
for i in nm-new strip-new ar ranlib dlltool objdump objcopy; do \
if [ -f $i ]; then \
j=`echo $i | sed -e 's/-new//'`; \
k=`echo $j | sed 's,y,y,'`; \
if [ "/tools/bin/$k" != "/tools/x86_64-unknown-linux-gnu/bin/$j" ]; then \
rm -f /tools/x86_64-unknown-linux-gnu/bin/$j; \
ln /tools/bin/$k /tools/x86_64-unknown-linux-gnu/bin/$j >/dev/null 2>/dev/null \
|| /bin/bash ./libtool --mode=install /usr/bin/install -c $i /tools/x86_64-unknown-linux-gnu/bin/$j; \
fi; \
else true; \
fi; \
done
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
for f in standards.info configure.info; do \
if test -f ../../binutils-2.21.1/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/mnt/lfs/sources/binutils-2.21.1/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[3]: `../../binutils-2.21.1/etc/standards.info' is up to date.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/etc'
make[3]: `../../binutils-2.21.1/etc/configure.info' is up to date.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
/bin/bash ../../binutils-2.21.1/etc/../mkinstalldirs /tools/share/info
if test ! -f standards.info; then cd ../../binutils-2.21.1/etc; fi; \
if test -f standards.info; then \
for i in standards.info*; do \
/usr/bin/install -c -m 644 $i /tools/share/info/$i; \
done; \
fi
if test ! -f configure.info; then cd ../../binutils-2.21.1/etc; fi; \
if test -f configure.info; then \
for i in configure.info*; do \
/usr/bin/install -c -m 644 $i /tools/share/info/$i; \
done; \
fi
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/etc'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
Making install in doc
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[4]: Nothing to be done for `install-exec-am'.
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/usr/bin/install -c -m 644 ../../../binutils-2.21.1/gas/doc/as.info '/tools/share/info'
install-info --info-dir='/tools/share/info' '/tools/share/info/as.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/tools/share/man/man1" || /bin/mkdir -p "/tools/share/man/man1"
/usr/bin/install -c -m 644 ../../../binutils-2.21.1/gas/doc/as.1 '/tools/share/man/man1'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/doc'
Making install in po
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas/po'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas/po'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gas'
/bin/bash ../../binutils-2.21.1/gas/../mkinstalldirs /tools/bin
/bin/bash ./libtool --mode=install /usr/bin/install -c as-new /tools/bin/as
libtool: install: /usr/bin/install -c as-new /tools/bin/as
/bin/bash ../../binutils-2.21.1/gas/../mkinstalldirs /tools/x86_64-unknown-linux-gnu/bin
n=`echo as | sed 's,y,y,'`; \
if [ "/tools/bin/$n" != "/tools/x86_64-unknown-linux-gnu/bin/as" ]; then \
rm -f /tools/x86_64-unknown-linux-gnu/bin/as; \
ln /tools/bin/$n /tools/x86_64-unknown-linux-gnu/bin/as >/dev/null 2>/dev/null \
|| /bin/bash ./libtool --mode=install /usr/bin/install -c as-new /tools/x86_64-unknown-linux-gnu/bin/as; \
else \
true ; \
fi
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gas'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make install-recursive
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
Making install in po
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof/po'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/gprof'
test -z "/tools/bin" || /bin/mkdir -p "/tools/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c gprof '/tools/bin'
libtool: install: /usr/bin/install -c gprof /tools/bin/gprof
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/usr/bin/install -c -m 644 ../../binutils-2.21.1/gprof/gprof.info '/tools/share/info'
install-info --info-dir='/tools/share/info' '/tools/share/info/gprof.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/tools/share/man/man1" || /bin/mkdir -p "/tools/share/man/man1"
/usr/bin/install -c -m 644 ../../binutils-2.21.1/gprof/gprof.1 '/tools/share/man/man1'
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/gprof'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/intl'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/intl'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
make install-recursive
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
Making install in po
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[4]: Nothing to be done for `install'.
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[4]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
make[5]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
test -z "/tools/bin" || /bin/mkdir -p "/tools/bin"
/bin/bash ./libtool --mode=install /usr/bin/install -c ld-new '/tools/bin/./ld.bfd'
libtool: install: /usr/bin/install -c ld-new /tools/bin/./ld.bfd
/bin/bash ../../binutils-2.21.1/ld/../mkinstalldirs /tools/x86_64-unknown-linux-gnu/bin
n=`echo ld.bfd | sed 's/^ld-new$/ld.bfd/;s,y,y,'`; \
if test "/tools/bin" != "/tools/x86_64-unknown-linux-gnu/bin"; then \
rm -f /tools/x86_64-unknown-linux-gnu/bin/ld.bfd; \
ln /tools/bin/$n /tools/x86_64-unknown-linux-gnu/bin/ld.bfd >/dev/null 2>/dev/null \
|| /bin/bash ./libtool --mode=install /usr/bin/install -c ld-new /tools/x86_64-unknown-linux-gnu/bin/ld.bfd; \
fi; \
if test "xyes" = "xyes"; then \
ld=`echo ld | sed 's/^ld-new$/ld.bfd/;s,y,y,'`; \
rm -f /tools/bin/$ld; \
ln /tools/bin/$n /tools/bin/$ld >/dev/null 2>/dev/null \
|| /bin/bash ./libtool --mode=install /usr/bin/install -c ld-new /tools/bin/$ld; \
if test "/tools/bin" != "/tools/x86_64-unknown-linux-gnu/bin"; then \
rm -f /tools/x86_64-unknown-linux-gnu/bin/ld; \
ln /tools/bin/$n /tools/x86_64-unknown-linux-gnu/bin/ld >/dev/null 2>/dev/null \
|| /bin/bash ./libtool --mode=install /usr/bin/install -c ld-new /tools/x86_64-unknown-linux-gnu/bin/ld; \
fi; \
fi
/bin/bash ../../binutils-2.21.1/ld/../mkinstalldirs /tools/x86_64-unknown-linux-gnu/lib/ldscripts
for f in ldscripts/*; do \
/usr/bin/install -c -m 644 $f /tools/x86_64-unknown-linux-gnu/lib/$f ; \
done
test -z "/tools/share/info" || /bin/mkdir -p "/tools/share/info"
/usr/bin/install -c -m 644 ../../binutils-2.21.1/ld/ld.info '/tools/share/info'
install-info --info-dir='/tools/share/info' '/tools/share/info/ld.info'
This is not dpkg install-info anymore, but GNU install-info
See the man page for ginstall-info for command line arguments
test -z "/tools/share/man/man1" || /bin/mkdir -p "/tools/share/man/man1"
/usr/bin/install -c -m 644 ../../binutils-2.21.1/ld/ld.1 '/tools/share/man/man1'
make[5]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[4]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty'
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
/bin/bash ../../binutils-2.21.1/libiberty/../mkinstalldirs /tools/lib/`x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2 -print-multi-os-directory`
/usr/bin/install -c -m 644 ./libiberty.a /tools/lib/`x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2 -print-multi-os-directory`/./libiberty.an
( cd /tools/lib/`x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2 -print-multi-os-directory` ; chmod 644 ./libiberty.an ;x86_64-lfs-linux-gnu-ranlib ./libiberty.an )
mv -f /tools/lib/`x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2 -print-multi-os-directory`/./libiberty.an /tools/lib/`x86_64-lfs-linux-gnu-gcc -B/tools/lib/ -g -O2 -print-multi-os-directory`/./libiberty.a
if test -n ""; then \
case "" in \
/*) thd=;; \
*) thd=/tools/include/;; \
esac; \
/bin/bash ../../binutils-2.21.1/libiberty/../mkinstalldirs ${thd}; \
for h in ../../binutils-2.21.1/libiberty/../include/ansidecl.h ../../binutils-2.21.1/libiberty/../include/demangle.h ../../binutils-2.21.1/libiberty/../include/dyn-string.h ../../binutils-2.21.1/libiberty/../include/fibheap.h ../../binutils-2.21.1/libiberty/../include/floatformat.h ../../binutils-2.21.1/libiberty/../include/hashtab.h ../../binutils-2.21.1/libiberty/../include/libiberty.h ../../binutils-2.21.1/libiberty/../include/objalloc.h ../../binutils-2.21.1/libiberty/../include/partition.h ../../binutils-2.21.1/libiberty/../include/safe-ctype.h ../../binutils-2.21.1/libiberty/../include/sort.h ../../binutils-2.21.1/libiberty/../include/splay-tree.h; do \
/usr/bin/install -c -m 644 $h ${thd}; \
done; \
fi
make[3]: Entering directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty/testsuite'
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/libiberty'
make[1]: Nothing to be done for `install-target'.
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
As an alternative I reiterated all the steps from 5.9 but was not successful.

Any help would be greatly appreciated.

Thanks,
dave
 
Old 08-22-2012, 12:36 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393Reputation: 2393
Quote:
Originally Posted by daveLin View Post
My LFS experience until Binutils pass 2 was very smooth. The binutils pass 2 "make install" step is giving me an error
Which error(s)? I don't see any.....
 
Old 08-25-2012, 02:19 PM   #3
daveLin
LQ Newbie
 
Registered: Aug 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Which error(s)? I don't see any.....
What I thought as error was not an error at all. Thanks for the reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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.4 Chapter 5.4. Binutils-2.18 - Pass 1 gazza1z Linux From Scratch 2 01-23-2009 11:16 AM
Binutils-2.15.94.0.2.2 - Pass 1 stuck up after make install kagashe Linux From Scratch 9 10-09-2005 11:42 AM
binutils first pass make install failure in LFS-6.0 dibyadeep Linux From Scratch 3 01-05-2005 03:34 PM
binutils chapter 5 pass 2 qod Linux From Scratch 3 11-03-2003 12:39 PM
Chapter 5, GCC pass 1: compile failure Electrode Linux From Scratch 0 08-16-2003 07:31 PM

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

All times are GMT -5. The time now is 07:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration