Bug 27250 - Installation of 2.36 fails with 'LIBCTF_1.1 not found' followed by 'relink' suggestion
Summary: Installation of 2.36 fails with 'LIBCTF_1.1 not found' followed by 'relink' s...
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.36
: P2 critical
Target Milestone: ---
Assignee: Nick Alcock
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 15:07 UTC by Joel
Modified: 2021-01-27 11:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed: 2021-01-26 00:00:00


Attachments
Full output of configure, make, make check, make install (62.04 KB, text/plain)
2021-01-26 15:07 UTC, Joel
Details
Fix ld-versus-libctf installation ordering (1.00 KB, patch)
2021-01-26 16:13 UTC, Nick Alcock
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2021-01-26 15:07:43 UTC
Created attachment 13158 [details]
Full output of configure, make, make check, make install

As the summary line states, but included as an attachent is the entire log of configuring, making, testing and the final installation attempt, along with the version number given for multiple utilities and glibc. Look near the bottom for the error message. Look near the top for the utility version information.

A copy of the error message I received, near the very end of the attachment log, is as follows:

/usr/bin/ld: /usr/lib/libctf.so.0: version `LIBCTF_1.1' not found (required by /usr/bin/ld)
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libctf.la' with the above command before installing it

I do include the 'make tooldir=/usr install' output.

...note that before doing this, I am able to compile/link/install everything - this is the only build that has this problem. However, because the failure is midway in the install, the failure makes it so the system can no longer build and link even the simplest 'hello world' program. This is why I categorize this bug as 'critical'.

Hopefully someone can figure out what is going on here. Thanks!

root@www:/sources# tar xf archive/binutils-2.36.tar.xz 
root@www:/sources# cd binutils-2.36/
root@www:/sources/binutils-2.36# mkdir -v build
mkdir: created directory 'build'
root@www:/sources/binutils-2.36# cd build


root@www:/sources/binutils-2.36/build# gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 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.



root@www:/sources/binutils-2.36/build# ld --version
GNU ld (GNU Binutils) 2.35.1
Copyright (C) 2020 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


root@www:/sources/binutils-2.36/build# ldd --version
ldd (GNU libc) 2.32
Copyright (C) 2020 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.
Written by Roland McGrath and Ulrich Drepper.


root@www:/sources/binutils-2.36/build# uname -a
Linux www.jfroot.com 5.10.6 #1 SMP Sat Jan 9 05:39:20 PST 2021 x86_64 GNU/Linux


root@www:/sources/binutils-2.36/build# make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


root@www:/sources/binutils-2.36/build# m4 --version
m4 (GNU M4) 1.4.18
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Rene' Seindal.


root@www:/sources/binutils-2.36/build# bash --version
GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


root@www:/sources/binutils-2.36/build# cat --version
cat (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbjorn Granlund and Richard M. Stallman.


root@www:/sources/binutils-2.36/build# sed --version
sed (GNU sed) 4.8
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jay Fenlason, Tom Lord, Ken Pizzini,
Paolo Bonzini, Jim Meyering, and Assaf Gordon.

This sed program was built with SELinux support.
SELinux is disabled on this system.

GNU sed home page: <https://www.gnu.org/software/sed/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed@gnu.org>.


root@www:/sources/binutils-2.36/build# uname -a
Linux www.jfroot.com 5.10.6 #1 SMP Sat Jan 9 05:39:20 PST 2021 x86_64 GNU/Linux


root@www:/sources/binutils-2.36/build# ../configure --prefix=/usr --enable-gold --enable-ld=default --enable-plugins --enable-shared --disable-werror --enable-64-bit-bfd --with-system-zlib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.15 or later... yes
*** This configuration is not supported in the following subdirectories:
     zlib
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for --enable-vtable-verify... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gfortran... no
checking for gccgo... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for objcopy... objcopy
checking for objdump... objdump
checking for ranlib... ranlib
checking for readelf... readelf
checking for strip... strip
checking for windres... no
checking for windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gfortran... host tool
checking where to find the target gccgo... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile

...full make/make check output included in the attachment...

root@www:/sources/binutils-2.36/build# make tooldir=/usr install
make[1]: Entering directory '/sources/binutils-2.36/build'
/bin/sh ../mkinstalldirs /usr /usr
make[2]: Entering directory '/sources/binutils-2.36/build/bfd'
make  install-recursive
make[3]: Entering directory '/sources/binutils-2.36/build/bfd'
Making install in doc
make[4]: Entering directory '/sources/binutils-2.36/build/bfd/doc'
 /bin/mkdir -p '/usr/share/info'
 /usr/bin/install -c -m 644 ../../../bfd/doc/bfd.info '/usr/share/info'
 install-info --info-dir='/usr/share/info' '/usr/share/info/bfd.info'
make[4]: Leaving directory '/sources/binutils-2.36/build/bfd/doc'
Making install in po
make[4]: Entering directory '/sources/binutils-2.36/build/bfd/po'
if test -r ../../../bfd/../mkinstalldirs; then \
  ../../../bfd/../mkinstalldirs /usr/share; \
else \
  ../../../bfd/mkinstalldirs /usr/share; \
fi
installing ../../../bfd/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/hr.gmo as /usr/share/locale/hr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/pt.gmo as /usr/share/locale/pt/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/hr.gmo as /usr/share/locale/hr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/pt.gmo as /usr/share/locale/pt/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/bfd.mo
installing ../../../bfd/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/bfd.mo
if test "bfd" = "gettext"; then \
  if test -r ../../../bfd/../mkinstalldirs; then \
    ../../../bfd/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../bfd/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../bfd/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: Leaving directory '/sources/binutils-2.36/build/bfd/po'
make[4]: Entering directory '/sources/binutils-2.36/build/bfd'
make[5]: Entering directory '/sources/binutils-2.36/build/bfd'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 bfd.h ../../bfd/../include/ansidecl.h ../../bfd/../include/symcat.h bfd_stdint.h ../../bfd/../include/diagnostics.h ../../bfd/../include/bfdlink.h ../../bfd/../include/plugin-api.h '/usr/include'
 /bin/mkdir -p '/usr/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libbfd.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libbfd-2.36.so /usr/lib/libbfd-2.36.so
libtool: install: (cd /usr/lib && { ln -s -f libbfd-2.36.so libbfd.so || { rm -f libbfd.so && ln -s libbfd-2.36.so libbfd.so; }; })
libtool: install: /usr/bin/install -c .libs/libbfd.lai /usr/lib/libbfd.la
libtool: install: /usr/bin/install -c .libs/libbfd.a /usr/lib/libbfd.a
libtool: install: chmod 644 /usr/lib/libbfd.a
libtool: install: ranlib /usr/lib/libbfd.a
libtool: finish: PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/share/mysql/bin:/tools/bin:/sbin" ldconfig -n /usr/lib
ldconfig: /usr/lib/libguile-3.0.so.1.3.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libguile-3.0.so.1.2.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/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 '/sources/binutils-2.36/build/bfd'
make[4]: Leaving directory '/sources/binutils-2.36/build/bfd'
make[3]: Leaving directory '/sources/binutils-2.36/build/bfd'
make[2]: Leaving directory '/sources/binutils-2.36/build/bfd'
make[2]: Entering directory '/sources/binutils-2.36/build/opcodes'
Making install in .
make[3]: Entering directory '/sources/binutils-2.36/build/opcodes'
make[4]: Entering directory '/sources/binutils-2.36/build/opcodes'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/include'
 /usr/bin/install -c -m 644 ../../opcodes/../include/dis-asm.h '/usr/include'
 /bin/mkdir -p '/usr/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libopcodes.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libopcodes-2.36.so /usr/lib/libopcodes-2.36.so
libtool: install: (cd /usr/lib && { ln -s -f libopcodes-2.36.so libopcodes.so || { rm -f libopcodes.so && ln -s libopcodes-2.36.so libopcodes.so; }; })
libtool: install: /usr/bin/install -c .libs/libopcodes.lai /usr/lib/libopcodes.la
libtool: install: /usr/bin/install -c .libs/libopcodes.a /usr/lib/libopcodes.a
libtool: install: chmod 644 /usr/lib/libopcodes.a
libtool: install: ranlib /usr/lib/libopcodes.a
libtool: finish: PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/share/mysql/bin:/tools/bin:/sbin" ldconfig -n /usr/lib
ldconfig: /usr/lib/libguile-3.0.so.1.3.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

ldconfig: /usr/lib/libguile-3.0.so.1.2.0-gdb.scm is not an ELF file - it has the wrong magic bytes at the start.

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/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 '/sources/binutils-2.36/build/opcodes'
make[3]: Leaving directory '/sources/binutils-2.36/build/opcodes'
Making install in po
make[3]: Entering directory '/sources/binutils-2.36/build/opcodes/po'
if test -r ../../../opcodes/../mkinstalldirs; then \
  ../../../opcodes/../mkinstalldirs /usr/share; \
else \
  ../../../opcodes/mkinstalldirs /usr/share; \
fi
installing ../../../opcodes/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/nl.gmo as /usr/share/locale/nl/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/nl.gmo as /usr/share/locale/nl/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/opcodes.mo
installing ../../../opcodes/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/opcodes.mo
if test "opcodes" = "gettext"; then \
  if test -r ../../../opcodes/../mkinstalldirs; then \
    ../../../opcodes/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../opcodes/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../opcodes/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[3]: Leaving directory '/sources/binutils-2.36/build/opcodes/po'
make[2]: Leaving directory '/sources/binutils-2.36/build/opcodes'
make[2]: Entering directory '/sources/binutils-2.36/build/binutils'
make  install-recursive
make[3]: Entering directory '/sources/binutils-2.36/build/binutils'
Making install in doc
make[4]: Entering directory '/sources/binutils-2.36/build/binutils/doc'
make[5]: Entering directory '/sources/binutils-2.36/build/binutils/doc'
make[5]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/share/info'
 /usr/bin/install -c -m 644 ../../../binutils/doc/binutils.info '/usr/share/info'
 install-info --info-dir='/usr/share/info' '/usr/share/info/binutils.info'
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 ../../../binutils/doc/addr2line.1 ../../../binutils/doc/ar.1 ../../../binutils/doc/dlltool.1 ../../../binutils/doc/nm.1 ../../../binutils/doc/objcopy.1 ../../../binutils/doc/objdump.1 ../../../binutils/doc/ranlib.1 ../../../binutils/doc/readelf.1 ../../../binutils/doc/size.1 ../../../binutils/doc/strings.1 ../../../binutils/doc/strip.1 ../../../binutils/doc/elfedit.1 ../../../binutils/doc/windres.1 ../../../binutils/doc/windmc.1 c++filt.1 '/usr/share/man/man1'
make[5]: Leaving directory '/sources/binutils-2.36/build/binutils/doc'
make[4]: Leaving directory '/sources/binutils-2.36/build/binutils/doc'
Making install in po
make[4]: Entering directory '/sources/binutils-2.36/build/binutils/po'
if test -r ../../../binutils/../mkinstalldirs; then \
  ../../../binutils/../mkinstalldirs /usr/share; \
else \
  ../../../binutils/mkinstalldirs /usr/share; \
fi
installing ../../../binutils/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ca.gmo as /usr/share/locale/ca/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/hr.gmo as /usr/share/locale/hr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/pt.gmo as /usr/share/locale/pt/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sk.gmo as /usr/share/locale/sk/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/zh_TW.gmo as /usr/share/locale/zh_TW/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ca.gmo as /usr/share/locale/ca/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/hr.gmo as /usr/share/locale/hr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/pt.gmo as /usr/share/locale/pt/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sk.gmo as /usr/share/locale/sk/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/binutils.mo
installing ../../../binutils/po/zh_TW.gmo as /usr/share/locale/zh_TW/LC_MESSAGES/binutils.mo
if test "binutils" = "gettext"; then \
  if test -r ../../../binutils/../mkinstalldirs; then \
    ../../../binutils/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../binutils/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../binutils/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: Leaving directory '/sources/binutils-2.36/build/binutils/po'
make[4]: Entering directory '/sources/binutils-2.36/build/binutils'
make[5]: Entering directory '/sources/binutils-2.36/build/binutils'
 /bin/mkdir -p '/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c size objdump ar strings ranlib objcopy addr2line readelf elfedit '/usr/bin'
libtool: install: /usr/bin/install -c .libs/size /usr/bin/size
libtool: install: /usr/bin/install -c .libs/objdump /usr/bin/objdump
libtool: install: /usr/bin/install -c .libs/ar /usr/bin/ar
libtool: install: /usr/bin/install -c .libs/strings /usr/bin/strings
libtool: install: /usr/bin/install -c .libs/ranlib /usr/bin/ranlib
libtool: install: /usr/bin/install -c .libs/objcopy /usr/bin/objcopy
libtool: install: /usr/bin/install -c .libs/addr2line /usr/bin/addr2line
libtool: install: /usr/bin/install -c .libs/readelf /usr/bin/readelf
libtool: install: /usr/bin/install -c elfedit /usr/bin/elfedit
  /bin/sh ./libtool  --mode=install /usr/bin/install -c nm-new /usr/bin/nm
libtool: install: /usr/bin/install -c .libs/nm-new /usr/bin/nm
  /bin/sh ./libtool  --mode=install /usr/bin/install -c strip-new /usr/bin/strip
libtool: install: /usr/bin/install -c .libs/strip-new /usr/bin/strip
  /bin/sh ./libtool  --mode=install /usr/bin/install -c cxxfilt /usr/bin/c++filt
libtool: install: /usr/bin/install -c .libs/cxxfilt /usr/bin/c++filt
/bin/sh ../../binutils/../mkinstalldirs /usr/bin
mkdir -p -- /usr/bin
for i in nm-new strip-new ar ranlib dlltool objdump objcopy readelf; do \
  if [ -f $i ]; then \
    j=`echo $i | sed -e 's/-new//'`; \
    k=`echo $j | sed 's,y,y,'`; \
    if [ "/usr/bin/$k" != "/usr/bin/$j" ]; then \
      rm -f /usr/bin/$j; \
      ln /usr/bin/$k /usr/bin/$j >/dev/null 2>/dev/null \
	||  /bin/sh ./libtool --mode=install /usr/bin/install -c $i /usr/bin/$j; \
    fi; \
  else true; \
  fi; \
done
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/sources/binutils-2.36/build/binutils'
make[4]: Leaving directory '/sources/binutils-2.36/build/binutils'
make[3]: Leaving directory '/sources/binutils-2.36/build/binutils'
make[2]: Leaving directory '/sources/binutils-2.36/build/binutils'
make[2]: Entering directory '/sources/binutils-2.36/build/etc'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/sources/binutils-2.36/build/etc'
make[2]: Entering directory '/sources/binutils-2.36/build/gas'
Making install in doc
make[3]: Entering directory '/sources/binutils-2.36/build/gas/doc'
make[4]: Entering directory '/sources/binutils-2.36/build/gas/doc'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/usr/share/info'
 /usr/bin/install -c -m 644 ../../../gas/doc/as.info '/usr/share/info'
 install-info --info-dir='/usr/share/info' '/usr/share/info/as.info'
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 ../../../gas/doc/as.1 '/usr/share/man/man1'
make[4]: Leaving directory '/sources/binutils-2.36/build/gas/doc'
make[3]: Leaving directory '/sources/binutils-2.36/build/gas/doc'
Making install in po
make[3]: Entering directory '/sources/binutils-2.36/build/gas/po'
if test -r ../../../gas/../mkinstalldirs; then \
  ../../../gas/../mkinstalldirs /usr/share; \
else \
  ../../../gas/mkinstalldirs /usr/share; \
fi
installing ../../../gas/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gas.mo
installing ../../../gas/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gas.mo
installing ../../../gas/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gas.mo
installing ../../../gas/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gas.mo
installing ../../../gas/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gas.mo
installing ../../../gas/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gas.mo
installing ../../../gas/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/gas.mo
installing ../../../gas/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gas.mo
installing ../../../gas/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/gas.mo
installing ../../../gas/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gas.mo
installing ../../../gas/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/gas.mo
installing ../../../gas/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gas.mo
installing ../../../gas/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gas.mo
installing ../../../gas/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gas.mo
installing ../../../gas/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gas.mo
installing ../../../gas/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gas.mo
installing ../../../gas/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gas.mo
installing ../../../gas/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/gas.mo
installing ../../../gas/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gas.mo
installing ../../../gas/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/gas.mo
installing ../../../gas/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gas.mo
installing ../../../gas/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/gas.mo
if test "gas" = "gettext"; then \
  if test -r ../../../gas/../mkinstalldirs; then \
    ../../../gas/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../gas/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../gas/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[3]: Leaving directory '/sources/binutils-2.36/build/gas/po'
make[3]: Entering directory '/sources/binutils-2.36/build/gas'
make[4]: Entering directory '/sources/binutils-2.36/build/gas'
/bin/sh ../../gas/../mkinstalldirs /usr/bin
  /bin/sh ./libtool  --mode=install /usr/bin/install -c as-new /usr/bin/as
libtool: install: /usr/bin/install -c .libs/as-new /usr/bin/as
/bin/sh ../../gas/../mkinstalldirs /usr/bin
n=`echo as | sed 's,y,y,'`; \
if [ "/usr/bin/$n" != "/usr/bin/as" ]; then \
  rm -f /usr/bin/as; \
  ln /usr/bin/$n /usr/bin/as >/dev/null 2>/dev/null \
    ||  /bin/sh ./libtool --mode=install /usr/bin/install -c as-new /usr/bin/as; \
else \
  true ; \
fi
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/sources/binutils-2.36/build/gas'
make[3]: Leaving directory '/sources/binutils-2.36/build/gas'
make[2]: Leaving directory '/sources/binutils-2.36/build/gas'
make[2]: Entering directory '/sources/binutils-2.36/build/gold'
Making install in po
make[3]: Entering directory '/sources/binutils-2.36/build/gold/po'
if test -r ../../../gold/../mkinstalldirs; then \
  ../../../gold/../mkinstalldirs /usr/share; \
else \
  ../../../gold/../mkinstalldirs /usr/share; \
fi
installing ../../../gold/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gold.mo
installing ../../../gold/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gold.mo
installing ../../../gold/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gold.mo
installing ../../../gold/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gold.mo
installing ../../../gold/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/gold.mo
installing ../../../gold/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gold.mo
installing ../../../gold/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/gold.mo
installing ../../../gold/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gold.mo
installing ../../../gold/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gold.mo
installing ../../../gold/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/gold.mo
installing ../../../gold/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/gold.mo
installing ../../../gold/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gold.mo
installing ../../../gold/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gold.mo
installing ../../../gold/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gold.mo
installing ../../../gold/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gold.mo
installing ../../../gold/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/gold.mo
installing ../../../gold/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gold.mo
installing ../../../gold/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/gold.mo
installing ../../../gold/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gold.mo
installing ../../../gold/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gold.mo
installing ../../../gold/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/gold.mo
installing ../../../gold/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/gold.mo
if test "gold" = "gettext"; then \
  if test -r ../../../gold/../mkinstalldirs; then \
    ../../../gold/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../gold/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../gold/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[3]: Leaving directory '/sources/binutils-2.36/build/gold/po'
Making install in testsuite
make[3]: Entering directory '/sources/binutils-2.36/build/gold/testsuite'
make  install-am
make[4]: Entering directory '/sources/binutils-2.36/build/gold/testsuite'
make[5]: Entering directory '/sources/binutils-2.36/build/gold/testsuite'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/sources/binutils-2.36/build/gold/testsuite'
make[4]: Leaving directory '/sources/binutils-2.36/build/gold/testsuite'
make[3]: Leaving directory '/sources/binutils-2.36/build/gold/testsuite'
make[3]: Entering directory '/sources/binutils-2.36/build/gold'
make[4]: Entering directory '/sources/binutils-2.36/build/gold'
 /bin/mkdir -p '/usr/bin'
  /usr/bin/install -c dwp '/usr/bin'
/bin/sh ../../gold/../mkinstalldirs /usr/bin /usr/bin
n=`echo ld.gold | sed 's,y,y,'`; \
 /usr/bin/install -c \
  ld-new /usr/bin/${n}; \
if test "/usr/bin" != "/usr/bin"; then \
  rm -f /usr/bin/ld.gold; \
  ln /usr/bin/${n} /usr/bin/ld.gold >/dev/null 2>/dev/null \
  ||  /usr/bin/install -c ld-new /usr/bin/ld.gold; \
fi; \
if test "x" = "xyes"; then \
  ld=`echo ld | sed 's,y,y,'`; \
  rm -f /usr/bin/${ld}; \
  ln /usr/bin/${n} /usr/bin/${ld} >/dev/null 2>/dev/null \
  ||  /usr/bin/install -c ld-new /usr/bin/${ld}; \
  if test "/usr/bin" != "/usr/bin"; then \
    rm -f /usr/bin/ld; \
    ln /usr/bin/${n} /usr/bin/ld >/dev/null 2>/dev/null \
    ||  /usr/bin/install -c ld-new /usr/bin/ld; \
  fi; \
fi
Making install-info in po
make[5]: Entering directory '/sources/binutils-2.36/build/gold/po'
make[5]: Nothing to be done for 'install-info'.
make[5]: Leaving directory '/sources/binutils-2.36/build/gold/po'
Making install-info in testsuite
make[5]: Entering directory '/sources/binutils-2.36/build/gold/testsuite'
make[5]: Nothing to be done for 'install-info'.
make[5]: Leaving directory '/sources/binutils-2.36/build/gold/testsuite'
make[5]: Entering directory '/sources/binutils-2.36/build/gold'
make[5]: Nothing to be done for 'install-info-am'.
make[5]: Leaving directory '/sources/binutils-2.36/build/gold'
make[4]: Leaving directory '/sources/binutils-2.36/build/gold'
make[3]: Leaving directory '/sources/binutils-2.36/build/gold'
make[2]: Leaving directory '/sources/binutils-2.36/build/gold'
make[2]: Entering directory '/sources/binutils-2.36/build/gprof'
make  install-recursive
make[3]: Entering directory '/sources/binutils-2.36/build/gprof'
Making install in po
make[4]: Entering directory '/sources/binutils-2.36/build/gprof/po'
if test -r ../../../gprof/../mkinstalldirs; then \
  ../../../gprof/../mkinstalldirs /usr/share; \
else \
  ../../../gprof/mkinstalldirs /usr/share; \
fi
installing ../../../gprof/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/eo.gmo as /usr/share/locale/eo/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/hu.gmo as /usr/share/locale/hu/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ms.gmo as /usr/share/locale/ms/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/nl.gmo as /usr/share/locale/nl/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/eo.gmo as /usr/share/locale/eo/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/hu.gmo as /usr/share/locale/hu/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ms.gmo as /usr/share/locale/ms/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/nl.gmo as /usr/share/locale/nl/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ro.gmo as /usr/share/locale/ro/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/rw.gmo as /usr/share/locale/rw/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/gprof.mo
installing ../../../gprof/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/gprof.mo
if test "gprof" = "gettext"; then \
  if test -r ../../../gprof/../mkinstalldirs; then \
    ../../../gprof/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../gprof/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../gprof/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: Leaving directory '/sources/binutils-2.36/build/gprof/po'
make[4]: Entering directory '/sources/binutils-2.36/build/gprof'
make[5]: Entering directory '/sources/binutils-2.36/build/gprof'
 /bin/mkdir -p '/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c gprof '/usr/bin'
libtool: install: /usr/bin/install -c .libs/gprof /usr/bin/gprof
 /bin/mkdir -p '/usr/share/info'
 /usr/bin/install -c -m 644 ../../gprof/gprof.info '/usr/share/info'
 install-info --info-dir='/usr/share/info' '/usr/share/info/gprof.info'
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 ../../gprof/gprof.1 '/usr/share/man/man1'
make[5]: Leaving directory '/sources/binutils-2.36/build/gprof'
make[4]: Leaving directory '/sources/binutils-2.36/build/gprof'
make[3]: Leaving directory '/sources/binutils-2.36/build/gprof'
make[2]: Leaving directory '/sources/binutils-2.36/build/gprof'
make[2]: Entering directory '/sources/binutils-2.36/build/intl'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/sources/binutils-2.36/build/intl'
make[2]: Entering directory '/sources/binutils-2.36/build/ld'
make  install-recursive
make[3]: Entering directory '/sources/binutils-2.36/build/ld'
Making install in po
make[4]: Entering directory '/sources/binutils-2.36/build/ld/po'
if test -r ../../../ld/../mkinstalldirs; then \
  ../../../ld/../mkinstalldirs /usr/share; \
else \
  ../../../ld/mkinstalldirs /usr/share; \
fi
installing ../../../ld/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/ld.mo
installing ../../../ld/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/ld.mo
installing ../../../ld/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/ld.mo
installing ../../../ld/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/ld.mo
installing ../../../ld/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/ld.mo
installing ../../../ld/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/ld.mo
installing ../../../ld/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/ld.mo
installing ../../../ld/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/ld.mo
installing ../../../ld/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/ld.mo
installing ../../../ld/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/ld.mo
installing ../../../ld/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/ld.mo
installing ../../../ld/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/ld.mo
installing ../../../ld/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/ld.mo
installing ../../../ld/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/ld.mo
installing ../../../ld/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/ld.mo
installing ../../../ld/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/ld.mo
installing ../../../ld/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/ld.mo
installing ../../../ld/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/ld.mo
installing ../../../ld/po/zh_TW.gmo as /usr/share/locale/zh_TW/LC_MESSAGES/ld.mo
installing ../../../ld/po/bg.gmo as /usr/share/locale/bg/LC_MESSAGES/ld.mo
installing ../../../ld/po/da.gmo as /usr/share/locale/da/LC_MESSAGES/ld.mo
installing ../../../ld/po/de.gmo as /usr/share/locale/de/LC_MESSAGES/ld.mo
installing ../../../ld/po/es.gmo as /usr/share/locale/es/LC_MESSAGES/ld.mo
installing ../../../ld/po/fi.gmo as /usr/share/locale/fi/LC_MESSAGES/ld.mo
installing ../../../ld/po/fr.gmo as /usr/share/locale/fr/LC_MESSAGES/ld.mo
installing ../../../ld/po/ga.gmo as /usr/share/locale/ga/LC_MESSAGES/ld.mo
installing ../../../ld/po/id.gmo as /usr/share/locale/id/LC_MESSAGES/ld.mo
installing ../../../ld/po/it.gmo as /usr/share/locale/it/LC_MESSAGES/ld.mo
installing ../../../ld/po/ja.gmo as /usr/share/locale/ja/LC_MESSAGES/ld.mo
installing ../../../ld/po/pt_BR.gmo as /usr/share/locale/pt_BR/LC_MESSAGES/ld.mo
installing ../../../ld/po/ru.gmo as /usr/share/locale/ru/LC_MESSAGES/ld.mo
installing ../../../ld/po/sr.gmo as /usr/share/locale/sr/LC_MESSAGES/ld.mo
installing ../../../ld/po/sv.gmo as /usr/share/locale/sv/LC_MESSAGES/ld.mo
installing ../../../ld/po/tr.gmo as /usr/share/locale/tr/LC_MESSAGES/ld.mo
installing ../../../ld/po/uk.gmo as /usr/share/locale/uk/LC_MESSAGES/ld.mo
installing ../../../ld/po/vi.gmo as /usr/share/locale/vi/LC_MESSAGES/ld.mo
installing ../../../ld/po/zh_CN.gmo as /usr/share/locale/zh_CN/LC_MESSAGES/ld.mo
installing ../../../ld/po/zh_TW.gmo as /usr/share/locale/zh_TW/LC_MESSAGES/ld.mo
if test "ld" = "gettext"; then \
  if test -r ../../../ld/../mkinstalldirs; then \
    ../../../ld/../mkinstalldirs /usr/share/gettext/po; \
  else \
    ../../../ld/mkinstalldirs /usr/share/gettext/po; \
  fi; \
  /usr/bin/install -c -m 644 ../../../ld/po/Makefile.in.in \
		  /usr/share/gettext/po/Makefile.in.in; \
else \
  : ; \
fi
make[4]: Leaving directory '/sources/binutils-2.36/build/ld/po'
make[4]: Entering directory '/sources/binutils-2.36/build/ld'
make[5]: Entering directory '/sources/binutils-2.36/build/ld'
 /bin/mkdir -p '/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c ld-new '/usr/bin/./ld.bfd'
libtool: install: /usr/bin/install -c .libs/ld-new /usr/bin/./ld.bfd
/bin/sh ../../ld/../mkinstalldirs /usr/bin
n=`echo ld.bfd | sed 's/^ld-new$/ld.bfd/;s,y,y,'`; \
if test "/usr/bin" != "/usr/bin"; then \
  rm -f /usr/bin/ld.bfd; \
  ln /usr/bin/$n /usr/bin/ld.bfd >/dev/null 2>/dev/null \
  ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/bin/ld.bfd; \
fi; \
if test "xyes" = "xyes"; then \
  ld=`echo ld | sed 's/^ld-new$/ld.bfd/;s,y,y,'`; \
  rm -f /usr/bin/$ld; \
  ln /usr/bin/$n /usr/bin/$ld >/dev/null 2>/dev/null \
  ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/bin/$ld; \
  if test "/usr/bin" != "/usr/bin"; then \
    rm -f /usr/bin/ld; \
    ln /usr/bin/$n /usr/bin/ld >/dev/null 2>/dev/null \
    ||  /bin/sh ./libtool --mode=install /usr/bin/install -c ld-new /usr/bin/ld; \
  fi; \
fi
 /bin/mkdir -p '/usr/lib/bfd-plugins'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libdep.la '/usr/lib/bfd-plugins'
libtool: install: /usr/bin/install -c .libs/libdep.so /usr/lib/bfd-plugins/libdep.so
libtool: install: /usr/bin/install -c .libs/libdep.lai /usr/lib/bfd-plugins/libdep.la
libtool: install: warning: remember to run `libtool --finish /nowhere'
/bin/sh ../../ld/../mkinstalldirs /usr/lib/ldscripts
mkdir -p -- /usr/lib/ldscripts
for f in ldscripts/* ; do \
  /usr/bin/install -c -m 644 $f /usr/lib/$f ; \
done
rm -f /usr/lib/bfd-plugins/libdep.la
 /bin/mkdir -p '/usr/share/info'
 /usr/bin/install -c -m 644 ../../ld/ld.info '/usr/share/info'
 install-info --info-dir='/usr/share/info' '/usr/share/info/ld.info'
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 ../../ld/ld.1 '/usr/share/man/man1'
make[5]: Leaving directory '/sources/binutils-2.36/build/ld'
make[4]: Leaving directory '/sources/binutils-2.36/build/ld'
make[3]: Leaving directory '/sources/binutils-2.36/build/ld'
make[2]: Leaving directory '/sources/binutils-2.36/build/ld'
make[2]: Entering directory '/sources/binutils-2.36/build/libiberty'
make[3]: Entering directory '/sources/binutils-2.36/build/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/sources/binutils-2.36/build/libiberty/testsuite'
if test -n ""; then \
	/bin/sh ../../libiberty/../mkinstalldirs /usr/lib/`gcc -g -O2 -print-multi-os-directory`; \
	/usr/bin/install -c -m 644 ./libiberty.a /usr/lib/`gcc -g -O2 -print-multi-os-directory`/./libiberty.an; \
	( cd /usr/lib/`gcc -g -O2 -print-multi-os-directory` ; chmod 644 ./libiberty.an ;ranlib ./libiberty.an ); \
	mv -f /usr/lib/`gcc -g -O2 -print-multi-os-directory`/./libiberty.an /usr/lib/`gcc -g -O2 -print-multi-os-directory`/./libiberty.a; \
	case "" in \
	  /*)    thd=;; \
	  *)     thd=/usr/include/;; \
	esac; \
	/bin/sh ../../libiberty/../mkinstalldirs ${thd}; \
	for h in ../../libiberty/../include/ansidecl.h ../../libiberty/../include/demangle.h ../../libiberty/../include/dyn-string.h ../../libiberty/../include/fibheap.h ../../libiberty/../include/floatformat.h ../../libiberty/../include/hashtab.h ../../libiberty/../include/libiberty.h ../../libiberty/../include/objalloc.h ../../libiberty/../include/partition.h ../../libiberty/../include/safe-ctype.h ../../libiberty/../include/sort.h ../../libiberty/../include/splay-tree.h ../../libiberty/../include/timeval-utils.h; do \
	  /usr/bin/install -c -m 644 $h ${thd}; \
	done; \
fi
make[3]: Entering directory '/sources/binutils-2.36/build/libiberty/testsuite'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory '/sources/binutils-2.36/build/libiberty/testsuite'
make[2]: Leaving directory '/sources/binutils-2.36/build/libiberty'
make[2]: Entering directory '/sources/binutils-2.36/build/libctf'
make[3]: Entering directory '/sources/binutils-2.36/build/libctf'
 /bin/mkdir -p '/usr/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libctf.la libctf-nobfd.la '/usr/lib'
libtool: install: warning: relinking `libctf.la'
libtool: install: (cd /sources/binutils-2.36/build/libctf; /bin/sh /sources/binutils-2.36/build/libctf/libtool  --tag CC --mode=relink gcc -std=gnu99 -Wall -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -pedantic -Wno-long-long -g -O2 -version-info 0:0:0 -Wl,--version-script=../../libctf/libctf.ver -o libctf.la -rpath /usr/lib libctf_la-ctf-archive.lo libctf_la-ctf-dump.lo libctf_la-ctf-create.lo libctf_la-ctf-decl.lo libctf_la-ctf-error.lo libctf_la-ctf-hash.lo libctf_la-ctf-labels.lo libctf_la-ctf-dedup.lo libctf_la-ctf-link.lo libctf_la-ctf-lookup.lo libctf_la-ctf-open.lo libctf_la-ctf-sha1.lo libctf_la-ctf-string.lo libctf_la-ctf-subr.lo libctf_la-ctf-types.lo libctf_la-ctf-util.lo libctf_la-ctf-open-bfd.lo ../bfd/libbfd.la -L/sources/binutils-2.36/build/libctf/../libiberty/pic -liberty -lz -ldl )
libtool: relink: gcc -shared  -fPIC -DPIC  .libs/libctf_la-ctf-archive.o .libs/libctf_la-ctf-dump.o .libs/libctf_la-ctf-create.o .libs/libctf_la-ctf-decl.o .libs/libctf_la-ctf-error.o .libs/libctf_la-ctf-hash.o .libs/libctf_la-ctf-labels.o .libs/libctf_la-ctf-dedup.o .libs/libctf_la-ctf-link.o .libs/libctf_la-ctf-lookup.o .libs/libctf_la-ctf-open.o .libs/libctf_la-ctf-sha1.o .libs/libctf_la-ctf-string.o .libs/libctf_la-ctf-subr.o .libs/libctf_la-ctf-types.o .libs/libctf_la-ctf-util.o .libs/libctf_la-ctf-open-bfd.o   -L/usr/lib -lbfd -L/sources/binutils-2.36/build/bfd/../libiberty/pic -L/sources/binutils-2.36/build/libctf/../libiberty/pic -liberty -lz -ldl  -Wl,--version-script=../../libctf/libctf.ver   -Wl,-soname -Wl,libctf.so.0 -o .libs/libctf.so.0.0.0
/usr/bin/ld: /usr/lib/libctf.so.0: version `LIBCTF_1.1' not found (required by /usr/bin/ld)
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libctf.la' with the above command before installing it
make[3]: *** [Makefile:552: install-libLTLIBRARIES] Error 1
make[3]: Leaving directory '/sources/binutils-2.36/build/libctf'
make[2]: *** [Makefile:1206: install-am] Error 2
make[2]: Leaving directory '/sources/binutils-2.36/build/libctf'
make[1]: *** [Makefile:10515: install-libctf] Error 2
make[1]: Leaving directory '/sources/binutils-2.36/build'
make: *** [Makefile:2289: install] Error 2
Comment 1 Nick Alcock 2021-01-26 15:48:31 UTC
This is exceptionally strange. (And needless to say is not ever supposed to happen!)

Subsequent links are failiong because ld itself uses libctf: that part is understandable... the hard part is how the libctf you just linked can possibly not have the LIBCTF_1.1 version in it. It should be there!

The output of readelf -V libctf/.libs/libctf.so (before the install) might be helpful in figuring out what on earth is going on.
Comment 2 Andreas Schwab 2021-01-26 16:00:05 UTC
You are overwriting the ld program in your PATH, which was also configured to use for building.
Comment 3 Nick Alcock 2021-01-26 16:08:38 UTC
Ohhh I bet I know what it is. You'll need to roll back by sticking the old ld in place (I hope you have a copy) or roll forward by hand-copying .libs/libctf.so.0 into place in /usr/local.

The problem is installation order: ld is being installed before libctf, but ld *uses* libctf and thus if libctf is relinked for any reason by the install phase, ld might find itself calling on symbols that aren't in the libctf already present on the system (if it even is there).

Should have a fix for you to test in a few minutes.
Comment 4 Nick Alcock 2021-01-26 16:13:33 UTC
Created attachment 13159 [details]
Fix ld-versus-libctf installation ordering
Comment 5 Joel 2021-01-26 16:43:39 UTC
> Should have a fix for you to test in a few minutes.

Thank you for this - I will try the patch and report results.

Fortunately, my rule whenever updating fundamental programs is to do a full backup before-hand, and rebuild in a standalone mode. This made it so recovering was a simple matter of restoring the drive from the backup.
Comment 6 Joel 2021-01-26 16:56:32 UTC
The provided patch worked. Thank you!
Comment 7 Nick Alcock 2021-01-26 19:43:25 UTC
OK, I'll work on upstreaming it.
Comment 8 cvs-commit@gcc.gnu.org 2021-01-27 11:05:11 UTC
The master branch has been updated by Nick Alcock <nix@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f04ce15e831b691d7610dba284e266919e757b10

commit f04ce15e831b691d7610dba284e266919e757b10
Author: Nick Alcock <nick.alcock@oracle.com>
Date:   Tue Jan 26 16:05:17 2021 +0000

    ld: depend on libctf
    
    Since ld may depend on libctf (if present), and libctf may be relinked
    by the installation process, libctf must be installed before ld is,
    or the relink may fail if it calls on symbols or symbol versions that do
    not exist in any libctf already present on the system.  (If none is
    present, the copy in the build tree will be automatically used, but
    if one *is* present, it may take precedence and break things.)
    
    (This is a maybe- dependency, so it will work even if libctf is
    disabled.)
    
    ChangeLog
    2021-01-26  Nick Alcock  <nick.alcock@oracle.com>
    
            PR 27250
            * Makefile.def: Add install-libctf dependency to install-ld.
            * Makefile.in: Regenerated.
Comment 9 Nick Alcock 2021-01-27 11:25:28 UTC
On master and 2.36.