It is my 1st try with LFS after some time with Gentoo. I try to install stable 8.1. I am in chapter 5.4.
Code:
/mnt/lfs/sources/binutils-2.29/binutils/build $ make
if [ -r sysinfo.c ]; then \
gcc -c -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I../../zlib sysinfo.c ; \
else \
gcc -c -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I../../zlib ../sysinfo.c ; \
fi
gcc -c -I. -I.. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I../../zlib ../syslex_wrap.c
In file included from ../syslex_wrap.c:25:0:
syslex.c: In function 'yy_get_next_buffer':
syslex.c:1226:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
gcc -o sysinfo sysinfo.o syslex_wrap.o
./sysinfo -d <../sysroff.info >sysroff.h
Making info in doc
make[1]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build/doc'
if test -f cxxfilt.man; then \
man=cxxfilt.man; \
else \
man=../../doc/cxxfilt.man; \
fi; \
sed -e 's/@PROGRAM@/c++filt/' \
-e 's/cxxfilt/c++filt/' < $man \
> c++filt.1
make[1]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build/doc'
Making info in po
make[1]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build/po'
make[1]: Nothing to be done for 'info'.
make[1]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build/po'
make[1]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
make[1]: Nothing to be done for 'info-am'.
make[1]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
make all-recursive
make[1]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
Making all in doc
make[2]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build/doc'
Making all in po
make[2]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build/po'
make[2]: Entering directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../bfd -I../../bfd -I../../include -DLOCALEDIR="\"/tools/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I../../zlib -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../size.c
In file included from ../size.c:31:0:
../sysdep.h:28:20: fatal error: bfdver.h: No such file or directory
#include "bfdver.h"
^
compilation terminated.
make[2]: *** [Makefile:962: size.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
make[1]: *** [Makefile:1004: all-recursive] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/binutils-2.29/binutils/build'
make: *** [Makefile:663: all] Error 2
Code:
~ $ sh version-check.sh
bash, version 4.4.12(1)-release
/bin/sh -> /bin/bash
Binutils: (Gentoo 2.29.1 p2) 2.29.1
bison (GNU Bison) 3.0.4
/usr/bin/yacc -> /usr/bin/yacc.bison
bzip2, Version 1.0.6, 6-Sept-2010.
Coreutils: 8.28
diff (GNU diffutils) 3.6
find (GNU findutils) 4.6.0
GNU Awk 4.2.0, API: 2.0
/usr/bin/awk -> /usr/bin/gawk
gcc (Gentoo 6.4.0 p1.0) 6.4.0
g++ (Gentoo 6.4.0 p1.0) 6.4.0
(Gentoo 2.25-r7 p11) 2.25
grep (GNU grep) 3.1
gzip 1.8
Linux version 4.13.8-gentoo (root@gentoo) (gcc version 6.4.0 (Gentoo 6.4.0 p1.0)) #1 SMP Thu Oct 19 06:03:57 EEST 2017
m4 (GNU M4) 1.4.18
GNU Make 4.2.1
GNU patch 2.7.5
Perl version='5.26.1';
sed (GNU sed) 4.4
tar (GNU tar) 1.29
texi2any (GNU texinfo) 6.5
xz (XZ Utils) 5.2.3
g++ compilation OK