From 367341b41e53e292a45042b0b7c43696733acc0a Mon Sep 17 00:00:00 2001
From: matsuand <30614168+matsuand@users.noreply.github.com>
Date: Wed, 16 Feb 2022 10:11:07 +0900
Subject: [PATCH] =?utf8?q?[lfsja-git]=20r11.0-172=20=E5=AF=BE=E5=BF=9C?=
=?utf8?q?=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
---
configure | 2 +-
src/chapter01/changelog.ch | 58 ++++++++++++++++++++++++++++++++++++
src/chapter01/jchangelog.ch | 11 +++++++
src/chapter03/patches.ch | 6 ++--
src/chapter05/libstdc++.ch | 35 +++++++++++++---------
src/chapter08/binutils.ch | 6 ++--
src/chapter08/glibc.ch | 41 +++++++++----------------
src/general.ch | 6 ++--
src/packages.ch | 16 +++++-----
src/part3intro/toolchaintechnotes.ch | 2 +-
version.ac | 2 +-
11 files changed, 124 insertions(+), 61 deletions(-)
diff --git a/configure b/configure
index 98f971c9..7877bbf0 100755
--- a/configure
+++ b/configure
@@ -4737,7 +4737,7 @@ fi
-TARGETVER=r11.0-163
+TARGETVER=r11.0-172
if test "x$revspec" = "xsystemd"; then
TARGETVER="$TARGETVER-systemd"
fi
diff --git a/src/chapter01/changelog.ch b/src/chapter01/changelog.ch
index 4f2d0602..3a5a9995 100644
--- a/src/chapter01/changelog.ch
+++ b/src/chapter01/changelog.ch
@@ -44,6 +44,64 @@
@z
@x
+ 2022-02-15
+
+
+ [bdubbs] - Add binutils-2.38 LTO patch. Fixes
+ #5011.
+
+
+ [bdubbs] - Update to util-linux-2.37.4. Fixes
+ #5010.
+
+
+ [bdubbs] - Update to man-db-2.10.1. Fixes
+ #5009.
+
+
+ [bdubbs] - Update to linux-5.16.9. Fixes
+ #5008.
+
+
+ [bdubbs] - Update to vim-8.2.4383. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to iana-etc-20220207. Addresses
+ #5006.
+
+
+@y
+ 2022-02-15
+
+
+ [bdubbs] - binutils-2.38 LTO ãããã追å ã
+ #5011 ã Fix ã«ã
+
+
+ [bdubbs] - util-linux-2.37.4 ã¸ã®ã¢ãããã¼ãã
+ #5010 ã Fix ã«ã
+
+
+ [bdubbs] - man-db-2.10.1 ã¸ã®ã¢ãããã¼ãã
+ #5009 ã Fix ã«ã
+
+
+ [bdubbs] - linux-5.16.9 ã¸ã®ã¢ãããã¼ãã
+ #5008 ã Fix ã«ã
+
+
+ [bdubbs] - vim-8.2.4383 ã¸ã®ã¢ãããã¼ãã
+ #4500 ã«ããã¦è¨åã
+
+
+ [bdubbs] - iana-etc-20220207 ã¸ã®ã¢ãããã¼ãã
+ #5006 ã«ããã¦è¨åã
+
+
+@z
+
+@x
2022-02-10
diff --git a/src/chapter01/jchangelog.ch b/src/chapter01/jchangelog.ch
index 3e37f4d5..f98aba5d 100644
--- a/src/chapter01/jchangelog.ch
+++ b/src/chapter01/jchangelog.ch
@@ -50,6 +50,17 @@
-->
+ 2022-02-16
+
+
+ [matsuand] -
+ r11.0-172 (8dd179b04) ã¾ã§ã®å¯¾å¿ã
+
+
+
+
+
+
2022-02-11
diff --git a/src/chapter03/patches.ch b/src/chapter03/patches.ch
index 8c128e48..c72769eb 100644
--- a/src/chapter03/patches.ch
+++ b/src/chapter03/patches.ch
@@ -49,10 +49,10 @@
&Download;:
@z
-@x Binutils Upstream Fix Patch
- Download:
+@x Binutils LTO Fix Patch
+ Download:
@y
- &Download;:
+ &Download;:
@z
@x Bzip2 Documentation Patch
diff --git a/src/chapter05/libstdc++.ch b/src/chapter05/libstdc++.ch
index 764604c7..f86b23cd 100644
--- a/src/chapter05/libstdc++.ch
+++ b/src/chapter05/libstdc++.ch
@@ -88,16 +88,6 @@
@z
-%@x --disable-libstdcxx-threads
-% Since gcc-pass1 is built without thread support, the C++
-% thread library cannot be built either.
-%@y
-%
-% gcc 1 åãã¯ã¹ã¬ãããµãã¼ããªãã«ãã«ãããã¾ãã
-% ãããã£ã¦ C++ ã¹ã¬ããã©ã¤ãã©ãªãçæã§ãã¾ããã
-%
-%@z
-
@x --disable-libstdcxx-pch
This switch prevents the installation of precompiled
include files, which are not needed at this stage.
@@ -109,16 +99,33 @@
@z
@x --with-gxx-include-dir=/tools/include/c++/&gcc-version;
- This is the location where the C++ compiler should search for the
- standard include files. In a normal build, this information
+ This specifies the installation directory for include files.
+ Because libstdc++ is the standard C++ library for LFS, this
+ directory should match the location where the C++ compiler
+ ($LFS_TGT-g++) would search for the
+ standard C++ include files. In a normal build, this information
is automatically passed to the libstdc++ configure
options from the top level directory. In our case, this information
- must be explicitly given.
+ must be explicitly given.
+ The C++ compiler will prepend the sysroot path
+ $LFS (specified building
+ GCC pass 1) to the include file search path, so it will actually
+ search in
+ $LFS/tools/$LFS_TGT/include/c++/&gcc-version;.
+ The combination of the DESTDIR
+ variable (in the make install command below)
+ and this switch ensures to install the headers there.
@y
- C++ ã³ã³ãã¤ã©ã¼ãæ¨æºã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ãæ¢ããã£ã¬ã¯ããªãæå®ãã¾ãã
+ ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ãã¤ã³ã¹ãã¼ã«ãããã£ã¬ã¯ããªãæå®ãã¾ãã
+ libstdc++ 㯠LFS ã«ãããæ¨æº C++ ã©ã¤ãã©ãªã§ããããããã®ãã£ã¬ã¯ããªã¯ C++ ã³ã³ãã¤ã©ã¼ ($LFS_TGT-g++) ãæ¨æº C++ ã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ãæ¢ãåºããã£ã¬ã¯ããªã§ãªããã°ãªãã¾ããã
é常ã®ãã«ãã«ããã¦ãã®ãã£ã¬ã¯ããªæ
å ±ã¯ãæä¸ä½ãã£ã¬ã¯ããªã® configure ã®ãªãã·ã§ã³ã«ã¦æå®ãã¾ãã
ããã§ã®ä½æ¥ã§ã¯ãä¸ã®ããã«ãã¦æ示çã«æå®ãã¾ãã
+ C++ ã³ã³ãã¤ã©ã¼ã¯ sysroot ãã¹ã« $LFSï¼GCC 1 åãã®ãã«ãæã«æå®ï¼ãã¤ã³ã¯ã«ã¼ããã¡ã¤ã«ã®æ¤ç´¢ãã¹ã«å ãã¾ãã
+ ãããã£ã¦å®éã«ã¯ $LFS/tools/$LFS_TGT/include/c++/&gcc-version; ã¨ãªãã¾ãã
+ DESTDIR å¤æ°ï¼ä»¥ä¸ã® make install ã«ã¦æå®ï¼ã¨ãã®ã¹ã¤ãããçµã¿åããããã¨ã§ããããã¼ãã¡ã¤ã«ããã®ãã£ã¬ã¯ããªã«ã¤ã³ã¹ãã¼ã«ããããã«ãã¾ãã
@z
diff --git a/src/chapter08/binutils.ch b/src/chapter08/binutils.ch
index a6f24124..c90e5af7 100644
--- a/src/chapter08/binutils.ch
+++ b/src/chapter08/binutils.ch
@@ -53,11 +53,11 @@
@z
@x
- Upstream has made a patch to fix a problem building some
- packages. Apply that now:
+ Upstream has made a patch to fix a problem when building with
+ Link Time Optimization (LTO). Apply that now:
@y
- ä»ããã±ã¼ã¸ã®ãã«ãæã«åé¡ãçºçãããããã¢ããã¹ããªã¼ã ã§ã¯ãã®ä¿®æ£ããããçæãã¦ãã¾ãã
+ ã¢ããã¹ããªã¼ã ã§ã¯ã ãªã³ã¯æã®æé©åï¼Link Time Optimization; LTOï¼ã使ã£ããã«ãæã®åé¡ãåé¿ããããããæä¾ãã¦ãã¾ãã
ããã§ãããé©ç¨ãã¾ãã
@z
diff --git a/src/chapter08/glibc.ch b/src/chapter08/glibc.ch
index f4452a11..ae66f037 100644
--- a/src/chapter08/glibc.ch
+++ b/src/chapter08/glibc.ch
@@ -610,12 +610,14 @@
@z
@x
- catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
- ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
+ gencat, getconf, getent, iconv, iconvconfig, ldconfig,
+ ldd, lddlibc4,
+ ld.so (symlink to ld-linux-x86-64.so.2 or ld-linux.so.2),
+ locale, localedef, makedb, mtrace, nscd,
pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
zdump, and zic
ld-linux-x86-64.so.2, ld-linux.so.2,
- libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
+ libBrokenLocale.{a,so}, libanl.{a,so},
libc.{a,so}, libc_nonshared.a,
libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
@@ -633,12 +635,14 @@
/usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
/var/cache/nscd, and /var/lib/nss_db
@y
- catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig,
- ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd,
+ gencat, getconf, getent, iconv, iconvconfig, ldconfig,
+ ldd, lddlibc4,
+ ld.so (ld-linux-x86-64.so.2 ã¾ã㯠ld-linux.so.2 ã¸ã®ãªã³ã¯),
+ locale, localedef, makedb, mtrace, nscd,
pcprofiledump, pldd, sln, sotruss, sprof, tzselect, xtrace,
zdump, zic
ld-linux-x86-64.so.2, ld-linux.so.2,
- libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
+ libBrokenLocale.{a,so}, libanl.{a,so},
libc.{a,so}, libc_nonshared.a,
libcrypt.{a,so}, libdl.{a,so.2}, libg.a, libm.{a,so},
libmcheck.a, libmemusage.so, libmvec.{a,so}, libnsl.so.1,
@@ -663,15 +667,6 @@
&ShortDescriptions;
@z
-@x catchsegv
- Can be used to create a stack trace when a program
- terminates with a segmentation fault
-@y
-
- ããã°ã©ã ãã»ã°ã¡ã³ãã¼ã·ã§ã³ãã©ã¼ã«ãã«ããåæ¢ããæã«ãã¹ã¿ãã¯ãã¬ã¼ã¹ãçæããããã«å©ç¨ãã¾ãã
-
-@z
-
@x gencat
Generates message catalogues
@y
@@ -732,10 +727,12 @@
@z
@x lddlibc4
- Assists ldd with object files
+ Assists ldd with object files.
+ It does not exist on newer architectures like x86_64
@y
- ãªãã¸ã§ã¯ããã¡ã¤ã«ã使ã£ã¦ ldd ã³ãã³ããè£å©ãã¾ãã[訳註ï¼æå³ä¸æ]
+ ãªãã¸ã§ã¯ããã¡ã¤ã«ã使ã£ã¦ ldd ã³ãã³ããè£å©ãã¾ãã
+ ãã㯠x86_64 ã®ãããªææ°ã¢ã¼ããã¯ãã£ã¼ã«ã¯åå¨ãã¾ããã
@z
@@ -879,16 +876,6 @@
@z
-@x libSegFault
- The segmentation fault signal handler, used by
- catchsegv
-@y
-
- ã»ã°ã¡ã³ãã¼ã·ã§ã³ãã©ã¼ã«ãã®ã·ã°ãã«ãã³ãã©ã¼ã
- catchsegv ãå©ç¨ãã¾ãã
-
-@z
-
@x libanl
An asynchronous name lookup library
@y
diff --git a/src/general.ch b/src/general.ch
index 5181799b..ea036d0f 100644
--- a/src/general.ch
+++ b/src/general.ch
@@ -47,9 +47,9 @@
]]>
-
-
-
+
+
+
@z
diff --git a/src/packages.ch b/src/packages.ch
index 376a99de..0200774d 100644
--- a/src/packages.ch
+++ b/src/packages.ch
@@ -22,9 +22,9 @@
@z
@x
-
+
@y
-
+
@z
@x
@@ -34,9 +34,9 @@
@z
@x
-
+
@y
-
+
@z
@x
@@ -46,15 +46,15 @@
@z
@x
-
+
@y
-
+
@z
@x
-
+
@y
-
+
@z
@x
diff --git a/src/part3intro/toolchaintechnotes.ch b/src/part3intro/toolchaintechnotes.ch
index d88d000b..52b97657 100644
--- a/src/part3intro/toolchaintechnotes.ch
+++ b/src/part3intro/toolchaintechnotes.ch
@@ -290,7 +290,7 @@
provided by Glibc finds and loads the shared libraries needed by a
program, prepares the program to run, and then runs it. The name of the
dynamic linker for a 32-bit Intel machine is ld-linux.so.2 and isld-linux.so.2 and is ld-linux-x86-64.so.2 for 64-bit systems. A
sure-fire way to determine the name of the dynamic linker is to inspect a
random binary from the host system by running: readelf -l
diff --git a/version.ac b/version.ac
index a5f28d08..42519376 100644
--- a/version.ac
+++ b/version.ac
@@ -2,4 +2,4 @@ dnl
dnl This is part of LFSbookja package.
dnl
dnl m4-include this file to define the current LFS version
-m4_define([lfs_version], [r11.0-163])
+m4_define([lfs_version], [r11.0-172])
--
2.11.0