From 8b69ae47340020f78d57b1be48a93cf5f507f5d6 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 14 Feb 2014 23:25:53 +0000 Subject: Make sed for omit-frame-pointers the same in Chapters 5 and 6. i Simplify zimesone configuration in glibc. Let the glibc Makefile install rpc headers. Update to linux-3.13.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 25 +++++++++++++++++++++++++ chapter05/gcc-pass2.xml | 6 +++--- chapter06/glibc.xml | 47 ++++++++++++++++------------------------------- general.ent | 4 ++-- packages.ent | 6 +++--- 5 files changed, 49 insertions(+), 39 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 74bf476a0..60ffee416 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,31 @@ --> + + 2014-02-14 + + + [bdubbs] - Make sed for omit-frame-pointers the + same in Chapters 5 and 6. Fixes + #3497. + + + [bdubbs] - Simplify zimesone configuration in glibc. + Thanks to Chris Staub for the patch. Fixes + #3496. + + + [bdubbs] - Let the glibc Makefile install rpc headers. + Thanks to Chris Staub for the patch. Fixes + #3495. + + + [bdubbs] - Update to linux-3.13.3. Fixes + #3493. + + + + 2014-02-13 diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 310abb457..e96c469ad 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -64,9 +64,9 @@ that is exactly the same as if it were bootstrapped. Apply the following sed command to force the build to use the flag: -cp -v gcc/Makefile.in{,.tmp} -sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ - > gcc/Makefile.in +case `uname -m` in + i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; +esac Once again, change the location of GCC's default dynamic linker to use the one installed in Prepare Glibc for compilation: -../glibc-&glibc-version;/configure \ - --prefix=/usr \ - --disable-profile \ - --enable-kernel=&min-kernel; \ - --libexecdir=/usr/lib/glibc +../glibc-&glibc-version;/configure \ + --prefix=/usr \ + --disable-profile \ + --enable-kernel=&min-kernel; \ + --libexecdir=/usr/lib/glibc \ + --enable-obsolete-rpc The meaning of the new configure options: @@ -91,6 +92,15 @@ cd ../glibc-build + + --enable-obsolete-rpc + + Installs NIS and RPC related headers that are not installed by + default; these are required to rebuild Glibc and by several BLFS + packages. + + + Compile the package: @@ -162,14 +172,6 @@ grep Error glibc-check-log make install - Install NIS and RPC related headers that are not installed by - default; these are required to rebuild glibc and by several BLFS - packages: - -cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc -cp -v ../glibc-&glibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc -cp -v ../glibc-&glibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc - The locales that can make the system respond in a different language were not installed by the above command. None of the locales are required, but if some of them are missing, test suites of the future packages would @@ -336,28 +338,11 @@ unset ZONEINFO Then create the /etc/localtime file by running: -cp -v --remove-destination /usr/share/zoneinfo/<xxx> \ - /etc/localtime +cp -v /usr/share/zoneinfo/<xxx> /etc/localtime Replace <xxx> with the name of the time zone selected (e.g., Canada/Eastern). - - The meaning of the cp option: - - - --remove-destination - - This is needed to force removal of the already existing symbolic - link. The reason for copying the file instead of using a symlink is to - cover the situation where /usr - is on a separate partition. This could be important when booted into - single user mode. - - - - - diff --git a/general.ent b/general.ent index 42a7f4d2b..61b94def4 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 1a5978dd4..0d6175c5a 100644 --- a/packages.ent +++ b/packages.ent @@ -339,12 +339,12 @@ - + - + - +