Ref: Linux From Scratch - Version SVN-20161010 Chapter 6. Installing Basic System Software 6.13. Binutils-2.27
The "--with-system-zlib" configure switch is missing - without this switch, binutils will build against the version of zlib included with the source package. Note also, with reference to: 6.17. GCC-6.2.0 install -v -dm755 /usr/lib/bfd-plugins ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/6.2.0/liblto_plugin.so \ /usr/lib/bfd-plugins/ ..there is no point to use the above unless the "--enable-plugins" configure switch is used when building binutils, otherwise "gcc -flto" will fail (unless AR="gcc-ar" is used). Finally, it's maybe outside the LFS scope, but in order to build ld.gold, which is used by some BLFS packages, the "--enable-plugins" and "--enable-gold" binutils configure switches are required, otherwise "gcc -fuse-ld=gold" will fail. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page