From bd5b888ad374c5cf1a3b4a1fd82ee8d34765444f Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Thu, 27 Apr 2023 10:01:17 -0500 Subject: [PATCH 01/10] Create new branch for gcc13 --- chapter01/changelog.xml | 22 ++++++++++++++++++++++ chapter01/whatsnew.xml | 12 ++++++------ chapter05/gcc-pass1.xml | 2 +- chapter05/glibc.xml | 4 ++-- chapter06/coreutils.xml | 2 ++ chapter08/coreutils.xml | 3 ++- chapter08/gcc.xml | 1 + packages.ent | 30 +++++++++++++++--------------- 8 files changed, 51 insertions(+), 25 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69858bd96..039eeff3f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,28 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2023-04-30 + + + [bdubbs] - Update to gcc-13.1.0. Fixes + #5247. + + + [bdubbs] - Update to perl-5.36.1. Fixes + #5246. + + + [bdubbs] - Update to linux-6.3. Fixes + #5245. + + + [bdubbs] - Update to coreutils-9.3. Fixes + #5244. + + + + 2023-04-15 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 20cd8dfe2..91c1846d6 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -64,9 +64,9 @@ - + @@ -100,9 +100,9 @@ - + @@ -211,9 +211,9 @@ - + diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 82efcd617..8ca2e92b5 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -218,7 +218,7 @@ cd build cd .. cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ - `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h + `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include/limits.h diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml index 6b78031bc..66526ba4c 100644 --- a/chapter05/glibc.xml +++ b/chapter05/glibc.xml @@ -222,13 +222,13 @@ readelf -l a.out | grep ld-linux package, especially Binutils-pass2 or GCC-pass2, fails to build, it is an indication that something has gone wrong with the preceding Binutils, GCC, or Glibc installations. - + diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index 33f53ec1e..207e05dc5 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -43,6 +43,8 @@ Installation of Coreutils +export gl_cv_macro_MB_CUR_MAX_good=y + Prepare Coreutils for compilation: ./configure --prefix=/usr \ diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index 7c528d6c4..c72041b3b 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -54,11 +54,12 @@ + Now prepare Coreutils for compilation: autoreconf -fiv diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 4b5c2dd61..546ad6b1a 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -78,6 +78,7 @@ cd build --enable-default-ssp \ --disable-multilib \ --disable-bootstrap \ + --disable-fixinclude \ --with-system-zlib GCC supports seven different computer languages, but the diff --git a/packages.ent b/packages.ent index 52ce4c4cf..d134cf075 100644 --- a/packages.ent +++ b/packages.ent @@ -104,10 +104,10 @@ - - + + - + @@ -225,10 +225,10 @@ - - + + - + @@ -431,13 +431,13 @@ - - - - - + + + + + - + Prepare Coreutils for compilation: ./configure --prefix=/usr \ --host=$LFS_TGT \ --build=$(build-aux/config.guess) \ --enable-install-program=hostname \ - --enable-no-install-program=kill,uptime + --enable-no-install-program=kill,uptime \ + gl_cv_macro_MB_CUR_MAX_good=y The meaning of the configure options: From b371ee7b8c818f91ee268937825297ba766360fd Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Mon, 1 May 2023 11:29:12 +0200 Subject: [PATCH 03/10] Comment out TIME_T_32_BIT_OK --- chapter08/findutils.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/chapter08/findutils.xml b/chapter08/findutils.xml index c12452668..8e90ec3c8 100644 --- a/chapter08/findutils.xml +++ b/chapter08/findutils.xml @@ -47,21 +47,22 @@ Prepare Findutils for compilation: + The meaning of the configure options: - + --localstatedir From 0c83920af32abf7720fb61c6cd5334cb836fd8f8 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Mon, 1 May 2023 11:34:45 +0200 Subject: [PATCH 04/10] Upgrade to linux-6.3.1 --- packages.ent | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages.ent b/packages.ent index d134cf075..97d18abeb 100644 --- a/packages.ent +++ b/packages.ent @@ -432,12 +432,12 @@ - + - + - + + + From b0120361f3d26569dc392d89807da2b9ce2d6edd Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Mon, 1 May 2023 16:03:01 +0200 Subject: [PATCH 08/10] Readd configure accidently commented completely. --- chapter08/findutils.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chapter08/findutils.xml b/chapter08/findutils.xml index 8e90ec3c8..4961ea0ae 100644 --- a/chapter08/findutils.xml +++ b/chapter08/findutils.xml @@ -53,6 +53,8 @@ x86_64) ./configure - -prefix=/usr - -localstatedir=/var/lib/locate ;; esac --> + ./configure - -prefix=/usr - -localstatedir=/var/lib/locate + The meaning of the configure options: - ./configure - -prefix=/usr - -localstatedir=/var/lib/locate + ./configure --prefix=/usr --localstatedir=/var/lib/locate The meaning of the configure options: From 04be2abd11490668916c8f6662da4d5040db4dbf Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 1 May 2023 12:48:53 -0500 Subject: [PATCH 10/10] Package updates. Update to vim-9.0.1503. Update to iana-etc-20230418. Update to sysvinit-3.07. Update to iproute2-6.3.0. Update to linux-6.3.1. --- chapter01/changelog.xml | 20 ++++++++++++++++++-- chapter01/whatsnew.xml | 8 ++++---- chapter08/gcc.xml | 4 ++-- packages.ent | 26 +++++++++++++------------- 4 files changed, 37 insertions(+), 21 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 039eeff3f..f0b0e6d34 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,8 +40,24 @@ appropriate for the entry or if needed the entire day's listitem. --> - 2023-04-30 + 2023-05-01 + + [bdubbs] - Update to vim-9.0.1503. Addresses + #4500. + + + [bdubbs] - Update to iana-etc-20230418. Addresses + #5006. + + + [bdubbs] - Update to sysvinit-3.07. Fixes + #5250. + + + [bdubbs] - Update to iproute2-6.3.0. Fixes + #5248. + [bdubbs] - Update to gcc-13.1.0. Fixes #5247. @@ -51,7 +67,7 @@ #5246. - [bdubbs] - Update to linux-6.3. Fixes + [bdubbs] - Update to linux-6.3.1. Fixes #5245. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 91c1846d6..174eb384e 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -151,9 +151,9 @@ - + @@ -235,9 +235,9 @@ - + Systemd-&systemd-version; diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 546ad6b1a..b6761ba68 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -164,11 +164,11 @@ su tester -c "PATH=$PATH make -k check" Eleven tests in the i386 test suite for the gcc compiler are known to FAIL. It's because the test files do not account for the --enable-default-pie option. - + 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/packages.ent b/packages.ent index 3265481cb..c9fdc98de 100644 --- a/packages.ent +++ b/packages.ent @@ -325,10 +325,10 @@ - + - + @@ -351,7 +351,7 @@ - + @@ -382,10 +382,10 @@ - - + + - + @@ -435,7 +435,7 @@ - + @@ -659,10 +659,10 @@ - - + + - + @@ -722,13 +722,13 @@ - + - + - +