From c68e018aab617dab8619f4c5d4c62dcd22c3438c Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 19 Jun 2020 08:13:06 +0000 Subject: [PATCH] Various text fixes: - a wrong chapter in toolchain notes, and various text precisions the option explanations of chapter 8 glibc (was labelled WIP) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11961 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/glibc.xml | 27 ++++++++++++--------------- general.ent | 6 +++--- part3intro/toolchaintechnotes.xml | 14 +++++++------- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml index ed928741a..be2de9dca 100644 --- a/chapter08/glibc.xml +++ b/chapter08/glibc.xml @@ -65,22 +65,9 @@ cd build --with-headers=/usr/include \ libc_cv_slibdir=/lib - - The meaning of the options and new configure parameters: - + The meaning of the configure options: + --disable-werror @@ -89,6 +76,16 @@ cd build + + --enable-kernel=&min-kernel; + + This option tells the build system that this glibc may + be used with kernels as old as &min-kernel;. This means generating + workarounds in case a system call introduced in a later version + cannot be used. + + + --enable-stack-protector=strong diff --git a/general.ent b/general.ent index 33c124dbc..5171ad9c3 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/part3intro/toolchaintechnotes.xml b/part3intro/toolchaintechnotes.xml index 0f50312c8..42dc19ac2 100644 --- a/part3intro/toolchaintechnotes.xml +++ b/part3intro/toolchaintechnotes.xml @@ -309,15 +309,15 @@ checking what linker to use... /mnt/lfs/tools/i686-lfs-linux-gnu/bin/ld As said above, the standard C++ library is compiled next, followed in - by all the programs that need - themselves to be built. The install - step of libstdc++ uses the DESTDIR variable to have the + by all the programs that need + themselves to be built. The install step of all those packages uses the + DESTDIR variable to have the programs land into the LFS filesystem. - In the native lfs - compiler is built. First binutils-pass2, - with the same DESTDIR install as the other programs is - built, and then the second pass of GCC is constructed, omitting libstdc++ + At the end of the native + lfs compiler is installed. First binutils-pass2 is built, + with the same DESTDIR install as the other programs, + then the second pass of GCC is constructed, omitting libstdc++ and other non-important libraries. Due to some weird logic in GCC's configure script, CC_FOR_TARGET ends up as cc when the host is the same as the target, but is