From f7ca699b41537d9250167d4c90d8c4cc4a98ec39 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 9 May 2020 10:49:56 +0000 Subject: [PATCH] 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 --- appendices/dependencies.xml | 4 ++-- chapter01/changelog.xml | 36 ++++++++++++++++++++++++++++ chapter03/patches.xml | 8 +++++++ chapter05/gcc-pass2.xml | 5 ++++ 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 ++ general.ent | 8 +++---- packages.ent | 48 ++++++++++++++++++------------------- patches.ent | 4 ++++ 13 files changed, 98 insertions(+), 38 deletions(-) diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index 6c0945d02..6f510a73e 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -224,8 +224,8 @@ &dependencies; - Bash, Binutils, Bison, Coreutils, GCC, Glibc, - Grep, Make, Perl, and Readline + Bash, Binutils, Coreutils, GCC, Glibc, + Grep, and Make diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5dcdccc4a..7cb1f46bc 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,42 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2020-05-09 + + + [pierre] - Patch GCC pass 2 to allow cross-compile + (specific to new cross method). + + + + + + 2020-05-08 + + + [bdubbs] - Update to bison-3.6. Fixes + #4652. + + + [bdubbs] - Update to gcc-10.1.0. Fixes + #4651. + + + [bdubbs] - Update to libcap-2.34. Fixes + #4650. + + + [bdubbs] - Update to bc-2.7.2. Fixes + #4648. + + + [bdubbs] - Update to linux-5.6.11. Fixes + #4649. + + + + 2020-05-01 diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 6c2b95378..36489c20a 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -84,6 +84,14 @@ --> + + GCC Cross Build Fix Patch - &gcc-cross-patch-size;: + + Download: + MD5 sum: &gcc-cross-patch-md5; + + + Kbd Backspace/Delete Fix Patch - &kbd-backspace-patch-size;: diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 98e3b2127..5f6864d02 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -64,6 +64,11 @@ mv -v mpc-&mpc-version; mpc ;; esac + Fix an issue with GCC-10.1 when building with a cross + compiler: + +patch -Np1 -i ../&gcc-cross-patch; + Create a separate build directory again: mkdir -v build 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 diff --git a/general.ent b/general.ent index ac797c80b..dd42dc5e9 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + - + diff --git a/packages.ent b/packages.ent index b94e7cebb..71dcb861d 100644 --- a/packages.ent +++ b/packages.ent @@ -50,10 +50,10 @@ - - + + - + @@ -70,10 +70,10 @@ - - + + - + @@ -224,23 +224,23 @@ - - + + - + - - - - - - + + + + + + - - + + @@ -391,10 +391,10 @@ - + - + @@ -425,12 +425,12 @@ - + - + - + diff --git a/patches.ent b/patches.ent index 32c7659b5..44e551485 100644 --- a/patches.ent +++ b/patches.ent @@ -20,6 +20,10 @@ --> + + + +