diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index e783d1883..fece3969f 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -171,7 +171,6 @@ cd build --disable-threads \ --disable-libatomic \ --disable-libgomp \ - --disable-libmpx \ --disable-libquadmath \ --disable-libssp \ --disable-libvtv \ @@ -198,7 +197,6 @@ cd build --disable-threads \ --disable-libatomic \ --disable-libgomp \ - --disable-libmpx \ --disable-libquadmath \ --disable-libssp \ --disable-libvtv \ @@ -262,12 +260,12 @@ cd build --disable-decimal-float, --disable-threads, - --disable-libatomic, --disable-libgomp, --disable-libmpx, + --disable-libatomic, --disable-libgomp, --disable-libquadmath, --disable-libssp, --disable-libvtv, --disable-libstdcxx These switches disable support for the decimal floating point - extension, threading, libatomic, libgomp, libmpx, libquadmath, libssp, + extension, threading, libatomic, libgomp, libquadmath, libssp, libvtv, and the C++ standard library respectively. These features will fail to compile when building a cross-compiler and are not necessary for the task of cross-compiling the temporary libc. diff --git a/chapter06/check.xml b/chapter06/check.xml index c65e8033d..5374de5c1 100644 --- a/chapter06/check.xml +++ b/chapter06/check.xml @@ -42,7 +42,8 @@ Prepare Check for compilation: -./configure --prefix=/usr +./configure --prefix=/usr \ + --docdir=/usr/share/doc/check-&check-version; Build the package: diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index fc2ea82f3..42ea98b0d 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -100,7 +100,7 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ Compile the package: -FORCE_UNSAFE_CONFIGURE=1 make +make Skip down to Install the package if not running the test suite. diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index fcdd4b392..0ac6353af 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -81,7 +81,6 @@ cd build --enable-languages=c,c++ \ --disable-multilib \ --disable-bootstrap \ - --disable-libmpx \ --with-system-zlib SED=sed \ ../configure --prefix=/usr \ @@ -89,7 +88,6 @@ cd build --enable-multilib \ --with-multilib-list=m32,m64 \ --disable-bootstrap \ - --disable-libmpx \ --with-system-zlib SED=sed \ ../configure --prefix=/usr \ @@ -97,7 +95,6 @@ cd build --enable-multilib \ --with-multilib-list=mx32,m64 \ --disable-bootstrap \ - --disable-libmpx \ --with-system-zlib SED=sed \ ../configure --prefix=/usr \ @@ -105,7 +102,6 @@ cd build --enable-multilib \ --with-multilib-list=m32,mx32,m64 \ --disable-bootstrap \ - --disable-libmpx \ --with-system-zlib Note that for other languages, there are some prerequisites that @@ -123,16 +119,16 @@ cd build path to /tools/bin/sed. - + --with-system-zlib @@ -156,10 +152,6 @@ cd build ulimit -s 32768 - Remove one test known to cause a problem: - -rm ../gcc/testsuite/g++.dg/pr83239.C - Test the results as a non-privileged user, but do not stop at errors: chown -Rv nobody . @@ -179,6 +171,12 @@ su nobody -s /bin/bash -c "PATH=$PATH make -k check" Six tests related to get_time are known to fail. These are apparantly related to the en_HK locale. + Two tests named lookup.cc and reverse.cc in experimental/net + are known to fail in LFS chroot environment because they require + /etc/hosts and iana-etc. + + Two tests named pr57193.c and pr90178.c are known to fail. + 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/chapter06/systemd.xml b/chapter06/systemd.xml index faa774bdf..a3a11fb6e 100644 --- a/chapter06/systemd.xml +++ b/chapter06/systemd.xml @@ -52,7 +52,7 @@ Because we have not yet installed the final version of Util-Linux, create links to the libraries in the approprite location: -for file in /tools/lib/lib{blkid,mount,uuid}*; do +for file in /tools/lib/lib{blkid,mount,uuid}.so*; do ln -sf $file /usr/lib/ done diff --git a/packages.ent b/packages.ent index 14227e852..ddd436430 100644 --- a/packages.ent +++ b/packages.ent @@ -234,7 +234,7 @@ - +