I’m following LFS 7.5 and run into section 6.9: Glibc-2.19. Though I can
successfully compile the package with make, I encounter this error at following
make check stage for test suite:
…...
make[2]: Leaving directory '/sources/glibc-2.19/elf'
scripts/check-c++-types.sh
sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data g++ -fgnu89-inline -O2
-Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g
-Iinclude -I/sources/glibc-build -Isysdeps/unix/sysv/linux/x86_64/64/nptl
-Isysdeps/unix/sysv/linux/x86_64/64 -Inptl/sysdeps/unix/sysv/linux/x86_64
-Inptl/sysdeps/unix/sysv/linux/x86 -Isysdeps/unix/sysv/linux/x86
-Isysdeps/unix/sysv/linux/x86_64 -Isysdeps/unix/sysv/linux/wordsize-64
-Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread
-Iports/sysdeps/unix/sysv/linux -Isysdeps/unix/sysv/linux -Isysdeps/gnu
-Isysdeps/unix/inet -Inptl/sysdeps/unix/sysv -Iports/sysdeps/unix/sysv
-Isysdeps/unix/sysv -Isysdeps/unix/x86_64 -Inptl/sysdeps/unix
-Iports/sysdeps/unix -Isysdeps/unix -Isysdeps/posix -Inptl/sysdeps/x86_64/64
-Isysdeps/x86_64/64 -Isysdeps/x86_64/fpu/multiarch -Isysdeps/x86_64/fpu
-Isysdeps/x86/fpu -Isysdeps/x86_64/multiarch -Inptl/sysdeps/x86_64
-Isysdeps/x86_64 -Isysdeps/x86 -Isysdeps/ieee754/ldbl-96
-Isysdeps/ieee754/dbl-64/wordsize-64 -Isysdeps/ieee754/dbl-64
-Isysdeps/ieee754/flt-32 -Isysdeps/wordsize-64 -Isysdeps/ieee754
-Isysdeps/generic -Inptl -Iports -Ilibio -I. -D_LIBC_REENTRANT -include
include/libc-symbols.h > /sources/glibc-build/c++-types-check.out
AWK='gawk' scripts/check-local-headers.sh \
"/usr/include" "/sources/glibc-build/" >
/sources/glibc-build/check-local-headers.out
/usr/bin/perl scripts/begin-end-check.pl argp/argp.h assert/assert.h
catgets/nl_types.h crypt/crypt.h ctype/ctype.h debug/execinfo.h dirent/dirent.h
dlfcn/dlfcn.h elf/elf.h elf/link.h gmon/sys/gmon.h gmon/sys/gmon_out.h
gmon/sys/profil.h grp/grp.h gshadow/gshadow.h iconv/iconv.h iconv/gconv.h
inet/netinet/in.h inet/netinet/igmp.h inet/netinet/ip6.h inet/netinet/ether.h
inet/netinet/icmp6.h inet/arpa/telnet.h inet/arpa/inet.h inet/arpa/tftp.h
inet/arpa/ftp.h inet/protocols/routed.h inet/protocols/timed.h
inet/protocols/rwhod.h inet/protocols/talkd.h inet/aliases.h inet/ifaddrs.h
inet/netinet/ip6.h inet/netinet/icmp6.h intl/libintl.h io/sys/stat.h
io/sys/statfs.h io/sys/vfs.h io/sys/statvfs.h io/fcntl.h io/sys/fcntl.h
io/poll.h io/sys/poll.h io/utime.h io/ftw.h io/fts.h io/sys/sendfile.h
libio/stdio.h libio/libio.h locale/locale.h locale/langinfo.h locale/xlocale.h
login/utmp.h login/lastlog.h login/pty.h malloc/malloc.h malloc/obstack.h
malloc/mcheck.h math/math.h math/complex.h math/fenv.h math/tgmath.h
misc/sys/uio.h nis/rpcsvc/yp_prot.h nis/rpcsvc/nis_callback.h nis/rpcsvc/yp.h
nis/rpcsvc/ypupd.h nis/rpcsvc/nislib.h nis/rpcsvc/nis_tags.h
nis/rpcsvc/ypclnt.h nis/rpcsvc/nis.h nptl_db/thread_db.h
nptl/sysdeps/pthread/pthread.h nptl/semaphore.h nss/nss.h posix/sys/utsname.h
posix/sys/times.h posix/sys/wait.h posix/sys/types.h posix/unistd.h
posix/glob.h posix/regex.h posix/wordexp.h posix/fnmatch.h posix/getopt.h
posix/tar.h posix/sys/unistd.h posix/sched.h posix/re_comp.h posix/wait.h
posix/cpio.h posix/spawn.h pwd/pwd.h resolv/resolv.h resolv/netdb.h
resolv/arpa/nameser_compat.h resolv/arpa/nameser.h resource/sys/resource.h
resource/sys/vlimit.h resource/sys/vtimes.h resource/ulimit.h rt/aio.h
rt/mqueue.h setjmp/setjmp.h shadow/shadow.h signal/signal.h signal/sys/signal.h
socket/sys/socket.h socket/sys/un.h stdio-common/printf.h
stdio-common/stdio_ext.h stdlib/stdlib.h stdlib/alloca.h stdlib/monetary.h
stdlib/fmtmsg.h stdlib/ucontext.h sysdeps/generic/inttypes.h
sysdeps/generic/stdint.h stdlib/errno.h stdlib/sys/errno.h string/string.h
string/strings.h string/memory.h string/endian.h string/argz.h string/envz.h
string/byteswap.h sunrpc/rpc/pmap_clnt.h sunrpc/rpc/xdr.h sunrpc/rpc/rpc_des.h
sunrpc/rpc/auth_des.h sunrpc/rpc/clnt.h sunrpc/rpc/rpc.h sunrpc/rpc/auth.h
sunrpc/rpc/key_prot.h sunrpc/rpc/pmap_rmt.h sunrpc/rpc/netdb.h
sunrpc/rpc/rpc_msg.h sunrpc/rpc/auth_unix.h sunrpc/rpc/pmap_prot.h
sunrpc/rpc/svc.h sunrpc/rpc/des_crypt.h sunrpc/rpc/types.h
sunrpc/rpc/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h
sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h
termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h
time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h >
/sources/glibc-build/begin-end-check.out
make[1]: Target 'check' not remade because of errors.
make[1]: Leaving directory '/sources/glibc-2.19'
Makefile:9: recipe for target 'check' failed
make: *** [check] Error 2
root:/sources/glibc-build# grep Error glibc-check-log
make[2]: *** [/sources/glibc-build/libio/tst-ftell-partial-wide.out] Error 1
make[1]: *** [libio/tests] Error 2
make[2]: *** [/sources/glibc-build/posix/tst-getaddrinfo4.out] Error 1
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
make[1]: *** [posix/tests] Error 2
make[2]: *** [/sources/glibc-build/rt/tst-cpuclock2.out] Error 1
make[1]: *** [rt/tests] Error 2
make[2]: [/sources/glibc-build/conform/run-conformtest.out] Error 1 (ignored)
make: *** [check] Error 2
LFS book said I will probably see some expected failure and I still expect this
make check to finish normally. But I notice even in LFS official build logs:
http://www.linuxfromscratch.org/lfs/build-logs/7.5-systemd/Core-i5-2430M/chapter6/003-glibc-and-adjusting-the-toolchain.log,
this error is there as well. so I’m wondering that if you guys run this make
check process successfully? is it harmful for the future building if I don’t
fix it?
Thanks!
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page