From f7ca699b41537d9250167d4c90d8c4cc4a98ec39 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 9 May 2020 10:49:56 +0000 Subject: merge trunk and add patch to gcc pass2 git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11842 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/bison.xml | 2 +- chapter06/e2fsprogs.xml | 2 +- chapter06/flex.xml | 11 +++++++---- chapter06/gcc.xml | 2 -- chapter06/gdbm.xml | 4 ++++ chapter06/man-db.xml | 2 ++ 6 files changed, 15 insertions(+), 8 deletions(-) (limited to 'chapter06') diff --git a/chapter06/bison.xml b/chapter06/bison.xml index e36e323eb..23b6f0a95 100644 --- a/chapter06/bison.xml +++ b/chapter06/bison.xml @@ -62,7 +62,7 @@ make check - 13 tests fail in the "Diagnostics" section, probably because of + Fourteen tests fail in the "Diagnostics" section, probably because of missing locales. -HELP2MAN=/bin/true \ -./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version; + Prepare Flex for compilation: + + +./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version; Compile the package: diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 952e3cca7..c6d47d970 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -119,8 +119,6 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check" are known to fail in LFS chroot environment because they require /etc/hosts and iana-etc. - Two tests named pr57193.c and pr90178.c are known to fail. - A few unexpected failures cannot always be avoided. The GCC developers are usually aware of these issues, but have not resolved them yet. Unless the test results are vastly different from those at the above URL, diff --git a/chapter06/gdbm.xml b/chapter06/gdbm.xml index ccb4ef1ba..f953b63f9 100644 --- a/chapter06/gdbm.xml +++ b/chapter06/gdbm.xml @@ -44,6 +44,10 @@ Installation of GDBM + First, fix an issue first identified by gcc-10: + +sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c + Prepare GDBM for compilation: ./configure --prefix=/usr \ diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index 1ffdd556b..f2f46b891 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -126,6 +126,8 @@ make check + One test, man-missing-locales, is known to fail in the LFS chroot envirnment. + Install the package: make install -- cgit v1.2.3-54-g00ecf