From 12a27da73005362f481354d368781b8d9761c72e Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 15 Jul 2019 01:56:52 +0000 Subject: Fix testing of binutils-2.32 gold linker. Update to tzdata-2019b. Update to python3-3.7.4. Update to meson-0.51.1. Update to iproute2-5.2.0. Update to grub-2.04. Update to linux-5.2.1. Update to bc-2.1.0. Update to bzip2-1.0.8. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11639 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/bc.xml | 42 ++++++++++++++++++++++++++++++++---------- chapter06/binutils.xml | 8 +++++++- 2 files changed, 39 insertions(+), 11 deletions(-) (limited to 'chapter06') diff --git a/chapter06/bc.xml b/chapter06/bc.xml index 48ea215fb..154ed5c8f 100644 --- a/chapter06/bc.xml +++ b/chapter06/bc.xml @@ -40,7 +40,7 @@ Installation of Bc - + Prepare Bc for compilation: - -./configure --prefix=/usr \ - --with-readline \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info + +PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3 The meaning of the configure options: - + + + CC=gcc CFLAGS="-std=c99" + + These parameters specify the compiler and C standard to use. + + + + -G -O3 + + These parameters specify the optimization to use. Debug symbols + will be retained. + + Compile the package: make - + + + To test bc, run: + +make test + Install the package: diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml index 95a263939..3d7f532e5 100644 --- a/chapter06/binutils.xml +++ b/chapter06/binutils.xml @@ -57,6 +57,11 @@ The system has no more ptys. Ask your system administrator to create more. + Now remove one test that prevents the tests from running + to completion: + +sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in + The Binutils documentation recommends building Binutils in a dedicated build directory: @@ -152,7 +157,8 @@ cd build make -k check - One test, debug_msg.sh, is known to fail. + The PC-relative offset test and + the debug_msg.sh test may fail in the LFS environment. Install the package: -- cgit v1.2.3-54-g00ecf