From 5948c803723507e61d3ff721b35dea3847f4f62f Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 19 Aug 2014 21:37:43 +0000 Subject: Remove redundant options in gcc instructions. Add note about a test failure in util-linux. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10698 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 +++++++++++ chapter05/gcc-pass2.xml | 37 ------------------------------------- chapter06/gcc.xml | 4 ---- chapter06/util-linux.xml | 3 +++ general.ent | 4 ++-- 5 files changed, 16 insertions(+), 43 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index c5802b020..65406d78d 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,17 @@ --> + + 2014-08-19 + + + [bdubbs] - Remove redundant options in gcc instructions. + Fixes + #3655. + + + + 2014-08-15 diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 1bd4c4a20..132f54b5d 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -117,10 +117,6 @@ RANLIB=$LFS_TGT-ranlib \ --prefix=/tools \ --with-local-prefix=/tools \ --with-native-system-header-dir=/tools/include \ - --enable-clocale=gnu \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ --enable-languages=c,c++ \ --disable-libstdcxx-pch \ --disable-multilib \ @@ -130,39 +126,6 @@ RANLIB=$LFS_TGT-ranlib \ The meaning of the new configure options: - - --enable-clocale=gnu - - This option ensures the correct locale model is selected - for the C++ libraries under all circumstances. If the configure - script finds the de_DE locale installed, - it will select the correct gnu locale model. However, if the - de_DE locale is not installed, there is the - risk of building Application Binary Interface (ABI)-incompatible - C++ libraries because the incorrect generic locale model may be - selected. - - - - - --enable-threads=posix - - This enables C++ exception handling for multi-threaded code. - - - - - --enable-__cxa_atexit - - This option allows use of __cxa_atexit, - rather than atexit, to register C++ destructors - for local statics and global objects. This option is essential for - fully standards-compliant handling of destructors. It also affects - the C++ ABI, and therefore results in C++ shared libraries and C++ - programs that are interoperable with other Linux distributions. - - - --enable-languages=c,c++ diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 8dc997b01..f34c028d2 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -72,10 +72,6 @@ cd ../gcc-build SED=sed \ ../gcc-&gcc-version;/configure \ --prefix=/usr \ - --enable-shared \ - --enable-threads=posix \ - --enable-__cxa_atexit \ - --enable-clocale=gnu \ --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml index dbcea0791..48193f935 100644 --- a/chapter06/util-linux.xml +++ b/chapter06/util-linux.xml @@ -79,6 +79,9 @@ chown -Rv nobody . su nobody -s /bin/bash -c "PATH=$PATH make -k check" + One test above, tests/ts/ipcs/limits2, will fail when the host + is using a recent kernel. The failure can safely be ignored. + Install the package: make install diff --git a/general.ent b/general.ent index 6a442a8a0..72706bc44 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - + - + -- cgit v1.2.3-54-g00ecf